git.cascardo.info Git - cascardo/linux.git/atom - Documentation/devicetree/booting-without-of.txt history Unnamed repository; edit this file 'description' to name the repository. http://git.cascardo.info/?p=cascardo/linux.git Thadeu Lima de Souza Cascardo static/git-favicon.png static/git-logo.png 2016-03-17T19:46:11Z gitweb sh: add device tree support and generic board using device tree 2016-01-23T00:45:41Z Rich Felker dalias@libc.org Rich Felker dalias@libc.org 2016-01-23T00:45:41Z http://git.cascardo.info/?p=cascardo/linux.git;a=commitdiff;h=7480e0aabd5f9e6c3e3b72ed206e89284e90f11f
sh: add device tree support and generic board using device tree

Add a new pseudo-board, within the existing SH boards/machine-vectors
framework, which does not represent any actual hardware but instead
requires all hardware to be described by the device tree blob provided
by the boot loader. Changes made are thus non-invasive and do not risk
breaking support for legacy boards.

New hardware, including the open-hardware J2 and associated SoC
devices, will use device free from the outset. Legacy SH boards can
transition to device tree once all their hardware has device tree
bindings, driver support for device tree, and a dts file for the
board.

It is intented that, once all boards are supported in the new
framework, the existing machine-vectors framework should be removed
and the new device tree setup code integrated directly.

Signed-off-by: Rich Felker <dalias@libc.org>
  • [D] Documentation/devicetree/booting-without-of.txt
ARM: 8354/1: Documentation: devicetree: root node serial-number property documentation 2015-05-06T14:22:36Z Paul Kocialkowski contact@paulk.fr Russell King rmk+kernel@arm.linux.org.uk 2015-05-06T14:22:36Z http://git.cascardo.info/?p=cascardo/linux.git;a=commitdiff;h=13dd92bb4599b5655cafe1f2c0365396a096b94a
ARM: 8354/1: Documentation: devicetree: root node serial-number property documentation

Open firmware is already using the serial-number property for passing the
device's serial number from the bootloader to the kernel. In addition, lshw
already has support for scanning this property.

The serial number is a string that somewhat represents the device's serial
number. It might come from some form of storage (e.g. an eeprom) and be
programmed at factory-time by the manufacturer or come from identification
bits available in e.g. the SoC (note that the soc_id property in the SoC bus
should hold a full account of those bits).

The serial number is taken as-is from the bootloader, so it is up to the
bootloader to define where the serial number comes from and what length it
should be. Some use cases for the serial number require it to have a maximum
length (e.g. for USB serial number) and some other cases imply more restrictions
on what the serial number should look like (e.g. in Android, the ro.serialno
property is usually a 16-bytes (plus one null byte) representation of a 64 bit
number).

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • [D] Documentation/devicetree/booting-without-of.txt
MIPS: BMIPS: Document the firmware->kernel DTB interface 2014-12-25T17:49:11Z Kevin Cernekee cernekee@gmail.com Ralf Baechle ralf@linux-mips.org 2014-12-25T17:49:11Z http://git.cascardo.info/?p=cascardo/linux.git;a=commitdiff;h=9c24ce29b2b8c60d4bcca90c0a4da54b28f0b4e7
MIPS: BMIPS: Document the firmware->kernel DTB interface

Add a new section covering the Generic BMIPS machine type.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Cc: f.fainelli@gmail.com
Cc: jaedon.shin@gmail.com
Cc: abrestic@chromium.org
Cc: tglx@linutronix.de
Cc: jason@lakedaemon.net
Cc: jogo@openwrt.org
Cc: arnd@arndb.de
Cc: computersforpeace@gmail.com
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8849/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • [D] Documentation/devicetree/booting-without-of.txt
dt/documentation: add specification of dma bus information 2014-06-22T19:40:00Z Santosh Shilimkar santosh.shilimkar@ti.com Rob Herring robh@kernel.org 2014-06-22T19:40:00Z http://git.cascardo.info/?p=cascardo/linux.git;a=commitdiff;h=0244f8f87ec7e327f7a6e45caaa966820eb3fbeb
dt/documentation: add specification of dma bus information

Recently we introduced the generic device tree infrastructure for couple of DMA
bus parameter, dma-ranges and dma-coherent. Update the documentation so that
its useful for future users.

