diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-05-05 22:33:07 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-05-05 22:33:07 -0400 |
| commit | 3ef2bc099d1cce09e2844467e2ced98e1a44609d (patch) | |
| tree | be3d1ea5da1ba9f3a664d5da7f34574bb7930ce7 /Documentation | |
| parent | 2eecf3a49f1ff24c6116c954dd74e83f227fc716 (diff) | |
| parent | 17a70355ea576843a7ac851f1db26872a50b2850 (diff) | |
Merge tag 'devicetree-for-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
Pull DeviceTree updates from Rob Herring:
- fix sparse warnings in drivers/of/
- add more overlay unittests
- update dtc to v1.4.4-8-g756ffc4f52f6. This adds more checks on dts
files such as unit-address formatting and stricter character sets for
node and property names
- add a common DT modalias function
- move trivial-devices.txt up and out of i2c dir
- ARM NVIC interrupt controller binding
- vendor prefixes for Sensirion, Dioo, Nordic, ROHM
- correct some binding file locations
* tag 'devicetree-for-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (24 commits)
of: fix sparse warnings in fdt, irq, reserved mem, and resolver code
of: fix sparse warning in of_pci_range_parser_one
of: fix sparse warnings in of_find_next_cache_node
of/unittest: Missing unlocks on error
of: fix uninitialized variable warning for overlay test
of: fix unittest build without CONFIG_OF_OVERLAY
of: Add unit tests for applying overlays
of: per-file dtc compiler flags
fpga: region: add missing DT documentation for config complete timeout
of: Add vendor prefix for ROHM Semiconductor
of: fix "/cpus" reference leak in of_numa_parse_cpu_nodes()
of: Add vendor prefix for Nordic Semiconductor
dt-bindings: arm,nvic: Binding for ARM NVIC interrupt controller on Cortex-M
dtc: update warning settings for new bus and node/property name checks
scripts/dtc: Update to upstream version v1.4.4-8-g756ffc4f52f6
scripts/dtc: automate getting dtc version and log in update script
of: Add function for generating a DT modalias with a newline
of: fix of_device_get_modalias returned length when truncating buffers
Documentation: devicetree: move trivial-devices out of I2C realm
dt-bindings: add vendor prefix for Dioo
..
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/devicetree/bindings/display/atmel/hlcdc-dc.txt | 2 | ||||
| -rw-r--r-- | Documentation/devicetree/bindings/fpga/fpga-region.txt | 2 | ||||
| -rw-r--r-- | Documentation/devicetree/bindings/interrupt-controller/arm,nvic.txt | 36 | ||||
| -rw-r--r-- | Documentation/devicetree/bindings/mfd/atmel-hlcdc.txt | 2 | ||||
| -rw-r--r-- | Documentation/devicetree/bindings/net/faraday,ftmac.txt (renamed from Documentation/devicetree/bindings/net/moxa,moxart-mac.txt) | 7 | ||||
| -rw-r--r-- | Documentation/devicetree/bindings/trivial-devices.txt (renamed from Documentation/devicetree/bindings/i2c/trivial-devices.txt) | 0 | ||||
| -rw-r--r-- | Documentation/devicetree/bindings/vendor-prefixes.txt | 3 |
7 files changed, 48 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/display/atmel/hlcdc-dc.txt b/Documentation/devicetree/bindings/display/atmel/hlcdc-dc.txt index ebc1a914bda3..ec94468b35be 100644 --- a/Documentation/devicetree/bindings/display/atmel/hlcdc-dc.txt +++ b/Documentation/devicetree/bindings/display/atmel/hlcdc-dc.txt | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | Device-Tree bindings for Atmel's HLCDC (High LCD Controller) DRM driver | 1 | Device-Tree bindings for Atmel's HLCDC (High LCD Controller) DRM driver |
| 2 | 2 | ||
| 3 | The Atmel HLCDC Display Controller is subdevice of the HLCDC MFD device. | 3 | The Atmel HLCDC Display Controller is subdevice of the HLCDC MFD device. |
| 4 | See ../mfd/atmel-hlcdc.txt for more details. | 4 | See ../../mfd/atmel-hlcdc.txt for more details. |
| 5 | 5 | ||
| 6 | Required properties: | 6 | Required properties: |
| 7 | - compatible: value should be "atmel,hlcdc-display-controller" | 7 | - compatible: value should be "atmel,hlcdc-display-controller" |
diff --git a/Documentation/devicetree/bindings/fpga/fpga-region.txt b/Documentation/devicetree/bindings/fpga/fpga-region.txt index 81bf3adba24b..6db8aeda461a 100644 --- a/Documentation/devicetree/bindings/fpga/fpga-region.txt +++ b/Documentation/devicetree/bindings/fpga/fpga-region.txt | |||
| @@ -193,6 +193,8 @@ Optional properties: | |||
| 193 | - region-freeze-timeout-us : The maximum time in microseconds to wait for | 193 | - region-freeze-timeout-us : The maximum time in microseconds to wait for |
| 194 | bridges to successfully become disabled before the region has been | 194 | bridges to successfully become disabled before the region has been |
| 195 | programmed. | 195 | programmed. |
| 196 | - config-complete-timeout-us : The maximum time in microseconds time for the | ||
| 197 | FPGA to go to operating mode after the region has been programmed. | ||
| 196 | - child nodes : devices in the FPGA after programming. | 198 | - child nodes : devices in the FPGA after programming. |
| 197 | 199 | ||
| 198 | In the example below, when an overlay is applied targeting fpga-region0, | 200 | In the example below, when an overlay is applied targeting fpga-region0, |
diff --git a/Documentation/devicetree/bindings/interrupt-controller/arm,nvic.txt b/Documentation/devicetree/bindings/interrupt-controller/arm,nvic.txt new file mode 100644 index 000000000000..386ab37a383f --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/arm,nvic.txt | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | * ARM Nested Vector Interrupt Controller (NVIC) | ||
| 2 | |||
| 3 | The NVIC provides an interrupt controller that is tightly coupled to | ||
| 4 | Cortex-M based processor cores. The NVIC implemented on different SoCs | ||
| 5 | vary in the number of interrupts and priority bits per interrupt. | ||
| 6 | |||
| 7 | Main node required properties: | ||
| 8 | |||
| 9 | - compatible : should be one of: | ||
| 10 | "arm,v6m-nvic" | ||
| 11 | "arm,v7m-nvic" | ||
| 12 | "arm,v8m-nvic" | ||
| 13 | - interrupt-controller : Identifies the node as an interrupt controller | ||
| 14 | - #interrupt-cells : Specifies the number of cells needed to encode an | ||
| 15 | interrupt source. The type shall be a <u32> and the value shall be 2. | ||
| 16 | |||
| 17 | The 1st cell contains the interrupt number for the interrupt type. | ||
| 18 | |||
| 19 | The 2nd cell is the priority of the interrupt. | ||
| 20 | |||
| 21 | - reg : Specifies base physical address(s) and size of the NVIC registers. | ||
| 22 | This is at a fixed address (0xe000e100) and size (0xc00). | ||
| 23 | |||
| 24 | - arm,num-irq-priority-bits: The number of priority bits implemented by the | ||
| 25 | given SoC | ||
| 26 | |||
| 27 | Example: | ||
| 28 | |||
| 29 | intc: interrupt-controller@e000e100 { | ||
| 30 | compatible = "arm,v7m-nvic"; | ||
| 31 | #interrupt-cells = <2>; | ||
| 32 | #address-cells = <1>; | ||
| 33 | interrupt-controller; | ||
| 34 | reg = <0xe000e100 0xc00>; | ||
| 35 | arm,num-irq-priority-bits = <4>; | ||
| 36 | }; | ||
diff --git a/Documentation/devicetree/bindings/mfd/atmel-hlcdc.txt b/Documentation/devicetree/bindings/mfd/atmel-hlcdc.txt index 670831b29565..eec40be7f79a 100644 --- a/Documentation/devicetree/bindings/mfd/atmel-hlcdc.txt +++ b/Documentation/devicetree/bindings/mfd/atmel-hlcdc.txt | |||
| @@ -15,7 +15,7 @@ Required properties: | |||
| 15 | 15 | ||
| 16 | The HLCDC IP exposes two subdevices: | 16 | The HLCDC IP exposes two subdevices: |
| 17 | - a PWM chip: see ../pwm/atmel-hlcdc-pwm.txt | 17 | - a PWM chip: see ../pwm/atmel-hlcdc-pwm.txt |
| 18 | - a Display Controller: see ../display/atmel-hlcdc-dc.txt | 18 | - a Display Controller: see ../display/atmel/hlcdc-dc.txt |
| 19 | 19 | ||
| 20 | Example: | 20 | Example: |
| 21 | 21 | ||
diff --git a/Documentation/devicetree/bindings/net/moxa,moxart-mac.txt b/Documentation/devicetree/bindings/net/faraday,ftmac.txt index 583418b2c127..be4f55e23bf7 100644 --- a/Documentation/devicetree/bindings/net/moxa,moxart-mac.txt +++ b/Documentation/devicetree/bindings/net/faraday,ftmac.txt | |||
| @@ -1,8 +1,11 @@ | |||
| 1 | MOXA ART Ethernet Controller | 1 | Faraday Ethernet Controller |
| 2 | 2 | ||
| 3 | Required properties: | 3 | Required properties: |
| 4 | 4 | ||
| 5 | - compatible : Must be "moxa,moxart-mac" | 5 | - compatible : Must contain "faraday,ftmac", as well as one of |
| 6 | the SoC specific identifiers: | ||
| 7 | "andestech,atmac100" | ||
| 8 | "moxa,moxart-mac" | ||
| 6 | - reg : Should contain register location and length | 9 | - reg : Should contain register location and length |
| 7 | - interrupts : Should contain the mac interrupt number | 10 | - interrupts : Should contain the mac interrupt number |
| 8 | 11 | ||
diff --git a/Documentation/devicetree/bindings/i2c/trivial-devices.txt b/Documentation/devicetree/bindings/trivial-devices.txt index ad10fbe61562..ad10fbe61562 100644 --- a/Documentation/devicetree/bindings/i2c/trivial-devices.txt +++ b/Documentation/devicetree/bindings/trivial-devices.txt | |||
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 257ec07cbaa0..ee558477e164 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt | |||
| @@ -80,6 +80,7 @@ denx Denx Software Engineering | |||
| 80 | devantech Devantech, Ltd. | 80 | devantech Devantech, Ltd. |
| 81 | digi Digi International Inc. | 81 | digi Digi International Inc. |
| 82 | digilent Diglent, Inc. | 82 | digilent Diglent, Inc. |
| 83 | dioo Dioo Microcircuit Co., Ltd | ||
| 83 | dlg Dialog Semiconductor | 84 | dlg Dialog Semiconductor |
| 84 | dlink D-Link Corporation | 85 | dlink D-Link Corporation |
| 85 | dmo Data Modul AG | 86 | dmo Data Modul AG |
| @@ -215,6 +216,7 @@ newhaven Newhaven Display International | |||
| 215 | ni National Instruments | 216 | ni National Instruments |
| 216 | nintendo Nintendo | 217 | nintendo Nintendo |
| 217 | nokia Nokia | 218 | nokia Nokia |
| 219 | nordic Nordic Semiconductor | ||
| 218 | nuvoton Nuvoton Technology Corporation | 220 | nuvoton Nuvoton Technology Corporation |
| 219 | nvd New Vision Display | 221 | nvd New Vision Display |
| 220 | nvidia NVIDIA | 222 | nvidia NVIDIA |
| @@ -261,6 +263,7 @@ richtek Richtek Technology Corporation | |||
| 261 | ricoh Ricoh Co. Ltd. | 263 | ricoh Ricoh Co. Ltd. |
| 262 | rikomagic Rikomagic Tech Corp. Ltd | 264 | rikomagic Rikomagic Tech Corp. Ltd |
| 263 | rockchip Fuzhou Rockchip Electronics Co., Ltd | 265 | rockchip Fuzhou Rockchip Electronics Co., Ltd |
| 266 | rohm ROHM Semiconductor Co., Ltd | ||
| 264 | samsung Samsung Semiconductor | 267 | samsung Samsung Semiconductor |
| 265 | samtec Samtec/Softing company | 268 | samtec Samtec/Softing company |
| 266 | sandisk Sandisk Corporation | 269 | sandisk Sandisk Corporation |
