diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-07 13:37:54 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-07 13:37:54 -0400 |
| commit | dd6ec12f3bf83ca3c4e712a9f35960aec779f6f9 (patch) | |
| tree | 8b6f9f187eb0ae621a64798270c420143c698484 /Documentation/devicetree | |
| parent | 21c19bc7ee256094aba74af8d91a824da4bc36af (diff) | |
| parent | a4485b545e2fad4d65732cb7c60089bf4246de5c (diff) | |
Merge tag 'devicetree-for-4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
Pull DeviceTree updates from Rob Herring:
- vsprintf format specifier %pOF for device_node's. This will enable us
to stop storing the full node names. Conversion of users will happen
next cycle.
- Update documentation to point to DT specification instead of ePAPR.
- Split out graph and property functions to a separate file.
- New of-graph functions for ALSA
- Add vendor prefixes for RISC-V, Linksys, iWave Systems, Roofull,
Itead, and BananaPi.
- Improve dtx_diff utility filename printing.
* tag 'devicetree-for-4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (32 commits)
of: document /sys/firmware/fdt
dt-bindings: Add RISC-V vendor prefix
vsprintf: Add %p extension "%pOF" for device tree
of: find_node_by_full_name rewrite to compare each level
of: use kbasename instead of open coding
dt-bindings: thermal: add file extension to brcm,ns-thermal
of: update ePAPR references to point to Devicetree Specification
scripts/dtc: dtx_diff - Show real file names in diff header
of: detect invalid phandle in overlay
of: be consistent in form of file mode
of: make __of_attach_node() static
of: address.c header comment typo
of: fdt.c header comment typo
of: make of_fdt_is_compatible() static
dt-bindings: display-timing.txt convert non-ascii characters to ascii
Documentation: remove overlay-notes reference to non-existent file
dt-bindings: usb: exynos-usb: Add missing required VDD properties
dt-bindings: Add vendor prefix for Linksys
MAINTAINERS: add device tree ABI documentation file
of: Add vendor prefix for iWave Systems Technologies Pvt. Ltd
...
Diffstat (limited to 'Documentation/devicetree')
27 files changed, 73 insertions, 66 deletions
diff --git a/Documentation/devicetree/bindings/arm/cci.txt b/Documentation/devicetree/bindings/arm/cci.txt index 0f2153e8fa7e..9600761f2d5b 100644 --- a/Documentation/devicetree/bindings/arm/cci.txt +++ b/Documentation/devicetree/bindings/arm/cci.txt | |||
| @@ -11,13 +11,6 @@ clusters, through memory mapped interface, with a global control register | |||
| 11 | space and multiple sets of interface control registers, one per slave | 11 | space and multiple sets of interface control registers, one per slave |
| 12 | interface. | 12 | interface. |
| 13 | 13 | ||
| 14 | Bindings for the CCI node follow the ePAPR standard, available from: | ||
| 15 | |||
| 16 | www.power.org/documentation/epapr-version-1-1/ | ||
| 17 | |||
| 18 | with the addition of the bindings described in this document which are | ||
| 19 | specific to ARM. | ||
| 20 | |||
| 21 | * CCI interconnect node | 14 | * CCI interconnect node |
| 22 | 15 | ||
| 23 | Description: Describes a CCI cache coherent Interconnect component | 16 | Description: Describes a CCI cache coherent Interconnect component |
| @@ -50,10 +43,10 @@ specific to ARM. | |||
| 50 | as a tuple of cells, containing child address, | 43 | as a tuple of cells, containing child address, |
| 51 | parent address and the size of the region in the | 44 | parent address and the size of the region in the |
| 52 | child address space. | 45 | child address space. |
| 53 | Definition: A standard property. Follow rules in the ePAPR for | 46 | Definition: A standard property. Follow rules in the Devicetree |
| 54 | hierarchical bus addressing. CCI interfaces | 47 | Specification for hierarchical bus addressing. CCI |
| 55 | addresses refer to the parent node addressing | 48 | interfaces addresses refer to the parent node |
| 56 | scheme to declare their register bases. | 49 | addressing scheme to declare their register bases. |
| 57 | 50 | ||
| 58 | CCI interconnect node can define the following child nodes: | 51 | CCI interconnect node can define the following child nodes: |
| 59 | 52 | ||
diff --git a/Documentation/devicetree/bindings/arm/cpus.txt b/Documentation/devicetree/bindings/arm/cpus.txt index ad1913bea8d7..a44253cad269 100644 --- a/Documentation/devicetree/bindings/arm/cpus.txt +++ b/Documentation/devicetree/bindings/arm/cpus.txt | |||
| @@ -6,9 +6,9 @@ The device tree allows to describe the layout of CPUs in a system through | |||
| 6 | the "cpus" node, which in turn contains a number of subnodes (ie "cpu") | 6 | the "cpus" node, which in turn contains a number of subnodes (ie "cpu") |
| 7 | defining properties for every cpu. | 7 | defining properties for every cpu. |
| 8 | 8 | ||
| 9 | Bindings for CPU nodes follow the ePAPR v1.1 standard, available from: | 9 | Bindings for CPU nodes follow the Devicetree Specification, available from: |
| 10 | 10 | ||
| 11 | https://www.power.org/documentation/epapr-version-1-1/ | 11 | https://www.devicetree.org/specifications/ |
| 12 | 12 | ||
| 13 | with updates for 32-bit and 64-bit ARM systems provided in this document. | 13 | with updates for 32-bit and 64-bit ARM systems provided in this document. |
| 14 | 14 | ||
| @@ -16,8 +16,8 @@ with updates for 32-bit and 64-bit ARM systems provided in this document. | |||
| 16 | Convention used in this document | 16 | Convention used in this document |
| 17 | ================================ | 17 | ================================ |
| 18 | 18 | ||
| 19 | This document follows the conventions described in the ePAPR v1.1, with | 19 | This document follows the conventions described in the Devicetree |
| 20 | the addition: | 20 | Specification, with the addition: |
| 21 | 21 | ||
| 22 | - square brackets define bitfields, eg reg[7:0] value of the bitfield in | 22 | - square brackets define bitfields, eg reg[7:0] value of the bitfield in |
| 23 | the reg property contained in bits 7 down to 0 | 23 | the reg property contained in bits 7 down to 0 |
| @@ -26,8 +26,9 @@ the addition: | |||
| 26 | cpus and cpu node bindings definition | 26 | cpus and cpu node bindings definition |
| 27 | ===================================== | 27 | ===================================== |
| 28 | 28 | ||
| 29 | The ARM architecture, in accordance with the ePAPR, requires the cpus and cpu | 29 | The ARM architecture, in accordance with the Devicetree Specification, |
| 30 | nodes to be present and contain the properties described below. | 30 | requires the cpus and cpu nodes to be present and contain the properties |
| 31 | described below. | ||
| 31 | 32 | ||
| 32 | - cpus node | 33 | - cpus node |
| 33 | 34 | ||
diff --git a/Documentation/devicetree/bindings/arm/idle-states.txt b/Documentation/devicetree/bindings/arm/idle-states.txt index b8e41c148a3c..7a591333f2b1 100644 --- a/Documentation/devicetree/bindings/arm/idle-states.txt +++ b/Documentation/devicetree/bindings/arm/idle-states.txt | |||
| @@ -695,5 +695,5 @@ cpus { | |||
| 695 | [4] ARM Architecture Reference Manuals | 695 | [4] ARM Architecture Reference Manuals |
| 696 | http://infocenter.arm.com/help/index.jsp | 696 | http://infocenter.arm.com/help/index.jsp |
| 697 | 697 | ||
| 698 | [5] ePAPR standard | 698 | [5] Devicetree Specification |
| 699 | https://www.power.org/documentation/epapr-version-1-1/ | 699 | https://www.devicetree.org/specifications/ |
diff --git a/Documentation/devicetree/bindings/arm/l2c2x0.txt b/Documentation/devicetree/bindings/arm/l2c2x0.txt index d9650c1788f4..fbe6cb21f4cf 100644 --- a/Documentation/devicetree/bindings/arm/l2c2x0.txt +++ b/Documentation/devicetree/bindings/arm/l2c2x0.txt | |||
| @@ -4,8 +4,8 @@ ARM cores often have a separate L2C210/L2C220/L2C310 (also known as PL210/PL220/ | |||
| 4 | PL310 and variants) based level 2 cache controller. All these various implementations | 4 | PL310 and variants) based level 2 cache controller. All these various implementations |
| 5 | of the L2 cache controller have compatible programming models (Note 1). | 5 | of the L2 cache controller have compatible programming models (Note 1). |
| 6 | Some of the properties that are just prefixed "cache-*" are taken from section | 6 | Some of the properties that are just prefixed "cache-*" are taken from section |
| 7 | 3.7.3 of the ePAPR v1.1 specification which can be found at: | 7 | 3.7.3 of the Devicetree Specification which can be found at: |
| 8 | https://www.power.org/wp-content/uploads/2012/06/Power_ePAPR_APPROVED_v1.1.pdf | 8 | https://www.devicetree.org/specifications/ |
| 9 | 9 | ||
| 10 | The ARM L2 cache representation in the device tree should be done as follows: | 10 | The ARM L2 cache representation in the device tree should be done as follows: |
| 11 | 11 | ||
diff --git a/Documentation/devicetree/bindings/arm/topology.txt b/Documentation/devicetree/bindings/arm/topology.txt index 1061faf5f602..de9eb0486630 100644 --- a/Documentation/devicetree/bindings/arm/topology.txt +++ b/Documentation/devicetree/bindings/arm/topology.txt | |||
| @@ -29,9 +29,9 @@ corresponding to the system hierarchy; syntactically they are defined as device | |||
| 29 | tree nodes. | 29 | tree nodes. |
| 30 | 30 | ||
| 31 | The remainder of this document provides the topology bindings for ARM, based | 31 | The remainder of this document provides the topology bindings for ARM, based |
| 32 | on the ePAPR standard, available from: | 32 | on the Devicetree Specification, available from: |
| 33 | 33 | ||
| 34 | http://www.power.org/documentation/epapr-version-1-1/ | 34 | https://www.devicetree.org/specifications/ |
| 35 | 35 | ||
| 36 | If not stated otherwise, whenever a reference to a cpu node phandle is made its | 36 | If not stated otherwise, whenever a reference to a cpu node phandle is made its |
| 37 | value must point to a cpu node compliant with the cpu node bindings as | 37 | value must point to a cpu node compliant with the cpu node bindings as |
diff --git a/Documentation/devicetree/bindings/bus/simple-pm-bus.txt b/Documentation/devicetree/bindings/bus/simple-pm-bus.txt index d032237512c2..6f15037131ed 100644 --- a/Documentation/devicetree/bindings/bus/simple-pm-bus.txt +++ b/Documentation/devicetree/bindings/bus/simple-pm-bus.txt | |||
| @@ -10,7 +10,7 @@ enabled for child devices connected to the bus (either on-SoC or externally) | |||
| 10 | to function. | 10 | to function. |
| 11 | 11 | ||
| 12 | While "simple-pm-bus" follows the "simple-bus" set of properties, as specified | 12 | While "simple-pm-bus" follows the "simple-bus" set of properties, as specified |
| 13 | in ePAPR, it is not an extension of "simple-bus". | 13 | in the Devicetree Specification, it is not an extension of "simple-bus". |
| 14 | 14 | ||
| 15 | 15 | ||
| 16 | Required properties: | 16 | Required properties: |
diff --git a/Documentation/devicetree/bindings/chosen.txt b/Documentation/devicetree/bindings/chosen.txt index b5e39af4ddc0..dee3f5d9df26 100644 --- a/Documentation/devicetree/bindings/chosen.txt +++ b/Documentation/devicetree/bindings/chosen.txt | |||
| @@ -10,7 +10,8 @@ stdout-path property | |||
| 10 | -------------------- | 10 | -------------------- |
| 11 | 11 | ||
| 12 | Device trees may specify the device to be used for boot console output | 12 | Device trees may specify the device to be used for boot console output |
| 13 | with a stdout-path property under /chosen, as described in ePAPR, e.g. | 13 | with a stdout-path property under /chosen, as described in the Devicetree |
| 14 | Specification, e.g. | ||
| 14 | 15 | ||
| 15 | / { | 16 | / { |
| 16 | chosen { | 17 | chosen { |
diff --git a/Documentation/devicetree/bindings/common-properties.txt b/Documentation/devicetree/bindings/common-properties.txt index 3193979b1d05..697714f8d75c 100644 --- a/Documentation/devicetree/bindings/common-properties.txt +++ b/Documentation/devicetree/bindings/common-properties.txt | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | Common properties | 1 | Common properties |
| 2 | 2 | ||
| 3 | The ePAPR specification does not define any properties related to hardware | 3 | The Devicetree Specification does not define any properties related to hardware |
| 4 | byteswapping, but endianness issues show up frequently in porting Linux to | 4 | byteswapping, but endianness issues show up frequently in porting Linux to |
| 5 | different machine types. This document attempts to provide a consistent | 5 | different machine types. This document attempts to provide a consistent |
| 6 | way of handling byteswapping across drivers. | 6 | way of handling byteswapping across drivers. |
diff --git a/Documentation/devicetree/bindings/crypto/fsl-sec4.txt b/Documentation/devicetree/bindings/crypto/fsl-sec4.txt index 10a425f451fc..7aef0eae58d4 100644 --- a/Documentation/devicetree/bindings/crypto/fsl-sec4.txt +++ b/Documentation/devicetree/bindings/crypto/fsl-sec4.txt | |||
| @@ -118,8 +118,8 @@ PROPERTIES | |||
| 118 | Definition: A list of clock name strings in the same order as the | 118 | Definition: A list of clock name strings in the same order as the |
| 119 | clocks property. | 119 | clocks property. |
| 120 | 120 | ||
| 121 | Note: All other standard properties (see the ePAPR) are allowed | 121 | Note: All other standard properties (see the Devicetree Specification) |
| 122 | but are optional. | 122 | are allowed but are optional. |
| 123 | 123 | ||
| 124 | 124 | ||
| 125 | EXAMPLE | 125 | EXAMPLE |
diff --git a/Documentation/devicetree/bindings/crypto/fsl-sec6.txt b/Documentation/devicetree/bindings/crypto/fsl-sec6.txt index baf8a3c1b469..73b0eb950bb3 100644 --- a/Documentation/devicetree/bindings/crypto/fsl-sec6.txt +++ b/Documentation/devicetree/bindings/crypto/fsl-sec6.txt | |||
| @@ -55,8 +55,8 @@ PROPERTIES | |||
| 55 | triplet that includes the child address, parent address, & | 55 | triplet that includes the child address, parent address, & |
| 56 | length. | 56 | length. |
| 57 | 57 | ||
| 58 | Note: All other standard properties (see the ePAPR) are allowed | 58 | Note: All other standard properties (see the Devicetree Specification) |
| 59 | but are optional. | 59 | are allowed but are optional. |
| 60 | 60 | ||
| 61 | EXAMPLE | 61 | EXAMPLE |
| 62 | crypto@a0000 { | 62 | crypto@a0000 { |
diff --git a/Documentation/devicetree/bindings/display/panel/display-timing.txt b/Documentation/devicetree/bindings/display/panel/display-timing.txt index 81a75893d1b8..58fa3e48481d 100644 --- a/Documentation/devicetree/bindings/display/panel/display-timing.txt +++ b/Documentation/devicetree/bindings/display/panel/display-timing.txt | |||
| @@ -57,11 +57,11 @@ can be specified. | |||
| 57 | The parameters are defined as: | 57 | The parameters are defined as: |
| 58 | 58 | ||
| 59 | +----------+-------------------------------------+----------+-------+ | 59 | +----------+-------------------------------------+----------+-------+ |
| 60 | | | ↑ | | | | 60 | | | ^ | | | |
| 61 | | | |vback_porch | | | | 61 | | | |vback_porch | | | |
| 62 | | | ↓ | | | | 62 | | | v | | | |
| 63 | +----------#######################################----------+-------+ | 63 | +----------#######################################----------+-------+ |
| 64 | | # ↑ # | | | 64 | | # ^ # | | |
| 65 | | # | # | | | 65 | | # | # | | |
| 66 | | hback # | # hfront | hsync | | 66 | | hback # | # hfront | hsync | |
| 67 | | porch # | hactive # porch | len | | 67 | | porch # | hactive # porch | len | |
| @@ -69,15 +69,15 @@ The parameters are defined as: | |||
| 69 | | # | # | | | 69 | | # | # | | |
| 70 | | # |vactive # | | | 70 | | # |vactive # | | |
| 71 | | # | # | | | 71 | | # | # | | |
| 72 | | # ↓ # | | | 72 | | # v # | | |
| 73 | +----------#######################################----------+-------+ | 73 | +----------#######################################----------+-------+ |
| 74 | | | ↑ | | | | 74 | | | ^ | | | |
| 75 | | | |vfront_porch | | | | 75 | | | |vfront_porch | | | |
| 76 | | | ↓ | | | | 76 | | | v | | | |
| 77 | +----------+-------------------------------------+----------+-------+ | 77 | +----------+-------------------------------------+----------+-------+ |
| 78 | | | ↑ | | | | 78 | | | ^ | | | |
| 79 | | | |vsync_len | | | | 79 | | | |vsync_len | | | |
| 80 | | | ↓ | | | | 80 | | | v | | | |
| 81 | +----------+-------------------------------------+----------+-------+ | 81 | +----------+-------------------------------------+----------+-------+ |
| 82 | 82 | ||
| 83 | Example: | 83 | Example: |
diff --git a/Documentation/devicetree/bindings/graph.txt b/Documentation/devicetree/bindings/graph.txt index fcb1c6a4787b..0415e2c53ba0 100644 --- a/Documentation/devicetree/bindings/graph.txt +++ b/Documentation/devicetree/bindings/graph.txt | |||
| @@ -34,7 +34,7 @@ remote device, an 'endpoint' child node must be provided for each link. | |||
| 34 | If more than one port is present in a device node or there is more than one | 34 | If more than one port is present in a device node or there is more than one |
| 35 | endpoint at a port, or a port node needs to be associated with a selected | 35 | endpoint at a port, or a port node needs to be associated with a selected |
| 36 | hardware interface, a common scheme using '#address-cells', '#size-cells' | 36 | hardware interface, a common scheme using '#address-cells', '#size-cells' |
| 37 | and 'reg' properties is used number the nodes. | 37 | and 'reg' properties is used to number the nodes. |
| 38 | 38 | ||
| 39 | device { | 39 | device { |
| 40 | ... | 40 | ... |
| @@ -89,9 +89,9 @@ Links between endpoints | |||
| 89 | 89 | ||
| 90 | Each endpoint should contain a 'remote-endpoint' phandle property that points | 90 | Each endpoint should contain a 'remote-endpoint' phandle property that points |
| 91 | to the corresponding endpoint in the port of the remote device. In turn, the | 91 | to the corresponding endpoint in the port of the remote device. In turn, the |
| 92 | remote endpoint should contain a 'remote-endpoint' property. If it has one, | 92 | remote endpoint should contain a 'remote-endpoint' property. If it has one, it |
| 93 | it must not point to another than the local endpoint. Two endpoints with their | 93 | must not point to anything other than the local endpoint. Two endpoints with |
| 94 | 'remote-endpoint' phandles pointing at each other form a link between the | 94 | their 'remote-endpoint' phandles pointing at each other form a link between the |
| 95 | containing ports. | 95 | containing ports. |
| 96 | 96 | ||
| 97 | device-1 { | 97 | device-1 { |
| @@ -110,13 +110,12 @@ device-2 { | |||
| 110 | }; | 110 | }; |
| 111 | }; | 111 | }; |
| 112 | 112 | ||
| 113 | |||
| 114 | Required properties | 113 | Required properties |
| 115 | ------------------- | 114 | ------------------- |
| 116 | 115 | ||
| 117 | If there is more than one 'port' or more than one 'endpoint' node or 'reg' | 116 | If there is more than one 'port' or more than one 'endpoint' node or 'reg' |
| 118 | property is present in port and/or endpoint nodes the following properties | 117 | property present in the port and/or endpoint nodes then the following |
| 119 | are required in a relevant parent node: | 118 | properties are required in a relevant parent node: |
| 120 | 119 | ||
| 121 | - #address-cells : number of cells required to define port/endpoint | 120 | - #address-cells : number of cells required to define port/endpoint |
| 122 | identifier, should be 1. | 121 | identifier, should be 1. |
diff --git a/Documentation/devicetree/bindings/iio/proximity/as3935.txt b/Documentation/devicetree/bindings/iio/proximity/as3935.txt index ae23dd8da736..38d74314b7ab 100644 --- a/Documentation/devicetree/bindings/iio/proximity/as3935.txt +++ b/Documentation/devicetree/bindings/iio/proximity/as3935.txt | |||
| @@ -3,6 +3,7 @@ Austrian Microsystems AS3935 Franklin lightning sensor device driver | |||
| 3 | Required properties: | 3 | Required properties: |
| 4 | - compatible: must be "ams,as3935" | 4 | - compatible: must be "ams,as3935" |
| 5 | - reg: SPI chip select number for the device | 5 | - reg: SPI chip select number for the device |
| 6 | - spi-max-frequency: specifies maximum SPI clock frequency | ||
| 6 | - spi-cpha: SPI Mode 1. Refer to spi/spi-bus.txt for generic SPI | 7 | - spi-cpha: SPI Mode 1. Refer to spi/spi-bus.txt for generic SPI |
| 7 | slave node bindings. | 8 | slave node bindings. |
| 8 | - interrupt-parent : should be the phandle for the interrupt controller | 9 | - interrupt-parent : should be the phandle for the interrupt controller |
| @@ -21,6 +22,7 @@ Example: | |||
| 21 | as3935@0 { | 22 | as3935@0 { |
| 22 | compatible = "ams,as3935"; | 23 | compatible = "ams,as3935"; |
| 23 | reg = <0>; | 24 | reg = <0>; |
| 25 | spi-max-frequency = <400000>; | ||
| 24 | spi-cpha; | 26 | spi-cpha; |
| 25 | interrupt-parent = <&gpio1>; | 27 | interrupt-parent = <&gpio1>; |
| 26 | interrupts = <16 1>; | 28 | interrupts = <16 1>; |
diff --git a/Documentation/devicetree/bindings/interrupt-controller/open-pic.txt b/Documentation/devicetree/bindings/interrupt-controller/open-pic.txt index 909a902dff85..ccbbfdc53c72 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/open-pic.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/open-pic.txt | |||
| @@ -92,7 +92,6 @@ Example 2: | |||
| 92 | 92 | ||
| 93 | * References | 93 | * References |
| 94 | 94 | ||
| 95 | [1] Power.org (TM) Standard for Embedded Power Architecture (TM) Platform | 95 | [1] Devicetree Specification |
| 96 | Requirements (ePAPR), Version 1.0, July 2008. | 96 | (https://www.devicetree.org/specifications/) |
| 97 | (http://www.power.org/resources/downloads/Power_ePAPR_APPROVED_v1.0.pdf) | ||
| 98 | 97 | ||
diff --git a/Documentation/devicetree/bindings/net/ethernet.txt b/Documentation/devicetree/bindings/net/ethernet.txt index edd7fd2bbbf9..7da86f22a13b 100644 --- a/Documentation/devicetree/bindings/net/ethernet.txt +++ b/Documentation/devicetree/bindings/net/ethernet.txt | |||
| @@ -8,7 +8,8 @@ The following properties are common to the Ethernet controllers: | |||
| 8 | property; | 8 | property; |
| 9 | - max-speed: number, specifies maximum speed in Mbit/s supported by the device; | 9 | - max-speed: number, specifies maximum speed in Mbit/s supported by the device; |
| 10 | - max-frame-size: number, maximum transfer unit (IEEE defined MTU), rather than | 10 | - max-frame-size: number, maximum transfer unit (IEEE defined MTU), rather than |
| 11 | the maximum frame size (there's contradiction in ePAPR). | 11 | the maximum frame size (there's contradiction in the Devicetree |
| 12 | Specification). | ||
| 12 | - phy-mode: string, operation mode of the PHY interface. This is now a de-facto | 13 | - phy-mode: string, operation mode of the PHY interface. This is now a de-facto |
| 13 | standard property; supported values are: | 14 | standard property; supported values are: |
| 14 | * "internal" | 15 | * "internal" |
| @@ -35,9 +36,11 @@ The following properties are common to the Ethernet controllers: | |||
| 35 | * "rxaui" | 36 | * "rxaui" |
| 36 | * "xaui" | 37 | * "xaui" |
| 37 | * "10gbase-kr" (10GBASE-KR, XFI, SFI) | 38 | * "10gbase-kr" (10GBASE-KR, XFI, SFI) |
| 38 | - phy-connection-type: the same as "phy-mode" property but described in ePAPR; | 39 | - phy-connection-type: the same as "phy-mode" property but described in the |
| 40 | Devicetree Specification; | ||
| 39 | - phy-handle: phandle, specifies a reference to a node representing a PHY | 41 | - phy-handle: phandle, specifies a reference to a node representing a PHY |
| 40 | device; this property is described in ePAPR and so preferred; | 42 | device; this property is described in the Devicetree Specification and so |
| 43 | preferred; | ||
| 41 | - phy: the same as "phy-handle" property, not recommended for new bindings. | 44 | - phy: the same as "phy-handle" property, not recommended for new bindings. |
| 42 | - phy-device: the same as "phy-handle" property, not recommended for new | 45 | - phy-device: the same as "phy-handle" property, not recommended for new |
| 43 | bindings. | 46 | bindings. |
diff --git a/Documentation/devicetree/bindings/powerpc/fsl/fman.txt b/Documentation/devicetree/bindings/net/fsl-fman.txt index df873d1f3b7c..df873d1f3b7c 100644 --- a/Documentation/devicetree/bindings/powerpc/fsl/fman.txt +++ b/Documentation/devicetree/bindings/net/fsl-fman.txt | |||
diff --git a/Documentation/devicetree/bindings/net/wireless/brcm,bcm43xx-fmac.txt b/Documentation/devicetree/bindings/net/wireless/brcm,bcm43xx-fmac.txt index 5dbf169cd81c..590f622188de 100644 --- a/Documentation/devicetree/bindings/net/wireless/brcm,bcm43xx-fmac.txt +++ b/Documentation/devicetree/bindings/net/wireless/brcm,bcm43xx-fmac.txt | |||
| @@ -31,7 +31,7 @@ mmc3: mmc@01c12000 { | |||
| 31 | non-removable; | 31 | non-removable; |
| 32 | status = "okay"; | 32 | status = "okay"; |
| 33 | 33 | ||
| 34 | brcmf: bcrmf@1 { | 34 | brcmf: wifi@1 { |
| 35 | reg = <1>; | 35 | reg = <1>; |
| 36 | compatible = "brcm,bcm4329-fmac"; | 36 | compatible = "brcm,bcm4329-fmac"; |
| 37 | interrupt-parent = <&pio>; | 37 | interrupt-parent = <&pio>; |
diff --git a/Documentation/devicetree/bindings/powerpc/fsl/cpus.txt b/Documentation/devicetree/bindings/powerpc/fsl/cpus.txt index f8cd2397aa04..d63ab1dec16d 100644 --- a/Documentation/devicetree/bindings/powerpc/fsl/cpus.txt +++ b/Documentation/devicetree/bindings/powerpc/fsl/cpus.txt | |||
| @@ -3,10 +3,10 @@ Power Architecture CPU Binding | |||
| 3 | Copyright 2013 Freescale Semiconductor Inc. | 3 | Copyright 2013 Freescale Semiconductor Inc. |
| 4 | 4 | ||
| 5 | Power Architecture CPUs in Freescale SOCs are represented in device trees as | 5 | Power Architecture CPUs in Freescale SOCs are represented in device trees as |
| 6 | per the definition in ePAPR. | 6 | per the definition in the Devicetree Specification. |
| 7 | 7 | ||
| 8 | In addition to the ePAPR definitions, the properties defined below may be | 8 | In addition to the the Devicetree Specification definitions, the properties |
| 9 | present on CPU nodes. | 9 | defined below may be present on CPU nodes. |
| 10 | 10 | ||
| 11 | PROPERTIES | 11 | PROPERTIES |
| 12 | 12 | ||
diff --git a/Documentation/devicetree/bindings/powerpc/fsl/l2cache.txt b/Documentation/devicetree/bindings/powerpc/fsl/l2cache.txt index dc9bb3182525..8a70696395a7 100644 --- a/Documentation/devicetree/bindings/powerpc/fsl/l2cache.txt +++ b/Documentation/devicetree/bindings/powerpc/fsl/l2cache.txt | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | Freescale L2 Cache Controller | 1 | Freescale L2 Cache Controller |
| 2 | 2 | ||
| 3 | L2 cache is present in Freescale's QorIQ and QorIQ Qonverge platforms. | 3 | L2 cache is present in Freescale's QorIQ and QorIQ Qonverge platforms. |
| 4 | The cache bindings explained below are ePAPR compliant | 4 | The cache bindings explained below are Devicetree Specification compliant |
| 5 | 5 | ||
| 6 | Required Properties: | 6 | Required Properties: |
| 7 | 7 | ||
diff --git a/Documentation/devicetree/bindings/powerpc/fsl/srio-rmu.txt b/Documentation/devicetree/bindings/powerpc/fsl/srio-rmu.txt index b9a8a2bcfae7..0496ada4bba4 100644 --- a/Documentation/devicetree/bindings/powerpc/fsl/srio-rmu.txt +++ b/Documentation/devicetree/bindings/powerpc/fsl/srio-rmu.txt | |||
| @@ -124,8 +124,8 @@ Port-Write Unit: | |||
| 124 | A single IRQ that handles port-write conditions is | 124 | A single IRQ that handles port-write conditions is |
| 125 | specified by this property. (Typically shared with error). | 125 | specified by this property. (Typically shared with error). |
| 126 | 126 | ||
| 127 | Note: All other standard properties (see the ePAPR) are allowed | 127 | Note: All other standard properties (see the Devicetree Specification) |
| 128 | but are optional. | 128 | are allowed but are optional. |
| 129 | 129 | ||
| 130 | Example: | 130 | Example: |
| 131 | rmu: rmu@d3000 { | 131 | rmu: rmu@d3000 { |
diff --git a/Documentation/devicetree/bindings/powerpc/fsl/srio.txt b/Documentation/devicetree/bindings/powerpc/fsl/srio.txt index 07abf0f2f440..86ee6ea73754 100644 --- a/Documentation/devicetree/bindings/powerpc/fsl/srio.txt +++ b/Documentation/devicetree/bindings/powerpc/fsl/srio.txt | |||
| @@ -72,7 +72,8 @@ the following properties: | |||
| 72 | represents the LIODN associated with maintenance transactions | 72 | represents the LIODN associated with maintenance transactions |
| 73 | for the port. | 73 | for the port. |
| 74 | 74 | ||
| 75 | Note: All other standard properties (see ePAPR) are allowed but are optional. | 75 | Note: All other standard properties (see the Devicetree Specification) |
| 76 | are allowed but are optional. | ||
| 76 | 77 | ||
| 77 | Example: | 78 | Example: |
| 78 | 79 | ||
diff --git a/Documentation/devicetree/bindings/thermal/brcm,ns-thermal b/Documentation/devicetree/bindings/thermal/brcm,ns-thermal.txt index 68e047170039..68e047170039 100644 --- a/Documentation/devicetree/bindings/thermal/brcm,ns-thermal +++ b/Documentation/devicetree/bindings/thermal/brcm,ns-thermal.txt | |||
diff --git a/Documentation/devicetree/bindings/usb/exynos-usb.txt b/Documentation/devicetree/bindings/usb/exynos-usb.txt index 9b4dbe3b2acc..78ebebb66dad 100644 --- a/Documentation/devicetree/bindings/usb/exynos-usb.txt +++ b/Documentation/devicetree/bindings/usb/exynos-usb.txt | |||
| @@ -92,6 +92,8 @@ Required properties: | |||
| 92 | parent's address space | 92 | parent's address space |
| 93 | - clocks: Clock IDs array as required by the controller. | 93 | - clocks: Clock IDs array as required by the controller. |
| 94 | - clock-names: names of clocks correseponding to IDs in the clock property | 94 | - clock-names: names of clocks correseponding to IDs in the clock property |
| 95 | - vdd10-supply: 1.0V powr supply | ||
| 96 | - vdd33-supply: 3.0V/3.3V power supply | ||
| 95 | 97 | ||
| 96 | Sub-nodes: | 98 | Sub-nodes: |
| 97 | The dwc3 core should be added as subnode to Exynos dwc3 glue. | 99 | The dwc3 core should be added as subnode to Exynos dwc3 glue. |
| @@ -107,6 +109,8 @@ Example: | |||
| 107 | #address-cells = <1>; | 109 | #address-cells = <1>; |
| 108 | #size-cells = <1>; | 110 | #size-cells = <1>; |
| 109 | ranges; | 111 | ranges; |
| 112 | vdd10-supply = <&ldo11_reg>; | ||
| 113 | vdd33-supply = <&ldo9_reg>; | ||
| 110 | 114 | ||
| 111 | dwc3 { | 115 | dwc3 { |
| 112 | compatible = "synopsys,dwc3"; | 116 | compatible = "synopsys,dwc3"; |
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 286f4e1e111f..708ff2504260 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt | |||
| @@ -45,6 +45,7 @@ avia avia semiconductor | |||
| 45 | avic Shanghai AVIC Optoelectronics Co., Ltd. | 45 | avic Shanghai AVIC Optoelectronics Co., Ltd. |
| 46 | axentia Axentia Technologies AB | 46 | axentia Axentia Technologies AB |
| 47 | axis Axis Communications AB | 47 | axis Axis Communications AB |
| 48 | bananapi BIPAI KEJI LIMITED | ||
| 48 | boe BOE Technology Group Co., Ltd. | 49 | boe BOE Technology Group Co., Ltd. |
| 49 | bosch Bosch Sensortec GmbH | 50 | bosch Bosch Sensortec GmbH |
| 50 | boundary Boundary Devices Inc. | 51 | boundary Boundary Devices Inc. |
| @@ -159,6 +160,8 @@ iom Iomega Corporation | |||
| 159 | isee ISEE 2007 S.L. | 160 | isee ISEE 2007 S.L. |
| 160 | isil Intersil | 161 | isil Intersil |
| 161 | issi Integrated Silicon Solutions Inc. | 162 | issi Integrated Silicon Solutions Inc. |
| 163 | itead ITEAD Intelligent Systems Co.Ltd | ||
| 164 | iwave iWave Systems Technologies Pvt. Ltd. | ||
| 162 | jdi Japan Display Inc. | 165 | jdi Japan Display Inc. |
| 163 | jedec JEDEC Solid State Technology Association | 166 | jedec JEDEC Solid State Technology Association |
| 164 | karo Ka-Ro electronics GmbH | 167 | karo Ka-Ro electronics GmbH |
| @@ -177,6 +180,7 @@ lg LG Corporation | |||
| 177 | libretech Shenzhen Libre Technology Co., Ltd | 180 | libretech Shenzhen Libre Technology Co., Ltd |
| 178 | licheepi Lichee Pi | 181 | licheepi Lichee Pi |
| 179 | linaro Linaro Limited | 182 | linaro Linaro Limited |
| 183 | linksys Belkin International, Inc. (Linksys) | ||
| 180 | linux Linux-specific binding | 184 | linux Linux-specific binding |
| 181 | lltc Linear Technology Corporation | 185 | lltc Linear Technology Corporation |
| 182 | lsi LSI Corp. (LSI Logic) | 186 | lsi LSI Corp. (LSI Logic) |
| @@ -269,8 +273,10 @@ renesas Renesas Electronics Corporation | |||
| 269 | richtek Richtek Technology Corporation | 273 | richtek Richtek Technology Corporation |
| 270 | ricoh Ricoh Co. Ltd. | 274 | ricoh Ricoh Co. Ltd. |
| 271 | rikomagic Rikomagic Tech Corp. Ltd | 275 | rikomagic Rikomagic Tech Corp. Ltd |
| 276 | riscv RISC-V Foundation | ||
| 272 | rockchip Fuzhou Rockchip Electronics Co., Ltd | 277 | rockchip Fuzhou Rockchip Electronics Co., Ltd |
| 273 | rohm ROHM Semiconductor Co., Ltd | 278 | rohm ROHM Semiconductor Co., Ltd |
| 279 | roofull Shenzhen Roofull Technology Co, Ltd | ||
| 274 | samsung Samsung Semiconductor | 280 | samsung Samsung Semiconductor |
| 275 | samtec Samtec/Softing company | 281 | samtec Samtec/Softing company |
| 276 | sandisk Sandisk Corporation | 282 | sandisk Sandisk Corporation |
diff --git a/Documentation/devicetree/booting-without-of.txt b/Documentation/devicetree/booting-without-of.txt index 280d283304bb..fb740445199f 100644 --- a/Documentation/devicetree/booting-without-of.txt +++ b/Documentation/devicetree/booting-without-of.txt | |||
| @@ -1413,7 +1413,7 @@ Optional property: | |||
| 1413 | from DMA operations originating from the bus. It provides a means of | 1413 | from DMA operations originating from the bus. It provides a means of |
| 1414 | defining a mapping or translation between the physical address space of | 1414 | defining a mapping or translation between the physical address space of |
| 1415 | the bus and the physical address space of the parent of the bus. | 1415 | the bus and the physical address space of the parent of the bus. |
| 1416 | (for more information see ePAPR specification) | 1416 | (for more information see the Devicetree Specification) |
| 1417 | 1417 | ||
| 1418 | * DMA Bus child | 1418 | * DMA Bus child |
| 1419 | Optional property: | 1419 | Optional property: |
diff --git a/Documentation/devicetree/overlay-notes.txt b/Documentation/devicetree/overlay-notes.txt index d418a6ce9812..eb7f2685fda1 100644 --- a/Documentation/devicetree/overlay-notes.txt +++ b/Documentation/devicetree/overlay-notes.txt | |||
| @@ -3,8 +3,7 @@ Device Tree Overlay Notes | |||
| 3 | 3 | ||
| 4 | This document describes the implementation of the in-kernel | 4 | This document describes the implementation of the in-kernel |
| 5 | device tree overlay functionality residing in drivers/of/overlay.c and is a | 5 | device tree overlay functionality residing in drivers/of/overlay.c and is a |
| 6 | companion document to Documentation/devicetree/dt-object-internal.txt[1] & | 6 | companion document to Documentation/devicetree/dynamic-resolution-notes.txt[1] |
| 7 | Documentation/devicetree/dynamic-resolution-notes.txt[2] | ||
| 8 | 7 | ||
| 9 | How overlays work | 8 | How overlays work |
| 10 | ----------------- | 9 | ----------------- |
| @@ -16,8 +15,7 @@ Since the kernel mainly deals with devices, any new device node that result | |||
| 16 | in an active device should have it created while if the device node is either | 15 | in an active device should have it created while if the device node is either |
| 17 | disabled or removed all together, the affected device should be deregistered. | 16 | disabled or removed all together, the affected device should be deregistered. |
| 18 | 17 | ||
| 19 | Lets take an example where we have a foo board with the following base tree | 18 | Lets take an example where we have a foo board with the following base tree: |
| 20 | which is taken from [1]. | ||
| 21 | 19 | ||
| 22 | ---- foo.dts ----------------------------------------------------------------- | 20 | ---- foo.dts ----------------------------------------------------------------- |
| 23 | /* FOO platform */ | 21 | /* FOO platform */ |
| @@ -36,7 +34,7 @@ which is taken from [1]. | |||
| 36 | }; | 34 | }; |
| 37 | ---- foo.dts ----------------------------------------------------------------- | 35 | ---- foo.dts ----------------------------------------------------------------- |
| 38 | 36 | ||
| 39 | The overlay bar.dts, when loaded (and resolved as described in [2]) should | 37 | The overlay bar.dts, when loaded (and resolved as described in [1]) should |
| 40 | 38 | ||
| 41 | ---- bar.dts ----------------------------------------------------------------- | 39 | ---- bar.dts ----------------------------------------------------------------- |
| 42 | /plugin/; /* allow undefined label references and record them */ | 40 | /plugin/; /* allow undefined label references and record them */ |
diff --git a/Documentation/devicetree/usage-model.txt b/Documentation/devicetree/usage-model.txt index 2b6b3d3f0388..33a8aaac02a8 100644 --- a/Documentation/devicetree/usage-model.txt +++ b/Documentation/devicetree/usage-model.txt | |||
| @@ -387,7 +387,7 @@ static void __init harmony_init_machine(void) | |||
| 387 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); | 387 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); |
| 388 | } | 388 | } |
| 389 | 389 | ||
| 390 | "simple-bus" is defined in the ePAPR 1.0 specification as a property | 390 | "simple-bus" is defined in the Devicetree Specification as a property |
| 391 | meaning a simple memory mapped bus, so the of_platform_populate() code | 391 | meaning a simple memory mapped bus, so the of_platform_populate() code |
| 392 | could be written to just assume simple-bus compatible nodes will | 392 | could be written to just assume simple-bus compatible nodes will |
| 393 | always be traversed. However, we pass it in as an argument so that | 393 | always be traversed. However, we pass it in as an argument so that |