The "dma-ranges" property is intended to be used for describing the
configuration of DMA bus RAM addresses and its offset w.r.t CPU addresses.

The "dma-coherent" property is intended to be used for identifying devices
supported coherent DMA operations.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Acked-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Rob Herring <robh@kernel.org>
  • [D] Documentation/devicetree/booting-without-of.txt
dt/bindings: Remove all references to device_type "ethernet-phy" 2013-12-11T09:47:52Z Grant Likely grant.likely@linaro.org Grant Likely grant.likely@linaro.org 2013-12-11T09:47:52Z http://git.cascardo.info/?p=cascardo/linux.git;a=commitdiff;h=40aad3c1a9b63a044bdae25be26fa0daaf676622
dt/bindings: Remove all references to device_type "ethernet-phy"

The device_type property is deprecated for the flattened device tree and
the value "ethernet-phy" has never been defined as having a useful
meaning. Neither the kernel nor u-boot depend on it. It should never
have appeared in PHY bindings. This patch removes all references to
"ethernet-phy" as a device_type value from the documentation and the
.dts files.

This patch was generated mechanically with the following command and
then verified by looking at the diff.

sed -i '/"ethernet-phy"/d' `git grep -l '"ethernet-phy"'`

Signed-off-by: Grant Likely <grant.likely@linaro.org>
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • [D] Documentation/devicetree/booting-without-of.txt
sun.com documentation fixes 2013-02-22T00:43:05Z Christian Kujau lists@nerdbynature.de Linus Torvalds torvalds@linux-foundation.org 2013-02-22T00:43:05Z http://git.cascardo.info/?p=cascardo/linux.git;a=commitdiff;h=242260fb858e99674289484bc2bfe3b41f9c4cbb
sun.com documentation fixes

After I came across a help text for SUNGEM mentioning a broken sun.com
URL, I felt like fixing those up, as they are now pointing to oracle.com
URLs.

Signed-off-by: Christian Kujau <lists@nerdbynature.de>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • [D] Documentation/devicetree/booting-without-of.txt
dt/documentation: Fix value format description 2012-05-16T20:33:55Z Roland Stigge stigge@antcom.de Grant Likely grant.likely@secretlab.ca 2012-05-16T20:33:55Z http://git.cascardo.info/?p=cascardo/linux.git;a=commitdiff;h=3679362355f6ec6abdbd8f38da3d89f94746a2a5
dt/documentation: Fix value format description

Numeric values in dts files can be specified in decimal and hex (the latter
prefixed 0x). The current documentation is updated with this patch to prevent
confusion about what is meant with values without "0x" (previously hex, now
dec).

Signed-off-by: Roland Stigge <stigge@antcom.de>
Acked-by: Rob Landley <rob@landley.net>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  • [D] Documentation/devicetree/booting-without-of.txt
Documentation: Fix multiple typo in Documentation 2012-03-04T14:16:11Z Masanari Iida standby24x7@gmail.com Jiri Kosina jkosina@suse.cz 2012-03-04T14:16:11Z http://git.cascardo.info/?p=cascardo/linux.git;a=commitdiff;h=40e47125e6c5110383b0176d7b9d530f2936b1ae
Documentation: Fix multiple typo in Documentation

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • [D] Documentation/devicetree/booting-without-of.txt
dt: add documentation of ARM dt boot interface 2011-04-28T20:27:23Z Grant Likely grant.likely@secretlab.ca Grant Likely grant.likely@secretlab.ca 2011-04-28T20:27:23Z http://git.cascardo.info/?p=cascardo/linux.git;a=commitdiff;h=ede338f4ce2fb5ee99d18751df32fbd3b10df268
dt: add documentation of ARM dt boot interface

v6: typo fixes
v5: clarified that dtb should be aligned on a 64 bit boundary in RAM.
v3: added details to Documentation/arm/Booting

Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  • [D] Documentation/devicetree/booting-without-of.txt
Documentation: fix minor typos/spelling 2011-04-04T22:04:46Z Sylvestre Ledru sylvestre.ledru@scilab.org Linus Torvalds torvalds@linux-foundation.org 2011-04-04T22:04:46Z http://git.cascardo.info/?p=cascardo/linux.git;a=commitdiff;h=f65e51d740688b8a0ad15cbde34974e6c4559972
Documentation: fix minor typos/spelling

Fix some minor typos:
 * informations => information
 * there own => their own
 * these => this

Signed-off-by: Sylvestre Ledru <sylvestre.ledru@scilab.org>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • [D] Documentation/devicetree/booting-without-of.txt
x86: Add device tree support 2011-02-22T20:07:37Z Sebastian Andrzej Siewior bigeasy@linutronix.de Thomas Gleixner tglx@linutronix.de 2011-02-22T20:07:37Z http://git.cascardo.info/?p=cascardo/linux.git;a=commitdiff;h=da6b737b9ab768dd06bb4b0395131d10e524cf83
x86: Add device tree support

This patch adds minimal support for device tree on x86. The device
tree blob is passed to the kernel via setup_data which requires at
least boot protocol 2.09.

Memory size, restricted memory regions, boot arguments are gathered
the traditional way so things like cmd_line are just here to let the
code compile.

The current plan is use the device tree as an extension and to gather
information which can not be enumerated and would have to be hardcoded
otherwise. This includes things like
   - which devices are on this I2C/SPI bus?
   - how are the interrupts wired to IO APIC?
   - where could my hpet be?

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Cc: sodaville@linutronix.de
Cc: devicetree-discuss@lists.ozlabs.org
LKML-Reference: <1298405266-1624-3-git-send-email-bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • [D] Documentation/devicetree/booting-without-of.txt
Revert "dt: add documentation of ARM dt boot interface" 2011-02-14T15:13:20Z Grant Likely grant.likely@secretlab.ca Grant Likely grant.likely@secretlab.ca 2011-02-14T15:13:20Z http://git.cascardo.info/?p=cascardo/linux.git;a=commitdiff;h=7211da17785536bacd3171a28bc6a3853c8bb477
Revert "dt: add documentation of ARM dt boot interface"

This reverts commit 9830fcd6f6a4781d8b46d2b35c13b39f30915c63.

The ARM dt support has not been merged yet; this documentation update
was premature.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  • [D] Documentation/devicetree/booting-without-of.txt
dt: add documentation of ARM dt boot interface 2011-01-31T07:09:58Z Grant Likely grant.likely@secretlab.ca Grant Likely grant.likely@secretlab.ca 2011-01-31T07:09:58Z http://git.cascardo.info/?p=cascardo/linux.git;a=commitdiff;h=9830fcd6f6a4781d8b46d2b35c13b39f30915c63
dt: add documentation of ARM dt boot interface

v3: added details to Documentation/arm/Booting

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  • [D] Documentation/devicetree/booting-without-of.txt
dt: Remove obsolete description of powerpc boot interface 2011-01-31T07:12:26Z Grant Likely grant.likely@secretlab.ca Grant Likely grant.likely@secretlab.ca 2011-01-31T07:12:26Z http://git.cascardo.info/?p=cascardo/linux.git;a=commitdiff;h=cf4e5c6e8d2b87ae8e61168a7dc860d68c578745
dt: Remove obsolete description of powerpc boot interface

32 and 64 bit powerpc support has been merged for a while now, but
the booting-without-of.txt document still describes 32 bit as not
supporting multiplatform, which is no longer true.  This patch fixes
the documentation.

Also remove references to powerpc-specific details outside of section
I in preparation to add details for other architectures.

v3: cleaned up a lot more powerpc-isms and updated text to reflect current
    usage conventions.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  • [D] Documentation/devicetree/booting-without-of.txt
dt: Move device tree documentation out of powerpc directory 2011-01-26T17:10:40Z Grant Likely grant.likely@secretlab.ca Grant Likely grant.likely@secretlab.ca 2011-01-26T17:10:40Z http://git.cascardo.info/?p=cascardo/linux.git;a=commitdiff;h=d524dac9279b6a41ffdf7ff7958c577f2e387db6
dt: Move device tree documentation out of powerpc directory

The device tree is used by more than just PowerPC.  Make the documentation
directory available to all.

v2: reorganized files while moving to create arch and driver specific
    directories.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
  • [D] Documentation/devicetree/booting-without-of.txt