diff options
| author | Jiri Kosina <jkosina@suse.cz> | 2017-05-02 05:02:41 -0400 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2017-05-02 05:02:41 -0400 |
| commit | 4d6ca227c768b50b05cf183974b40abe444e9d0c (patch) | |
| tree | bf953d8e895281053548b9967a2c4b58d641df00 /Documentation/devicetree/bindings | |
| parent | 800f3eef8ebc1264e9c135bfa892c8ae41fa4792 (diff) | |
| parent | af22a610bc38508d5ea760507d31be6b6983dfa8 (diff) | |
Merge branch 'for-4.12/asus' into for-linus
Diffstat (limited to 'Documentation/devicetree/bindings')
204 files changed, 3553 insertions, 424 deletions
diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation/devicetree/bindings/arm/amlogic.txt index 9b2b41ab6817..c246cd2730d9 100644 --- a/Documentation/devicetree/bindings/arm/amlogic.txt +++ b/Documentation/devicetree/bindings/arm/amlogic.txt | |||
| @@ -40,6 +40,8 @@ Board compatible values: | |||
| 40 | - "hardkernel,odroid-c2" (Meson gxbb) | 40 | - "hardkernel,odroid-c2" (Meson gxbb) |
| 41 | - "amlogic,p200" (Meson gxbb) | 41 | - "amlogic,p200" (Meson gxbb) |
| 42 | - "amlogic,p201" (Meson gxbb) | 42 | - "amlogic,p201" (Meson gxbb) |
| 43 | - "wetek,hub" (Meson gxbb) | ||
| 44 | - "wetek,play2" (Meson gxbb) | ||
| 43 | - "amlogic,p212" (Meson gxl s905x) | 45 | - "amlogic,p212" (Meson gxl s905x) |
| 44 | - "amlogic,p230" (Meson gxl s905d) | 46 | - "amlogic,p230" (Meson gxl s905d) |
| 45 | - "amlogic,p231" (Meson gxl s905d) | 47 | - "amlogic,p231" (Meson gxl s905d) |
diff --git a/Documentation/devicetree/bindings/arm/axentia.txt b/Documentation/devicetree/bindings/arm/axentia.txt new file mode 100644 index 000000000000..ea3fb96ae465 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/axentia.txt | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | Device tree bindings for Axentia ARM devices | ||
| 2 | ============================================ | ||
| 3 | |||
| 4 | Linea CPU module | ||
| 5 | ---------------- | ||
| 6 | |||
| 7 | Required root node properties: | ||
| 8 | compatible = "axentia,linea", | ||
| 9 | "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; | ||
| 10 | and following the rules from atmel-at91.txt for a sama5d31 SoC. | ||
| 11 | |||
| 12 | |||
| 13 | TSE-850 v3 board | ||
| 14 | ---------------- | ||
| 15 | |||
| 16 | Required root node properties: | ||
| 17 | compatible = "axentia,tse850v3", "axentia,linea", | ||
| 18 | "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; | ||
| 19 | and following the rules from above for the axentia,linea CPU module. | ||
diff --git a/Documentation/devicetree/bindings/arm/cpus.txt b/Documentation/devicetree/bindings/arm/cpus.txt index a1bcfeed5f24..698ad1f097fa 100644 --- a/Documentation/devicetree/bindings/arm/cpus.txt +++ b/Documentation/devicetree/bindings/arm/cpus.txt | |||
| @@ -158,6 +158,7 @@ nodes to be present and contain the properties described below. | |||
| 158 | "arm,cortex-a53" | 158 | "arm,cortex-a53" |
| 159 | "arm,cortex-a57" | 159 | "arm,cortex-a57" |
| 160 | "arm,cortex-a72" | 160 | "arm,cortex-a72" |
| 161 | "arm,cortex-a73" | ||
| 161 | "arm,cortex-m0" | 162 | "arm,cortex-m0" |
| 162 | "arm,cortex-m0+" | 163 | "arm,cortex-m0+" |
| 163 | "arm,cortex-m1" | 164 | "arm,cortex-m1" |
| @@ -202,6 +203,7 @@ nodes to be present and contain the properties described below. | |||
| 202 | "marvell,armada-380-smp" | 203 | "marvell,armada-380-smp" |
| 203 | "marvell,armada-390-smp" | 204 | "marvell,armada-390-smp" |
| 204 | "marvell,armada-xp-smp" | 205 | "marvell,armada-xp-smp" |
| 206 | "marvell,98dx3236-smp" | ||
| 205 | "mediatek,mt6589-smp" | 207 | "mediatek,mt6589-smp" |
| 206 | "mediatek,mt81xx-tz-smp" | 208 | "mediatek,mt81xx-tz-smp" |
| 207 | "qcom,gcc-msm8660" | 209 | "qcom,gcc-msm8660" |
diff --git a/Documentation/devicetree/bindings/arm/davinci.txt b/Documentation/devicetree/bindings/arm/davinci.txt index f0841ce725b5..715622c36260 100644 --- a/Documentation/devicetree/bindings/arm/davinci.txt +++ b/Documentation/devicetree/bindings/arm/davinci.txt | |||
| @@ -13,6 +13,10 @@ EnBW AM1808 based CMC board | |||
| 13 | Required root node properties: | 13 | Required root node properties: |
| 14 | - compatible = "enbw,cmc", "ti,da850; | 14 | - compatible = "enbw,cmc", "ti,da850; |
| 15 | 15 | ||
| 16 | LEGO MINDSTORMS EV3 (AM1808 based) | ||
| 17 | Required root node properties: | ||
| 18 | - compatible = "lego,ev3", "ti,da850"; | ||
| 19 | |||
| 16 | Generic DaVinci Boards | 20 | Generic DaVinci Boards |
| 17 | ---------------------- | 21 | ---------------------- |
| 18 | 22 | ||
diff --git a/Documentation/devicetree/bindings/arm/fsl.txt b/Documentation/devicetree/bindings/arm/fsl.txt index d6ee9c6e1dbb..c9c567ae227f 100644 --- a/Documentation/devicetree/bindings/arm/fsl.txt +++ b/Documentation/devicetree/bindings/arm/fsl.txt | |||
| @@ -108,7 +108,7 @@ status. | |||
| 108 | - compatible: Should contain a chip-specific compatible string, | 108 | - compatible: Should contain a chip-specific compatible string, |
| 109 | Chip-specific strings are of the form "fsl,<chip>-scfg", | 109 | Chip-specific strings are of the form "fsl,<chip>-scfg", |
| 110 | The following <chip>s are known to be supported: | 110 | The following <chip>s are known to be supported: |
| 111 | ls1021a, ls1043a, ls1046a, ls2080a. | 111 | ls1012a, ls1021a, ls1043a, ls1046a, ls2080a. |
| 112 | 112 | ||
| 113 | - reg: should contain base address and length of SCFG memory-mapped registers | 113 | - reg: should contain base address and length of SCFG memory-mapped registers |
| 114 | 114 | ||
| @@ -126,7 +126,7 @@ core start address and release the secondary core from holdoff and startup. | |||
| 126 | - compatible: Should contain a chip-specific compatible string, | 126 | - compatible: Should contain a chip-specific compatible string, |
| 127 | Chip-specific strings are of the form "fsl,<chip>-dcfg", | 127 | Chip-specific strings are of the form "fsl,<chip>-dcfg", |
| 128 | The following <chip>s are known to be supported: | 128 | The following <chip>s are known to be supported: |
| 129 | ls1021a, ls1043a, ls1046a, ls2080a. | 129 | ls1012a, ls1021a, ls1043a, ls1046a, ls2080a. |
| 130 | 130 | ||
| 131 | - reg : should contain base address and length of DCFG memory-mapped registers | 131 | - reg : should contain base address and length of DCFG memory-mapped registers |
| 132 | 132 | ||
| @@ -139,6 +139,22 @@ Example: | |||
| 139 | Freescale ARMv8 based Layerscape SoC family Device Tree Bindings | 139 | Freescale ARMv8 based Layerscape SoC family Device Tree Bindings |
| 140 | ---------------------------------------------------------------- | 140 | ---------------------------------------------------------------- |
| 141 | 141 | ||
| 142 | LS1012A SoC | ||
| 143 | Required root node properties: | ||
| 144 | - compatible = "fsl,ls1012a"; | ||
| 145 | |||
| 146 | LS1012A ARMv8 based RDB Board | ||
| 147 | Required root node properties: | ||
| 148 | - compatible = "fsl,ls1012a-rdb", "fsl,ls1012a"; | ||
| 149 | |||
| 150 | LS1012A ARMv8 based FRDM Board | ||
| 151 | Required root node properties: | ||
| 152 | - compatible = "fsl,ls1012a-frdm", "fsl,ls1012a"; | ||
| 153 | |||
| 154 | LS1012A ARMv8 based QDS Board | ||
| 155 | Required root node properties: | ||
| 156 | - compatible = "fsl,ls1012a-qds", "fsl,ls1012a"; | ||
| 157 | |||
| 142 | LS1043A SoC | 158 | LS1043A SoC |
| 143 | Required root node properties: | 159 | Required root node properties: |
| 144 | - compatible = "fsl,ls1043a"; | 160 | - compatible = "fsl,ls1043a"; |
diff --git a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt b/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt index 7df79a715611..f1c1e21a8110 100644 --- a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt +++ b/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | Hisilicon Platforms Device Tree Bindings | 1 | Hisilicon Platforms Device Tree Bindings |
| 2 | ---------------------------------------------------- | 2 | ---------------------------------------------------- |
| 3 | Hi3660 SoC | ||
| 4 | Required root node properties: | ||
| 5 | - compatible = "hisilicon,hi3660"; | ||
| 6 | |||
| 3 | Hi4511 Board | 7 | Hi4511 Board |
| 4 | Required root node properties: | 8 | Required root node properties: |
| 5 | - compatible = "hisilicon,hi3620-hi4511"; | 9 | - compatible = "hisilicon,hi3620-hi4511"; |
diff --git a/Documentation/devicetree/bindings/arm/marvell/98dx3236-resume-ctrl.txt b/Documentation/devicetree/bindings/arm/marvell/98dx3236-resume-ctrl.txt new file mode 100644 index 000000000000..26eb9d3aa630 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/marvell/98dx3236-resume-ctrl.txt | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | Resume Control | ||
| 2 | -------------- | ||
| 3 | Available on Marvell SOCs: 98DX3336 and 98DX4251 | ||
| 4 | |||
| 5 | Required properties: | ||
| 6 | |||
| 7 | - compatible: must be "marvell,98dx3336-resume-ctrl" | ||
| 8 | |||
| 9 | - reg: Should contain resume control registers location and length | ||
| 10 | |||
| 11 | Example: | ||
| 12 | |||
| 13 | resume@20980 { | ||
| 14 | compatible = "marvell,98dx3336-resume-ctrl"; | ||
| 15 | reg = <0x20980 0x10>; | ||
| 16 | }; | ||
diff --git a/Documentation/devicetree/bindings/arm/marvell/98dx3236.txt b/Documentation/devicetree/bindings/arm/marvell/98dx3236.txt new file mode 100644 index 000000000000..64e8c73fc5ab --- /dev/null +++ b/Documentation/devicetree/bindings/arm/marvell/98dx3236.txt | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | Marvell 98DX3236, 98DX3336 and 98DX4251 Platforms Device Tree Bindings | ||
| 2 | ---------------------------------------------------------------------- | ||
| 3 | |||
| 4 | Boards with a SoC of the Marvell 98DX3236, 98DX3336 and 98DX4251 families | ||
| 5 | shall have the following property: | ||
| 6 | |||
| 7 | Required root node property: | ||
| 8 | |||
| 9 | compatible: must contain "marvell,armadaxp-98dx3236" | ||
| 10 | |||
| 11 | In addition, boards using the Marvell 98DX3336 SoC shall have the | ||
| 12 | following property: | ||
| 13 | |||
| 14 | Required root node property: | ||
| 15 | |||
| 16 | compatible: must contain "marvell,armadaxp-98dx3336" | ||
| 17 | |||
| 18 | In addition, boards using the Marvell 98DX4251 SoC shall have the | ||
| 19 | following property: | ||
| 20 | |||
| 21 | Required root node property: | ||
| 22 | |||
| 23 | compatible: must contain "marvell,armadaxp-98dx4251" | ||
diff --git a/Documentation/devicetree/bindings/arm/omap/omap.txt b/Documentation/devicetree/bindings/arm/omap/omap.txt index 05f95c3ed7d4..8219b2c6bb29 100644 --- a/Documentation/devicetree/bindings/arm/omap/omap.txt +++ b/Documentation/devicetree/bindings/arm/omap/omap.txt | |||
| @@ -151,6 +151,9 @@ Boards: | |||
| 151 | - AM335X SBC-T335 : single board computer, built around the Sitara AM3352/4 | 151 | - AM335X SBC-T335 : single board computer, built around the Sitara AM3352/4 |
| 152 | compatible = "compulab,sbc-t335", "compulab,cm-t335", "ti,am33xx" | 152 | compatible = "compulab,sbc-t335", "compulab,cm-t335", "ti,am33xx" |
| 153 | 153 | ||
| 154 | - AM335X phyCORE-AM335x: Development kit | ||
| 155 | compatible = "phytec,am335x-pcm-953", "phytec,am335x-phycore-som", "ti,am33xx" | ||
| 156 | |||
| 154 | - OMAP5 EVM : Evaluation Module | 157 | - OMAP5 EVM : Evaluation Module |
| 155 | compatible = "ti,omap5-evm", "ti,omap5" | 158 | compatible = "ti,omap5-evm", "ti,omap5" |
| 156 | 159 | ||
diff --git a/Documentation/devicetree/bindings/arm/shmobile.txt b/Documentation/devicetree/bindings/arm/shmobile.txt index 253bf9b86690..c9502634316d 100644 --- a/Documentation/devicetree/bindings/arm/shmobile.txt +++ b/Documentation/devicetree/bindings/arm/shmobile.txt | |||
| @@ -75,7 +75,7 @@ Boards: | |||
| 75 | compatible = "renesas,rskrza1", "renesas,r7s72100" | 75 | compatible = "renesas,rskrza1", "renesas,r7s72100" |
| 76 | - Salvator-X (RTP0RC7795SIPB0010S) | 76 | - Salvator-X (RTP0RC7795SIPB0010S) |
| 77 | compatible = "renesas,salvator-x", "renesas,r8a7795"; | 77 | compatible = "renesas,salvator-x", "renesas,r8a7795"; |
| 78 | - Salvator-X | 78 | - Salvator-X (RTP0RC7796SIPB0011S) |
| 79 | compatible = "renesas,salvator-x", "renesas,r8a7796"; | 79 | compatible = "renesas,salvator-x", "renesas,r8a7796"; |
| 80 | - SILK (RTP0RC7794LCB00011S) | 80 | - SILK (RTP0RC7794LCB00011S) |
| 81 | compatible = "renesas,silk", "renesas,r8a7794" | 81 | compatible = "renesas,silk", "renesas,r8a7794" |
diff --git a/Documentation/devicetree/bindings/arm/sunxi.txt b/Documentation/devicetree/bindings/arm/sunxi.txt index 4d6467cc2aa2..d2c46449b4eb 100644 --- a/Documentation/devicetree/bindings/arm/sunxi.txt +++ b/Documentation/devicetree/bindings/arm/sunxi.txt | |||
| @@ -12,6 +12,7 @@ using one of the following compatible strings: | |||
| 12 | allwinner,sun8i-a23 | 12 | allwinner,sun8i-a23 |
| 13 | allwinner,sun8i-a33 | 13 | allwinner,sun8i-a33 |
| 14 | allwinner,sun8i-a83t | 14 | allwinner,sun8i-a83t |
| 15 | allwinner,sun8i-h2-plus | ||
| 15 | allwinner,sun8i-h3 | 16 | allwinner,sun8i-h3 |
| 16 | allwinner,sun9i-a80 | 17 | allwinner,sun9i-a80 |
| 17 | allwinner,sun50i-a64 | 18 | allwinner,sun50i-a64 |
diff --git a/Documentation/devicetree/bindings/ata/ahci-da850.txt b/Documentation/devicetree/bindings/ata/ahci-da850.txt new file mode 100644 index 000000000000..5f8193417725 --- /dev/null +++ b/Documentation/devicetree/bindings/ata/ahci-da850.txt | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | Device tree binding for the TI DA850 AHCI SATA Controller | ||
| 2 | --------------------------------------------------------- | ||
| 3 | |||
| 4 | Required properties: | ||
| 5 | - compatible: must be "ti,da850-ahci" | ||
| 6 | - reg: physical base addresses and sizes of the two register regions | ||
| 7 | used by the controller: the register map as defined by the | ||
| 8 | AHCI 1.1 standard and the Power Down Control Register (PWRDN) | ||
| 9 | for enabling/disabling the SATA clock receiver | ||
| 10 | - interrupts: interrupt specifier (refer to the interrupt binding) | ||
| 11 | |||
| 12 | Example: | ||
| 13 | |||
| 14 | sata: sata@218000 { | ||
| 15 | compatible = "ti,da850-ahci"; | ||
| 16 | reg = <0x218000 0x2000>, <0x22c018 0x4>; | ||
| 17 | interrupts = <67>; | ||
| 18 | }; | ||
diff --git a/Documentation/devicetree/bindings/bus/qcom,ebi2.txt b/Documentation/devicetree/bindings/bus/qcom,ebi2.txt index 920681f552db..5a7d567f6833 100644 --- a/Documentation/devicetree/bindings/bus/qcom,ebi2.txt +++ b/Documentation/devicetree/bindings/bus/qcom,ebi2.txt | |||
| @@ -51,7 +51,7 @@ Required properties: | |||
| 51 | - compatible: should be one of: | 51 | - compatible: should be one of: |
| 52 | "qcom,msm8660-ebi2" | 52 | "qcom,msm8660-ebi2" |
| 53 | "qcom,apq8060-ebi2" | 53 | "qcom,apq8060-ebi2" |
| 54 | - #address-cells: shoule be <2>: the first cell is the chipselect, | 54 | - #address-cells: should be <2>: the first cell is the chipselect, |
| 55 | the second cell is the offset inside the memory range | 55 | the second cell is the offset inside the memory range |
| 56 | - #size-cells: should be <1> | 56 | - #size-cells: should be <1> |
| 57 | - ranges: should be set to: | 57 | - ranges: should be set to: |
| @@ -64,7 +64,7 @@ Required properties: | |||
| 64 | - reg: two ranges of registers: EBI2 config and XMEM config areas | 64 | - reg: two ranges of registers: EBI2 config and XMEM config areas |
| 65 | - reg-names: should be "ebi2", "xmem" | 65 | - reg-names: should be "ebi2", "xmem" |
| 66 | - clocks: two clocks, EBI_2X and EBI | 66 | - clocks: two clocks, EBI_2X and EBI |
| 67 | - clock-names: shoule be "ebi2x", "ebi2" | 67 | - clock-names: should be "ebi2x", "ebi2" |
| 68 | 68 | ||
| 69 | Optional subnodes: | 69 | Optional subnodes: |
| 70 | - Nodes inside the EBI2 will be considered device nodes. | 70 | - Nodes inside the EBI2 will be considered device nodes. |
| @@ -100,7 +100,7 @@ Optional properties arrays for FAST chip selects: | |||
| 100 | assertion, with respect to the cycle where ADV (address valid) is asserted. | 100 | assertion, with respect to the cycle where ADV (address valid) is asserted. |
| 101 | 2 means 2 cycles between ADV and OE. Valid values 0, 1, 2 or 3. | 101 | 2 means 2 cycles between ADV and OE. Valid values 0, 1, 2 or 3. |
| 102 | - qcom,xmem-read-hold-cycles: the length in cycles of the first segment of a | 102 | - qcom,xmem-read-hold-cycles: the length in cycles of the first segment of a |
| 103 | read transfer. For a single read trandfer this will be the time from CS | 103 | read transfer. For a single read transfer this will be the time from CS |
| 104 | assertion to OE assertion. Valid values 0 thru 15. | 104 | assertion to OE assertion. Valid values 0 thru 15. |
| 105 | 105 | ||
| 106 | 106 | ||
diff --git a/Documentation/devicetree/bindings/clock/brcm,bcm2835-cprman.txt b/Documentation/devicetree/bindings/clock/brcm,bcm2835-cprman.txt index e56a1df3a9d3..dd906db34b32 100644 --- a/Documentation/devicetree/bindings/clock/brcm,bcm2835-cprman.txt +++ b/Documentation/devicetree/bindings/clock/brcm,bcm2835-cprman.txt | |||
| @@ -16,7 +16,20 @@ Required properties: | |||
| 16 | - #clock-cells: Should be <1>. The permitted clock-specifier values can be | 16 | - #clock-cells: Should be <1>. The permitted clock-specifier values can be |
| 17 | found in include/dt-bindings/clock/bcm2835.h | 17 | found in include/dt-bindings/clock/bcm2835.h |
| 18 | - reg: Specifies base physical address and size of the registers | 18 | - reg: Specifies base physical address and size of the registers |
| 19 | - clocks: The external oscillator clock phandle | 19 | - clocks: phandles to the parent clocks used as input to the module, in |
| 20 | the following order: | ||
| 21 | |||
| 22 | - External oscillator | ||
| 23 | - DSI0 byte clock | ||
| 24 | - DSI0 DDR2 clock | ||
| 25 | - DSI0 DDR clock | ||
| 26 | - DSI1 byte clock | ||
| 27 | - DSI1 DDR2 clock | ||
| 28 | - DSI1 DDR clock | ||
| 29 | |||
| 30 | Only external oscillator is required. The DSI clocks may | ||
| 31 | not be present, in which case their children will be | ||
| 32 | unusable. | ||
| 20 | 33 | ||
| 21 | Example: | 34 | Example: |
| 22 | 35 | ||
diff --git a/Documentation/devicetree/bindings/clock/exynos4415-clock.txt b/Documentation/devicetree/bindings/clock/exynos4415-clock.txt deleted file mode 100644 index 847d98bae8cf..000000000000 --- a/Documentation/devicetree/bindings/clock/exynos4415-clock.txt +++ /dev/null | |||
| @@ -1,38 +0,0 @@ | |||
| 1 | * Samsung Exynos4415 Clock Controller | ||
| 2 | |||
| 3 | The Exynos4415 clock controller generates and supplies clock to various | ||
| 4 | consumer devices within the Exynos4415 SoC. | ||
| 5 | |||
| 6 | Required properties: | ||
| 7 | |||
| 8 | - compatible: should be one of the following: | ||
| 9 | - "samsung,exynos4415-cmu" - for the main system clocks controller | ||
| 10 | (CMU_LEFTBUS, CMU_RIGHTBUS, CMU_TOP, CMU_CPU clock domains). | ||
| 11 | - "samsung,exynos4415-cmu-dmc" - for the Exynos4415 SoC DRAM Memory | ||
| 12 | Controller (DMC) domain clock controller. | ||
| 13 | |||
| 14 | - reg: physical base address of the controller and length of memory mapped | ||
| 15 | region. | ||
| 16 | |||
| 17 | - #clock-cells: should be 1. | ||
| 18 | |||
| 19 | Each clock is assigned an identifier and client nodes can use this identifier | ||
| 20 | to specify the clock which they consume. | ||
| 21 | |||
| 22 | All available clocks are defined as preprocessor macros in | ||
| 23 | dt-bindings/clock/exynos4415.h header and can be used in device | ||
| 24 | tree sources. | ||
| 25 | |||
| 26 | Example 1: An example of a clock controller node is listed below. | ||
| 27 | |||
| 28 | cmu: clock-controller@10030000 { | ||
| 29 | compatible = "samsung,exynos4415-cmu"; | ||
| 30 | reg = <0x10030000 0x18000>; | ||
| 31 | #clock-cells = <1>; | ||
| 32 | }; | ||
| 33 | |||
| 34 | cmu-dmc: clock-controller@105C0000 { | ||
| 35 | compatible = "samsung,exynos4415-cmu-dmc"; | ||
| 36 | reg = <0x105C0000 0x3000>; | ||
| 37 | #clock-cells = <1>; | ||
| 38 | }; | ||
diff --git a/Documentation/devicetree/bindings/clock/hi3660-clock.txt b/Documentation/devicetree/bindings/clock/hi3660-clock.txt new file mode 100644 index 000000000000..cc9b86c35758 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/hi3660-clock.txt | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | * Hisilicon Hi3660 Clock Controller | ||
| 2 | |||
| 3 | The Hi3660 clock controller generates and supplies clock to various | ||
| 4 | controllers within the Hi3660 SoC. | ||
| 5 | |||
| 6 | Required Properties: | ||
| 7 | |||
| 8 | - compatible: the compatible should be one of the following strings to | ||
| 9 | indicate the clock controller functionality. | ||
| 10 | |||
| 11 | - "hisilicon,hi3660-crgctrl" | ||
| 12 | - "hisilicon,hi3660-pctrl" | ||
| 13 | - "hisilicon,hi3660-pmuctrl" | ||
| 14 | - "hisilicon,hi3660-sctrl" | ||
| 15 | - "hisilicon,hi3660-iomcu" | ||
| 16 | |||
| 17 | - reg: physical base address of the controller and length of memory mapped | ||
| 18 | region. | ||
| 19 | |||
| 20 | - #clock-cells: should be 1. | ||
| 21 | |||
| 22 | Each clock is assigned an identifier and client nodes use this identifier | ||
| 23 | to specify the clock which they consume. | ||
| 24 | |||
| 25 | All these identifier could be found in <dt-bindings/clock/hi3660-clock.h>. | ||
| 26 | |||
| 27 | Examples: | ||
| 28 | crg_ctrl: clock-controller@fff35000 { | ||
| 29 | compatible = "hisilicon,hi3660-crgctrl", "syscon"; | ||
| 30 | reg = <0x0 0xfff35000 0x0 0x1000>; | ||
| 31 | #clock-cells = <1>; | ||
| 32 | }; | ||
| 33 | |||
| 34 | uart0: serial@fdf02000 { | ||
| 35 | compatible = "arm,pl011", "arm,primecell"; | ||
| 36 | reg = <0x0 0xfdf02000 0x0 0x1000>; | ||
| 37 | interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; | ||
| 38 | clocks = <&crg_ctrl HI3660_CLK_MUX_UART0>, | ||
| 39 | <&crg_ctrl HI3660_PCLK>; | ||
| 40 | clock-names = "uartclk", "apb_pclk"; | ||
| 41 | status = "disabled"; | ||
| 42 | }; | ||
diff --git a/Documentation/devicetree/bindings/clock/idt,versaclock5.txt b/Documentation/devicetree/bindings/clock/idt,versaclock5.txt new file mode 100644 index 000000000000..87e9c47a89a3 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/idt,versaclock5.txt | |||
| @@ -0,0 +1,65 @@ | |||
| 1 | Binding for IDT VersaClock5 programmable i2c clock generator. | ||
| 2 | |||
| 3 | The IDT VersaClock5 are programmable i2c clock generators providing | ||
| 4 | from 3 to 12 output clocks. | ||
| 5 | |||
| 6 | ==I2C device node== | ||
| 7 | |||
| 8 | Required properties: | ||
| 9 | - compatible: shall be one of "idt,5p49v5923" , "idt,5p49v5933". | ||
| 10 | - reg: i2c device address, shall be 0x68 or 0x6a. | ||
| 11 | - #clock-cells: from common clock binding; shall be set to 1. | ||
| 12 | - clocks: from common clock binding; list of parent clock handles, | ||
| 13 | - 5p49v5923: (required) either or both of XTAL or CLKIN | ||
| 14 | reference clock. | ||
| 15 | - 5p49v5933: (optional) property not present (internal | ||
| 16 | Xtal used) or CLKIN reference | ||
| 17 | clock. | ||
| 18 | - clock-names: from common clock binding; clock input names, can be | ||
| 19 | - 5p49v5923: (required) either or both of "xin", "clkin". | ||
| 20 | - 5p49v5933: (optional) property not present or "clkin". | ||
| 21 | |||
| 22 | ==Mapping between clock specifier and physical pins== | ||
| 23 | |||
| 24 | When referencing the provided clock in the DT using phandle and | ||
| 25 | clock specifier, the following mapping applies: | ||
| 26 | |||
| 27 | 5P49V5923: | ||
| 28 | 0 -- OUT0_SEL_I2CB | ||
| 29 | 1 -- OUT1 | ||
| 30 | 2 -- OUT2 | ||
| 31 | |||
| 32 | 5P49V5933: | ||
| 33 | 0 -- OUT0_SEL_I2CB | ||
| 34 | 1 -- OUT1 | ||
| 35 | 2 -- OUT4 | ||
| 36 | |||
| 37 | ==Example== | ||
| 38 | |||
| 39 | /* 25MHz reference crystal */ | ||
| 40 | ref25: ref25m { | ||
| 41 | compatible = "fixed-clock"; | ||
| 42 | #clock-cells = <0>; | ||
| 43 | clock-frequency = <25000000>; | ||
| 44 | }; | ||
| 45 | |||
| 46 | i2c-master-node { | ||
| 47 | |||
| 48 | /* IDT 5P49V5923 i2c clock generator */ | ||
| 49 | vc5: clock-generator@6a { | ||
| 50 | compatible = "idt,5p49v5923"; | ||
| 51 | reg = <0x6a>; | ||
| 52 | #clock-cells = <1>; | ||
| 53 | |||
| 54 | /* Connect XIN input to 25MHz reference */ | ||
| 55 | clocks = <&ref25m>; | ||
| 56 | clock-names = "xin"; | ||
| 57 | }; | ||
| 58 | }; | ||
| 59 | |||
| 60 | /* Consumer referencing the 5P49V5923 pin OUT1 */ | ||
| 61 | consumer { | ||
| 62 | ... | ||
| 63 | clocks = <&vc5 1>; | ||
| 64 | ... | ||
| 65 | } | ||
diff --git a/Documentation/devicetree/bindings/clock/mvebu-corediv-clock.txt b/Documentation/devicetree/bindings/clock/mvebu-corediv-clock.txt index 520562a7dc2a..c7b4e3a6b2c6 100644 --- a/Documentation/devicetree/bindings/clock/mvebu-corediv-clock.txt +++ b/Documentation/devicetree/bindings/clock/mvebu-corediv-clock.txt | |||
| @@ -7,6 +7,7 @@ Required properties: | |||
| 7 | - compatible : must be "marvell,armada-370-corediv-clock", | 7 | - compatible : must be "marvell,armada-370-corediv-clock", |
| 8 | "marvell,armada-375-corediv-clock", | 8 | "marvell,armada-375-corediv-clock", |
| 9 | "marvell,armada-380-corediv-clock", | 9 | "marvell,armada-380-corediv-clock", |
| 10 | "marvell,mv98dx3236-corediv-clock", | ||
| 10 | 11 | ||
| 11 | - reg : must be the register address of Core Divider control register | 12 | - reg : must be the register address of Core Divider control register |
| 12 | - #clock-cells : from common clock binding; shall be set to 1 | 13 | - #clock-cells : from common clock binding; shall be set to 1 |
diff --git a/Documentation/devicetree/bindings/clock/mvebu-cpu-clock.txt b/Documentation/devicetree/bindings/clock/mvebu-cpu-clock.txt index 99c214660bdc..7f28506eaee7 100644 --- a/Documentation/devicetree/bindings/clock/mvebu-cpu-clock.txt +++ b/Documentation/devicetree/bindings/clock/mvebu-cpu-clock.txt | |||
| @@ -3,6 +3,7 @@ Device Tree Clock bindings for cpu clock of Marvell EBU platforms | |||
| 3 | Required properties: | 3 | Required properties: |
| 4 | - compatible : shall be one of the following: | 4 | - compatible : shall be one of the following: |
| 5 | "marvell,armada-xp-cpu-clock" - cpu clocks for Armada XP | 5 | "marvell,armada-xp-cpu-clock" - cpu clocks for Armada XP |
| 6 | "marvell,mv98dx3236-cpu-clock" - cpu clocks for 98DX3236 SoC | ||
| 6 | - reg : Address and length of the clock complex register set, followed | 7 | - reg : Address and length of the clock complex register set, followed |
| 7 | by address and length of the PMU DFS registers | 8 | by address and length of the PMU DFS registers |
| 8 | - #clock-cells : should be set to 1. | 9 | - #clock-cells : should be set to 1. |
diff --git a/Documentation/devicetree/bindings/clock/mvebu-gated-clock.txt b/Documentation/devicetree/bindings/clock/mvebu-gated-clock.txt index cb8542d910b3..5142efc8099d 100644 --- a/Documentation/devicetree/bindings/clock/mvebu-gated-clock.txt +++ b/Documentation/devicetree/bindings/clock/mvebu-gated-clock.txt | |||
| @@ -117,7 +117,7 @@ ID Clock Peripheral | |||
| 117 | 25 tdm Time Division Mplx | 117 | 25 tdm Time Division Mplx |
| 118 | 28 xor1 XOR DMA 1 | 118 | 28 xor1 XOR DMA 1 |
| 119 | 29 sata1lnk | 119 | 29 sata1lnk |
| 120 | 30 sata1 SATA Host 0 | 120 | 30 sata1 SATA Host 1 |
| 121 | 121 | ||
| 122 | The following is a list of provided IDs for Dove: | 122 | The following is a list of provided IDs for Dove: |
| 123 | ID Clock Peripheral | 123 | ID Clock Peripheral |
diff --git a/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt b/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt index 87d3714b956a..a7235e9e1c97 100644 --- a/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt +++ b/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt | |||
| @@ -11,6 +11,7 @@ Required properties : | |||
| 11 | compatible "qcom,rpmcc" should be also included. | 11 | compatible "qcom,rpmcc" should be also included. |
| 12 | 12 | ||
| 13 | "qcom,rpmcc-msm8916", "qcom,rpmcc" | 13 | "qcom,rpmcc-msm8916", "qcom,rpmcc" |
| 14 | "qcom,rpmcc-msm8974", "qcom,rpmcc" | ||
| 14 | "qcom,rpmcc-apq8064", "qcom,rpmcc" | 15 | "qcom,rpmcc-apq8064", "qcom,rpmcc" |
| 15 | 16 | ||
| 16 | - #clock-cells : shall contain 1 | 17 | - #clock-cells : shall contain 1 |
diff --git a/Documentation/devicetree/bindings/clock/qoriq-clock.txt b/Documentation/devicetree/bindings/clock/qoriq-clock.txt index df9cb5ac5f72..aa3526f229a7 100644 --- a/Documentation/devicetree/bindings/clock/qoriq-clock.txt +++ b/Documentation/devicetree/bindings/clock/qoriq-clock.txt | |||
| @@ -31,6 +31,7 @@ Required properties: | |||
| 31 | * "fsl,t4240-clockgen" | 31 | * "fsl,t4240-clockgen" |
| 32 | * "fsl,b4420-clockgen" | 32 | * "fsl,b4420-clockgen" |
| 33 | * "fsl,b4860-clockgen" | 33 | * "fsl,b4860-clockgen" |
| 34 | * "fsl,ls1012a-clockgen" | ||
| 34 | * "fsl,ls1021a-clockgen" | 35 | * "fsl,ls1021a-clockgen" |
| 35 | * "fsl,ls1043a-clockgen" | 36 | * "fsl,ls1043a-clockgen" |
| 36 | * "fsl,ls1046a-clockgen" | 37 | * "fsl,ls1046a-clockgen" |
diff --git a/Documentation/devicetree/bindings/clock/renesas,cpg-mssr.txt b/Documentation/devicetree/bindings/clock/renesas,cpg-mssr.txt index c46919412953..f4f944d81308 100644 --- a/Documentation/devicetree/bindings/clock/renesas,cpg-mssr.txt +++ b/Documentation/devicetree/bindings/clock/renesas,cpg-mssr.txt | |||
| @@ -42,6 +42,10 @@ Required Properties: | |||
| 42 | Domain bindings in | 42 | Domain bindings in |
| 43 | Documentation/devicetree/bindings/power/power_domain.txt. | 43 | Documentation/devicetree/bindings/power/power_domain.txt. |
| 44 | 44 | ||
| 45 | - #reset-cells: Must be 1 | ||
| 46 | - The single reset specifier cell must be the module number, as defined | ||
| 47 | in the datasheet. | ||
| 48 | |||
| 45 | 49 | ||
| 46 | Examples | 50 | Examples |
| 47 | -------- | 51 | -------- |
| @@ -55,6 +59,7 @@ Examples | |||
| 55 | clock-names = "extal", "extalr"; | 59 | clock-names = "extal", "extalr"; |
| 56 | #clock-cells = <2>; | 60 | #clock-cells = <2>; |
| 57 | #power-domain-cells = <0>; | 61 | #power-domain-cells = <0>; |
| 62 | #reset-cells = <1>; | ||
| 58 | }; | 63 | }; |
| 59 | 64 | ||
| 60 | 65 | ||
| @@ -69,5 +74,6 @@ Examples | |||
| 69 | dmas = <&dmac1 0x13>, <&dmac1 0x12>; | 74 | dmas = <&dmac1 0x13>, <&dmac1 0x12>; |
| 70 | dma-names = "tx", "rx"; | 75 | dma-names = "tx", "rx"; |
| 71 | power-domains = <&cpg>; | 76 | power-domains = <&cpg>; |
| 77 | resets = <&cpg 310>; | ||
| 72 | status = "disabled"; | 78 | status = "disabled"; |
| 73 | }; | 79 | }; |
diff --git a/Documentation/devicetree/bindings/clock/rockchip,rk3328-cru.txt b/Documentation/devicetree/bindings/clock/rockchip,rk3328-cru.txt new file mode 100644 index 000000000000..e71c675ba5da --- /dev/null +++ b/Documentation/devicetree/bindings/clock/rockchip,rk3328-cru.txt | |||
| @@ -0,0 +1,57 @@ | |||
| 1 | * Rockchip RK3328 Clock and Reset Unit | ||
| 2 | |||
| 3 | The RK3328 clock controller generates and supplies clock to various | ||
| 4 | controllers within the SoC and also implements a reset controller for SoC | ||
| 5 | peripherals. | ||
| 6 | |||
| 7 | Required Properties: | ||
| 8 | |||
| 9 | - compatible: should be "rockchip,rk3328-cru" | ||
| 10 | - reg: physical base address of the controller and length of memory mapped | ||
| 11 | region. | ||
| 12 | - #clock-cells: should be 1. | ||
| 13 | - #reset-cells: should be 1. | ||
| 14 | |||
| 15 | Optional Properties: | ||
| 16 | |||
| 17 | - rockchip,grf: phandle to the syscon managing the "general register files" | ||
| 18 | If missing pll rates are not changeable, due to the missing pll lock status. | ||
| 19 | |||
| 20 | Each clock is assigned an identifier and client nodes can use this identifier | ||
| 21 | to specify the clock which they consume. All available clocks are defined as | ||
| 22 | preprocessor macros in the dt-bindings/clock/rk3328-cru.h headers and can be | ||
| 23 | used in device tree sources. Similar macros exist for the reset sources in | ||
| 24 | these files. | ||
| 25 | |||
| 26 | External clocks: | ||
| 27 | |||
| 28 | There are several clocks that are generated outside the SoC. It is expected | ||
| 29 | that they are defined using standard clock bindings with following | ||
| 30 | clock-output-names: | ||
| 31 | - "xin24m" - crystal input - required, | ||
| 32 | - "clkin_i2s" - external I2S clock - optional, | ||
| 33 | - "gmac_clkin" - external GMAC clock - optional | ||
| 34 | - "phy_50m_out" - output clock of the pll in the mac phy | ||
| 35 | |||
| 36 | Example: Clock controller node: | ||
| 37 | |||
| 38 | cru: clock-controller@ff440000 { | ||
| 39 | compatible = "rockchip,rk3328-cru"; | ||
| 40 | reg = <0x0 0xff440000 0x0 0x1000>; | ||
| 41 | rockchip,grf = <&grf>; | ||
| 42 | |||
| 43 | #clock-cells = <1>; | ||
| 44 | #reset-cells = <1>; | ||
| 45 | }; | ||
| 46 | |||
| 47 | Example: UART controller node that consumes the clock generated by the clock | ||
| 48 | controller: | ||
| 49 | |||
| 50 | uart0: serial@ff120000 { | ||
| 51 | compatible = "snps,dw-apb-uart"; | ||
| 52 | reg = <0xff120000 0x100>; | ||
| 53 | interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; | ||
| 54 | reg-shift = <2>; | ||
| 55 | reg-io-width = <4>; | ||
| 56 | clocks = <&cru SCLK_UART0>; | ||
| 57 | }; | ||
diff --git a/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.txt b/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.txt index 3888dd33fcbd..3bc56fae90ac 100644 --- a/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.txt +++ b/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.txt | |||
| @@ -13,6 +13,12 @@ Required Properties: | |||
| 13 | - #clock-cells: should be 1. | 13 | - #clock-cells: should be 1. |
| 14 | - #reset-cells: should be 1. | 14 | - #reset-cells: should be 1. |
| 15 | 15 | ||
| 16 | Optional Properties: | ||
| 17 | |||
| 18 | - rockchip,grf: phandle to the syscon managing the "general register files". | ||
| 19 | It is used for GRF muxes, if missing any muxes present in the GRF will not | ||
| 20 | be available. | ||
| 21 | |||
| 16 | Each clock is assigned an identifier and client nodes can use this identifier | 22 | Each clock is assigned an identifier and client nodes can use this identifier |
| 17 | to specify the clock which they consume. All available clocks are defined as | 23 | to specify the clock which they consume. All available clocks are defined as |
| 18 | preprocessor macros in the dt-bindings/clock/rk3399-cru.h headers and can be | 24 | preprocessor macros in the dt-bindings/clock/rk3399-cru.h headers and can be |
diff --git a/Documentation/devicetree/bindings/clock/st,stm32-rcc.txt b/Documentation/devicetree/bindings/clock/st,stm32-rcc.txt index 0532d815dae3..b240121d2ac9 100644 --- a/Documentation/devicetree/bindings/clock/st,stm32-rcc.txt +++ b/Documentation/devicetree/bindings/clock/st,stm32-rcc.txt | |||
| @@ -10,6 +10,7 @@ Required properties: | |||
| 10 | - compatible: Should be: | 10 | - compatible: Should be: |
| 11 | "st,stm32f42xx-rcc" | 11 | "st,stm32f42xx-rcc" |
| 12 | "st,stm32f469-rcc" | 12 | "st,stm32f469-rcc" |
| 13 | "st,stm32f746-rcc" | ||
| 13 | - reg: should be register base and length as documented in the | 14 | - reg: should be register base and length as documented in the |
| 14 | datasheet | 15 | datasheet |
| 15 | - #reset-cells: 1, see below | 16 | - #reset-cells: 1, see below |
| @@ -17,6 +18,9 @@ Required properties: | |||
| 17 | property, containing a phandle to the clock device node, an index selecting | 18 | property, containing a phandle to the clock device node, an index selecting |
| 18 | between gated clocks and other clocks and an index specifying the clock to | 19 | between gated clocks and other clocks and an index specifying the clock to |
| 19 | use. | 20 | use. |
| 21 | - clocks: External oscillator clock phandle | ||
| 22 | - high speed external clock signal (HSE) | ||
| 23 | - external I2S clock (I2S_CKIN) | ||
| 20 | 24 | ||
| 21 | Example: | 25 | Example: |
| 22 | 26 | ||
| @@ -25,6 +29,7 @@ Example: | |||
| 25 | #clock-cells = <2> | 29 | #clock-cells = <2> |
| 26 | compatible = "st,stm32f42xx-rcc", "st,stm32-rcc"; | 30 | compatible = "st,stm32f42xx-rcc", "st,stm32-rcc"; |
| 27 | reg = <0x40023800 0x400>; | 31 | reg = <0x40023800 0x400>; |
| 32 | clocks = <&clk_hse>, <&clk_i2s_ckin>; | ||
| 28 | }; | 33 | }; |
| 29 | 34 | ||
| 30 | Specifying gated clocks | 35 | Specifying gated clocks |
| @@ -66,6 +71,38 @@ The secondary index is bound with the following magic numbers: | |||
| 66 | 71 | ||
| 67 | 0 SYSTICK | 72 | 0 SYSTICK |
| 68 | 1 FCLK | 73 | 1 FCLK |
| 74 | 2 CLK_LSI (low-power clock source) | ||
| 75 | 3 CLK_LSE (generated from a 32.768 kHz low-speed external | ||
| 76 | crystal or ceramic resonator) | ||
| 77 | 4 CLK_HSE_RTC (HSE division factor for RTC clock) | ||
| 78 | 5 CLK_RTC (real-time clock) | ||
| 79 | 6 PLL_VCO_I2S (vco frequency of I2S pll) | ||
| 80 | 7 PLL_VCO_SAI (vco frequency of SAI pll) | ||
| 81 | 8 CLK_LCD (LCD-TFT) | ||
| 82 | 9 CLK_I2S (I2S clocks) | ||
| 83 | 10 CLK_SAI1 (audio clocks) | ||
| 84 | 11 CLK_SAI2 | ||
| 85 | 12 CLK_I2SQ_PDIV (post divisor of pll i2s q divisor) | ||
| 86 | 13 CLK_SAIQ_PDIV (post divisor of pll sai q divisor) | ||
| 87 | |||
| 88 | 14 CLK_HSI (Internal ocscillator clock) | ||
| 89 | 15 CLK_SYSCLK (System Clock) | ||
| 90 | 16 CLK_HDMI_CEC (HDMI-CEC clock) | ||
| 91 | 17 CLK_SPDIF (SPDIF-Rx clock) | ||
| 92 | 18 CLK_USART1 (U(s)arts clocks) | ||
| 93 | 19 CLK_USART2 | ||
| 94 | 20 CLK_USART3 | ||
| 95 | 21 CLK_UART4 | ||
| 96 | 22 CLK_UART5 | ||
| 97 | 23 CLK_USART6 | ||
| 98 | 24 CLK_UART7 | ||
| 99 | 25 CLK_UART8 | ||
| 100 | 26 CLK_I2C1 (I2S clocks) | ||
| 101 | 27 CLK_I2C2 | ||
| 102 | 28 CLK_I2C3 | ||
| 103 | 29 CLK_I2C4 | ||
| 104 | 30 CLK_LPTIMER (LPTimer1 clock) | ||
| 105 | ) | ||
| 69 | 106 | ||
| 70 | Example: | 107 | Example: |
| 71 | 108 | ||
diff --git a/Documentation/devicetree/bindings/clock/stericsson,abx500.txt b/Documentation/devicetree/bindings/clock/stericsson,abx500.txt new file mode 100644 index 000000000000..dbaa886b223e --- /dev/null +++ b/Documentation/devicetree/bindings/clock/stericsson,abx500.txt | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | Clock bindings for ST-Ericsson ABx500 clocks | ||
| 2 | |||
| 3 | Required properties : | ||
| 4 | - compatible : shall contain the following: | ||
| 5 | "stericsson,ab8500-clk" | ||
| 6 | - #clock-cells should be <1> | ||
| 7 | |||
| 8 | The ABx500 clocks need to be placed as a subnode of an AB8500 | ||
| 9 | device node, see mfd/ab8500.txt | ||
| 10 | |||
| 11 | All available clocks are defined as preprocessor macros in | ||
| 12 | dt-bindings/clock/ste-ab8500.h header and can be used in device | ||
| 13 | tree sources. | ||
| 14 | |||
| 15 | Example: | ||
| 16 | |||
| 17 | clock-controller { | ||
| 18 | compatible = "stericsson,ab8500-clk"; | ||
| 19 | #clock-cells = <1>; | ||
| 20 | }; | ||
diff --git a/Documentation/devicetree/bindings/clock/sun9i-de.txt b/Documentation/devicetree/bindings/clock/sun9i-de.txt new file mode 100644 index 000000000000..fb18f327b97a --- /dev/null +++ b/Documentation/devicetree/bindings/clock/sun9i-de.txt | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | Allwinner A80 Display Engine Clock Control Binding | ||
| 2 | -------------------------------------------------- | ||
| 3 | |||
| 4 | Required properties : | ||
| 5 | - compatible: must contain one of the following compatibles: | ||
| 6 | - "allwinner,sun9i-a80-de-clks" | ||
| 7 | |||
| 8 | - reg: Must contain the registers base address and length | ||
| 9 | - clocks: phandle to the clocks feeding the display engine subsystem. | ||
| 10 | Three are needed: | ||
| 11 | - "mod": the display engine module clock | ||
| 12 | - "dram": the DRAM bus clock for the system | ||
| 13 | - "bus": the bus clock for the whole display engine subsystem | ||
| 14 | - clock-names: Must contain the clock names described just above | ||
| 15 | - resets: phandle to the reset control for the display engine subsystem. | ||
| 16 | - #clock-cells : must contain 1 | ||
| 17 | - #reset-cells : must contain 1 | ||
| 18 | |||
| 19 | Example: | ||
| 20 | de_clocks: clock@3000000 { | ||
| 21 | compatible = "allwinner,sun9i-a80-de-clks"; | ||
| 22 | reg = <0x03000000 0x30>; | ||
| 23 | clocks = <&ccu CLK_DE>, <&ccu CLK_SDRAM>, <&ccu CLK_BUS_DE>; | ||
| 24 | clock-names = "mod", "dram", "bus"; | ||
| 25 | resets = <&ccu RST_BUS_DE>; | ||
| 26 | #clock-cells = <1>; | ||
| 27 | #reset-cells = <1>; | ||
| 28 | }; | ||
diff --git a/Documentation/devicetree/bindings/clock/sun9i-usb.txt b/Documentation/devicetree/bindings/clock/sun9i-usb.txt new file mode 100644 index 000000000000..3564bd4f2a20 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/sun9i-usb.txt | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | Allwinner A80 USB Clock Control Binding | ||
| 2 | --------------------------------------- | ||
| 3 | |||
| 4 | Required properties : | ||
| 5 | - compatible: must contain one of the following compatibles: | ||
| 6 | - "allwinner,sun9i-a80-usb-clocks" | ||
| 7 | |||
| 8 | - reg: Must contain the registers base address and length | ||
| 9 | - clocks: phandle to the clocks feeding the USB subsystem. Two are needed: | ||
| 10 | - "bus": the bus clock for the whole USB subsystem | ||
| 11 | - "hosc": the high frequency oscillator (usually at 24MHz) | ||
| 12 | - clock-names: Must contain the clock names described just above | ||
| 13 | - #clock-cells : must contain 1 | ||
| 14 | - #reset-cells : must contain 1 | ||
| 15 | |||
| 16 | Example: | ||
| 17 | usb_clocks: clock@a08000 { | ||
| 18 | compatible = "allwinner,sun9i-a80-usb-clks"; | ||
| 19 | reg = <0x00a08000 0x8>; | ||
| 20 | clocks = <&ccu CLK_BUS_USB>, <&osc24M>; | ||
| 21 | clock-names = "bus", "hosc"; | ||
| 22 | #clock-cells = <1>; | ||
| 23 | #reset-cells = <1>; | ||
| 24 | }; | ||
diff --git a/Documentation/devicetree/bindings/clock/sunxi-ccu.txt b/Documentation/devicetree/bindings/clock/sunxi-ccu.txt index 74d44a4273f2..bae5668cf427 100644 --- a/Documentation/devicetree/bindings/clock/sunxi-ccu.txt +++ b/Documentation/devicetree/bindings/clock/sunxi-ccu.txt | |||
| @@ -7,6 +7,8 @@ Required properties : | |||
| 7 | - "allwinner,sun8i-a23-ccu" | 7 | - "allwinner,sun8i-a23-ccu" |
| 8 | - "allwinner,sun8i-a33-ccu" | 8 | - "allwinner,sun8i-a33-ccu" |
| 9 | - "allwinner,sun8i-h3-ccu" | 9 | - "allwinner,sun8i-h3-ccu" |
| 10 | - "allwinner,sun8i-v3s-ccu" | ||
| 11 | - "allwinner,sun9i-a80-ccu" | ||
| 10 | - "allwinner,sun50i-a64-ccu" | 12 | - "allwinner,sun50i-a64-ccu" |
| 11 | 13 | ||
| 12 | - reg: Must contain the registers base address and length | 14 | - reg: Must contain the registers base address and length |
diff --git a/Documentation/devicetree/bindings/clock/ti,cdce925.txt b/Documentation/devicetree/bindings/clock/ti,cdce925.txt index 4c7669ad681b..0d01f2d5cc36 100644 --- a/Documentation/devicetree/bindings/clock/ti,cdce925.txt +++ b/Documentation/devicetree/bindings/clock/ti,cdce925.txt | |||
| @@ -1,15 +1,22 @@ | |||
| 1 | Binding for TO CDCE925 programmable I2C clock synthesizers. | 1 | Binding for TI CDCE913/925/937/949 programmable I2C clock synthesizers. |
| 2 | 2 | ||
| 3 | Reference | 3 | Reference |
| 4 | This binding uses the common clock binding[1]. | 4 | This binding uses the common clock binding[1]. |
| 5 | 5 | ||
| 6 | [1] Documentation/devicetree/bindings/clock/clock-bindings.txt | 6 | [1] Documentation/devicetree/bindings/clock/clock-bindings.txt |
| 7 | [2] http://www.ti.com/product/cdce925 | 7 | [2] http://www.ti.com/product/cdce913 |
| 8 | [3] http://www.ti.com/product/cdce925 | ||
| 9 | [4] http://www.ti.com/product/cdce937 | ||
| 10 | [5] http://www.ti.com/product/cdce949 | ||
| 8 | 11 | ||
| 9 | The driver provides clock sources for each output Y1 through Y5. | 12 | The driver provides clock sources for each output Y1 through Y5. |
| 10 | 13 | ||
| 11 | Required properties: | 14 | Required properties: |
| 12 | - compatible: Shall be "ti,cdce925" | 15 | - compatible: Shall be one of the following: |
| 16 | - "ti,cdce913": 1-PLL, 3 Outputs | ||
| 17 | - "ti,cdce925": 2-PLL, 5 Outputs | ||
| 18 | - "ti,cdce937": 3-PLL, 7 Outputs | ||
| 19 | - "ti,cdce949": 4-PLL, 9 Outputs | ||
| 13 | - reg: I2C device address. | 20 | - reg: I2C device address. |
| 14 | - clocks: Points to a fixed parent clock that provides the input frequency. | 21 | - clocks: Points to a fixed parent clock that provides the input frequency. |
| 15 | - #clock-cells: From common clock bindings: Shall be 1. | 22 | - #clock-cells: From common clock bindings: Shall be 1. |
| @@ -18,7 +25,7 @@ Optional properties: | |||
| 18 | - xtal-load-pf: Crystal load-capacitor value to fine-tune performance on a | 25 | - xtal-load-pf: Crystal load-capacitor value to fine-tune performance on a |
| 19 | board, or to compensate for external influences. | 26 | board, or to compensate for external influences. |
| 20 | 27 | ||
| 21 | For both PLL1 and PLL2 an optional child node can be used to specify spread | 28 | For all PLL1, PLL2, ... an optional child node can be used to specify spread |
| 22 | spectrum clocking parameters for a board. | 29 | spectrum clocking parameters for a board. |
| 23 | - spread-spectrum: SSC mode as defined in the data sheet. | 30 | - spread-spectrum: SSC mode as defined in the data sheet. |
| 24 | - spread-spectrum-center: Use "centered" mode instead of "max" mode. When | 31 | - spread-spectrum-center: Use "centered" mode instead of "max" mode. When |
diff --git a/Documentation/devicetree/bindings/clock/zx296718-clk.txt b/Documentation/devicetree/bindings/clock/zx296718-clk.txt index 8c18b7b237bf..4ad703808407 100644 --- a/Documentation/devicetree/bindings/clock/zx296718-clk.txt +++ b/Documentation/devicetree/bindings/clock/zx296718-clk.txt | |||
| @@ -13,6 +13,9 @@ Required properties: | |||
| 13 | "zte,zx296718-lsp1crm": | 13 | "zte,zx296718-lsp1crm": |
| 14 | zx296718 device level clock selection and gating | 14 | zx296718 device level clock selection and gating |
| 15 | 15 | ||
| 16 | "zte,zx296718-audiocrm": | ||
| 17 | zx296718 audio clock selection, divider and gating | ||
| 18 | |||
| 16 | - reg: Address and length of the register set | 19 | - reg: Address and length of the register set |
| 17 | 20 | ||
| 18 | The clock consumer should specify the desired clock by having the clock | 21 | The clock consumer should specify the desired clock by having the clock |
diff --git a/Documentation/devicetree/bindings/crypto/brcm,spu-crypto.txt b/Documentation/devicetree/bindings/crypto/brcm,spu-crypto.txt new file mode 100644 index 000000000000..29b6007568eb --- /dev/null +++ b/Documentation/devicetree/bindings/crypto/brcm,spu-crypto.txt | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | The Broadcom Secure Processing Unit (SPU) hardware supports symmetric | ||
| 2 | cryptographic offload for Broadcom SoCs. A SoC may have multiple SPU hardware | ||
| 3 | blocks. | ||
| 4 | |||
| 5 | Required properties: | ||
| 6 | - compatible: Should be one of the following: | ||
| 7 | brcm,spum-crypto - for devices with SPU-M hardware | ||
| 8 | brcm,spu2-crypto - for devices with SPU2 hardware | ||
| 9 | brcm,spu2-v2-crypto - for devices with enhanced SPU2 hardware features like SHA3 | ||
| 10 | and Rabin Fingerprint support | ||
| 11 | brcm,spum-nsp-crypto - for the Northstar Plus variant of the SPU-M hardware | ||
| 12 | |||
| 13 | - reg: Should contain SPU registers location and length. | ||
| 14 | - mboxes: The mailbox channel to be used to communicate with the SPU. | ||
| 15 | Mailbox channels correspond to DMA rings on the device. | ||
| 16 | |||
| 17 | Example: | ||
| 18 | crypto@612d0000 { | ||
| 19 | compatible = "brcm,spum-crypto"; | ||
| 20 | reg = <0 0x612d0000 0 0x900>; | ||
| 21 | mboxes = <&pdc0 0>; | ||
| 22 | }; | ||
diff --git a/Documentation/devicetree/bindings/crypto/mediatek-crypto.txt b/Documentation/devicetree/bindings/crypto/mediatek-crypto.txt new file mode 100644 index 000000000000..c204725e5873 --- /dev/null +++ b/Documentation/devicetree/bindings/crypto/mediatek-crypto.txt | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | MediaTek cryptographic accelerators | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: Should be "mediatek,eip97-crypto" | ||
| 5 | - reg: Address and length of the register set for the device | ||
| 6 | - interrupts: Should contain the five crypto engines interrupts in numeric | ||
| 7 | order. These are global system and four descriptor rings. | ||
| 8 | - clocks: the clock used by the core | ||
| 9 | - clock-names: the names of the clock listed in the clocks property. These are | ||
| 10 | "ethif", "cryp" | ||
| 11 | - power-domains: Must contain a reference to the PM domain. | ||
| 12 | |||
| 13 | |||
| 14 | Example: | ||
| 15 | crypto: crypto@1b240000 { | ||
| 16 | compatible = "mediatek,eip97-crypto"; | ||
| 17 | reg = <0 0x1b240000 0 0x20000>; | ||
| 18 | interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_LOW>, | ||
| 19 | <GIC_SPI 83 IRQ_TYPE_LEVEL_LOW>, | ||
| 20 | <GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>, | ||
| 21 | <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>, | ||
| 22 | <GIC_SPI 97 IRQ_TYPE_LEVEL_LOW>; | ||
| 23 | clocks = <&topckgen CLK_TOP_ETHIF_SEL>, | ||
| 24 | <ðsys CLK_ETHSYS_CRYPTO>; | ||
| 25 | clock-names = "ethif","cryp"; | ||
| 26 | power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>; | ||
| 27 | }; | ||
diff --git a/Documentation/devicetree/bindings/display/arm,pl11x.txt b/Documentation/devicetree/bindings/display/arm,pl11x.txt index 3e3039a8a253..ef89ab46b2c9 100644 --- a/Documentation/devicetree/bindings/display/arm,pl11x.txt +++ b/Documentation/devicetree/bindings/display/arm,pl11x.txt | |||
| @@ -22,7 +22,7 @@ Required properties: | |||
| 22 | 22 | ||
| 23 | - clocks: contains phandle and clock specifier pairs for the entries | 23 | - clocks: contains phandle and clock specifier pairs for the entries |
| 24 | in the clock-names property. See | 24 | in the clock-names property. See |
| 25 | Documentation/devicetree/binding/clock/clock-bindings.txt | 25 | Documentation/devicetree/bindings/clock/clock-bindings.txt |
| 26 | 26 | ||
| 27 | Optional properties: | 27 | Optional properties: |
| 28 | 28 | ||
diff --git a/Documentation/devicetree/bindings/display/brcm,bcm-vc4.txt b/Documentation/devicetree/bindings/display/brcm,bcm-vc4.txt index e2768703ac2b..34c7fddcea39 100644 --- a/Documentation/devicetree/bindings/display/brcm,bcm-vc4.txt +++ b/Documentation/devicetree/bindings/display/brcm,bcm-vc4.txt | |||
| @@ -56,6 +56,18 @@ Required properties for V3D: | |||
| 56 | - interrupts: The interrupt number | 56 | - interrupts: The interrupt number |
| 57 | See bindings/interrupt-controller/brcm,bcm2835-armctrl-ic.txt | 57 | See bindings/interrupt-controller/brcm,bcm2835-armctrl-ic.txt |
| 58 | 58 | ||
| 59 | Required properties for DSI: | ||
| 60 | - compatible: Should be "brcm,bcm2835-dsi0" or "brcm,bcm2835-dsi1" | ||
| 61 | - reg: Physical base address and length of the DSI block's registers | ||
| 62 | - interrupts: The interrupt number | ||
| 63 | See bindings/interrupt-controller/brcm,bcm2835-armctrl-ic.txt | ||
| 64 | - clocks: a) phy: The DSI PLL clock feeding the DSI analog PHY | ||
| 65 | b) escape: The DSI ESC clock from CPRMAN | ||
| 66 | c) pixel: The DSI pixel clock from CPRMAN | ||
| 67 | - clock-output-names: | ||
| 68 | The 3 clocks output from the DSI analog PHY: dsi[01]_byte, | ||
| 69 | dsi[01]_ddr2, and dsi[01]_ddr | ||
| 70 | |||
| 59 | [1] Documentation/devicetree/bindings/media/video-interfaces.txt | 71 | [1] Documentation/devicetree/bindings/media/video-interfaces.txt |
| 60 | 72 | ||
| 61 | Example: | 73 | Example: |
| @@ -99,6 +111,29 @@ dpi: dpi@7e208000 { | |||
| 99 | }; | 111 | }; |
| 100 | }; | 112 | }; |
| 101 | 113 | ||
| 114 | dsi1: dsi@7e700000 { | ||
| 115 | compatible = "brcm,bcm2835-dsi1"; | ||
| 116 | reg = <0x7e700000 0x8c>; | ||
| 117 | interrupts = <2 12>; | ||
| 118 | #address-cells = <1>; | ||
| 119 | #size-cells = <0>; | ||
| 120 | #clock-cells = <1>; | ||
| 121 | |||
| 122 | clocks = <&clocks BCM2835_PLLD_DSI1>, | ||
| 123 | <&clocks BCM2835_CLOCK_DSI1E>, | ||
| 124 | <&clocks BCM2835_CLOCK_DSI1P>; | ||
| 125 | clock-names = "phy", "escape", "pixel"; | ||
| 126 | |||
| 127 | clock-output-names = "dsi1_byte", "dsi1_ddr2", "dsi1_ddr"; | ||
| 128 | |||
| 129 | pitouchscreen: panel@0 { | ||
| 130 | compatible = "raspberrypi,touchscreen"; | ||
| 131 | reg = <0>; | ||
| 132 | |||
| 133 | <...> | ||
| 134 | }; | ||
| 135 | }; | ||
| 136 | |||
| 102 | vec: vec@7e806000 { | 137 | vec: vec@7e806000 { |
| 103 | compatible = "brcm,bcm2835-vec"; | 138 | compatible = "brcm,bcm2835-vec"; |
| 104 | reg = <0x7e806000 0x1000>; | 139 | reg = <0x7e806000 0x1000>; |
diff --git a/Documentation/devicetree/bindings/display/bridge/adi,adv7511.txt b/Documentation/devicetree/bindings/display/bridge/adi,adv7511.txt index 6532a59c9b43..00ea670b8c4d 100644 --- a/Documentation/devicetree/bindings/display/bridge/adi,adv7511.txt +++ b/Documentation/devicetree/bindings/display/bridge/adi,adv7511.txt | |||
| @@ -38,10 +38,22 @@ The following input format properties are required except in "rgb 1x" and | |||
| 38 | - adi,input-justification: The input bit justification ("left", "evenly", | 38 | - adi,input-justification: The input bit justification ("left", "evenly", |
| 39 | "right"). | 39 | "right"). |
| 40 | 40 | ||
| 41 | - avdd-supply: A 1.8V supply that powers up the AVDD pin on the chip. | ||
| 42 | - dvdd-supply: A 1.8V supply that powers up the DVDD pin on the chip. | ||
| 43 | - pvdd-supply: A 1.8V supply that powers up the PVDD pin on the chip. | ||
| 44 | - dvdd-3v-supply: A 3.3V supply that powers up the pin called DVDD_3V | ||
| 45 | on the chip. | ||
| 46 | - bgvdd-supply: A 1.8V supply that powers up the BGVDD pin. This is | ||
| 47 | needed only for ADV7511. | ||
| 48 | |||
| 41 | The following properties are required for ADV7533: | 49 | The following properties are required for ADV7533: |
| 42 | 50 | ||
| 43 | - adi,dsi-lanes: Number of DSI data lanes connected to the DSI host. It should | 51 | - adi,dsi-lanes: Number of DSI data lanes connected to the DSI host. It should |
| 44 | be one of 1, 2, 3 or 4. | 52 | be one of 1, 2, 3 or 4. |
| 53 | - a2vdd-supply: 1.8V supply that powers up the A2VDD pin on the chip. | ||
| 54 | - v3p3-supply: A 3.3V supply that powers up the V3P3 pin on the chip. | ||
| 55 | - v1p2-supply: A supply that powers up the V1P2 pin on the chip. It can be | ||
| 56 | either 1.2V or 1.8V. | ||
| 45 | 57 | ||
| 46 | Optional properties: | 58 | Optional properties: |
| 47 | 59 | ||
diff --git a/Documentation/devicetree/bindings/display/bridge/analogix_dp.txt b/Documentation/devicetree/bindings/display/bridge/analogix_dp.txt index 4a0f4f7682ad..0c7473dd0e51 100644 --- a/Documentation/devicetree/bindings/display/bridge/analogix_dp.txt +++ b/Documentation/devicetree/bindings/display/bridge/analogix_dp.txt | |||
| @@ -33,7 +33,7 @@ Optional properties for dp-controller: | |||
| 33 | in Documentation/devicetree/bindings/media/video-interfaces.txt, | 33 | in Documentation/devicetree/bindings/media/video-interfaces.txt, |
| 34 | please refer to the SoC specific binding document: | 34 | please refer to the SoC specific binding document: |
| 35 | * Documentation/devicetree/bindings/display/exynos/exynos_dp.txt | 35 | * Documentation/devicetree/bindings/display/exynos/exynos_dp.txt |
| 36 | * Documentation/devicetree/bindings/video/analogix_dp-rockchip.txt | 36 | * Documentation/devicetree/bindings/display/rockchip/analogix_dp-rockchip.txt |
| 37 | 37 | ||
| 38 | [1]: Documentation/devicetree/bindings/media/video-interfaces.txt | 38 | [1]: Documentation/devicetree/bindings/media/video-interfaces.txt |
| 39 | ------------------------------------------------------------------------------- | 39 | ------------------------------------------------------------------------------- |
diff --git a/Documentation/devicetree/bindings/video/bridge/anx7814.txt b/Documentation/devicetree/bindings/display/bridge/anx7814.txt index b2a22c28c9b3..b2a22c28c9b3 100644 --- a/Documentation/devicetree/bindings/video/bridge/anx7814.txt +++ b/Documentation/devicetree/bindings/display/bridge/anx7814.txt | |||
diff --git a/Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt b/Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt index 5e9a84d6e5f1..33bf981fbe33 100644 --- a/Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt +++ b/Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt | |||
| @@ -1,52 +1,33 @@ | |||
| 1 | DesignWare HDMI bridge bindings | 1 | Synopsys DesignWare HDMI TX Encoder |
| 2 | 2 | =================================== | |
| 3 | Required properties: | 3 | |
| 4 | - compatible: platform specific such as: | 4 | This document defines device tree properties for the Synopsys DesignWare HDMI |
| 5 | * "snps,dw-hdmi-tx" | 5 | TX Encoder (DWC HDMI TX). It doesn't constitue a device tree binding |
| 6 | * "fsl,imx6q-hdmi" | 6 | specification by itself but is meant to be referenced by platform-specific |
| 7 | * "fsl,imx6dl-hdmi" | 7 | device tree bindings. |
| 8 | * "rockchip,rk3288-dw-hdmi" | 8 | |
| 9 | - reg: Physical base address and length of the controller's registers. | 9 | When referenced from platform device tree bindings the properties defined in |
| 10 | - interrupts: The HDMI interrupt number | 10 | this document are defined as follows. The platform device tree bindings are |
| 11 | - clocks, clock-names : must have the phandles to the HDMI iahb and isfr clocks, | 11 | responsible for defining whether each property is required or optional. |
| 12 | as described in Documentation/devicetree/bindings/clock/clock-bindings.txt, | 12 | |
| 13 | the clocks are soc specific, the clock-names should be "iahb", "isfr" | 13 | - reg: Memory mapped base address and length of the DWC HDMI TX registers. |
| 14 | -port@[X]: SoC specific port nodes with endpoint definitions as defined | 14 | |
| 15 | in Documentation/devicetree/bindings/media/video-interfaces.txt, | 15 | - reg-io-width: Width of the registers specified by the reg property. The |
| 16 | please refer to the SoC specific binding document: | 16 | value is expressed in bytes and must be equal to 1 or 4 if specified. The |
| 17 | * Documentation/devicetree/bindings/display/imx/hdmi.txt | 17 | register width defaults to 1 if the property is not present. |
| 18 | * Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt | 18 | |
| 19 | 19 | - interrupts: Reference to the DWC HDMI TX interrupt. | |
| 20 | Optional properties | 20 | |
| 21 | - reg-io-width: the width of the reg:1,4, default set to 1 if not present | 21 | - clocks: References to all the clocks specified in the clock-names property |
| 22 | - ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing, | 22 | as specified in Documentation/devicetree/bindings/clock/clock-bindings.txt. |
| 23 | if the property is omitted, a functionally reduced I2C bus | 23 | |
| 24 | controller on DW HDMI is probed | 24 | - clock-names: The DWC HDMI TX uses the following clocks. |
| 25 | - clocks, clock-names: phandle to the HDMI CEC clock, name should be "cec" | 25 | |
| 26 | 26 | - "iahb" is the bus clock for either AHB and APB (mandatory). | |
| 27 | Example: | 27 | - "isfr" is the internal register configuration clock (mandatory). |
| 28 | hdmi: hdmi@0120000 { | 28 | - "cec" is the HDMI CEC controller main clock (optional). |
| 29 | compatible = "fsl,imx6q-hdmi"; | 29 | |
| 30 | reg = <0x00120000 0x9000>; | 30 | - ports: The connectivity of the DWC HDMI TX with the rest of the system is |
| 31 | interrupts = <0 115 0x04>; | 31 | expressed in using ports as specified in the device graph bindings defined |
| 32 | gpr = <&gpr>; | 32 | in Documentation/devicetree/bindings/graph.txt. The numbering of the ports |
| 33 | clocks = <&clks 123>, <&clks 124>; | 33 | is platform-specific. |
| 34 | clock-names = "iahb", "isfr"; | ||
| 35 | ddc-i2c-bus = <&i2c2>; | ||
| 36 | |||
| 37 | port@0 { | ||
| 38 | reg = <0>; | ||
| 39 | |||
| 40 | hdmi_mux_0: endpoint { | ||
| 41 | remote-endpoint = <&ipu1_di0_hdmi>; | ||
| 42 | }; | ||
| 43 | }; | ||
| 44 | |||
| 45 | port@1 { | ||
| 46 | reg = <1>; | ||
| 47 | |||
| 48 | hdmi_mux_1: endpoint { | ||
| 49 | remote-endpoint = <&ipu1_di1_hdmi>; | ||
| 50 | }; | ||
| 51 | }; | ||
| 52 | }; | ||
diff --git a/Documentation/devicetree/bindings/video/bridge/sil-sii8620.txt b/Documentation/devicetree/bindings/display/bridge/sil-sii8620.txt index 9409d9c6a260..9409d9c6a260 100644 --- a/Documentation/devicetree/bindings/video/bridge/sil-sii8620.txt +++ b/Documentation/devicetree/bindings/display/bridge/sil-sii8620.txt | |||
diff --git a/Documentation/devicetree/bindings/display/bridge/ti,ths8135.txt b/Documentation/devicetree/bindings/display/bridge/ti,ths8135.txt new file mode 100644 index 000000000000..6ec1a880ac18 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/ti,ths8135.txt | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | THS8135 Video DAC | ||
| 2 | ----------------- | ||
| 3 | |||
| 4 | This is the binding for Texas Instruments THS8135 Video DAC bridge. | ||
| 5 | |||
| 6 | Required properties: | ||
| 7 | |||
| 8 | - compatible: Must be "ti,ths8135" | ||
| 9 | |||
| 10 | Required nodes: | ||
| 11 | |||
| 12 | This device has two video ports. Their connections are modelled using the OF | ||
| 13 | graph bindings specified in Documentation/devicetree/bindings/graph.txt. | ||
| 14 | |||
| 15 | - Video port 0 for RGB input | ||
| 16 | - Video port 1 for VGA output | ||
| 17 | |||
| 18 | Example | ||
| 19 | ------- | ||
| 20 | |||
| 21 | vga-bridge { | ||
| 22 | compatible = "ti,ths8135"; | ||
| 23 | #address-cells = <1>; | ||
| 24 | #size-cells = <0>; | ||
| 25 | |||
| 26 | ports { | ||
| 27 | #address-cells = <1>; | ||
| 28 | #size-cells = <0>; | ||
| 29 | |||
| 30 | port@0 { | ||
| 31 | reg = <0>; | ||
| 32 | |||
| 33 | vga_bridge_in: endpoint { | ||
| 34 | remote-endpoint = <&lcdc_out_vga>; | ||
| 35 | }; | ||
| 36 | }; | ||
| 37 | |||
| 38 | port@1 { | ||
| 39 | reg = <1>; | ||
| 40 | |||
| 41 | vga_bridge_out: endpoint { | ||
| 42 | remote-endpoint = <&vga_con_in>; | ||
| 43 | }; | ||
| 44 | }; | ||
| 45 | }; | ||
| 46 | }; | ||
diff --git a/Documentation/devicetree/bindings/display/cirrus,clps711x-fb.txt b/Documentation/devicetree/bindings/display/cirrus,clps711x-fb.txt index e9c65746e2f1..b0e506610400 100644 --- a/Documentation/devicetree/bindings/display/cirrus,clps711x-fb.txt +++ b/Documentation/devicetree/bindings/display/cirrus,clps711x-fb.txt | |||
| @@ -6,7 +6,7 @@ Required properties: | |||
| 6 | location and size of the framebuffer memory. | 6 | location and size of the framebuffer memory. |
| 7 | - clocks : phandle + clock specifier pair of the FB reference clock. | 7 | - clocks : phandle + clock specifier pair of the FB reference clock. |
| 8 | - display : phandle to a display node as described in | 8 | - display : phandle to a display node as described in |
| 9 | Documentation/devicetree/bindings/display/display-timing.txt. | 9 | Documentation/devicetree/bindings/display/panel/display-timing.txt. |
| 10 | Additionally, the display node has to define properties: | 10 | Additionally, the display node has to define properties: |
| 11 | - bits-per-pixel: Bits per pixel. | 11 | - bits-per-pixel: Bits per pixel. |
| 12 | - ac-prescale : LCD AC bias frequency. This frequency is the required | 12 | - ac-prescale : LCD AC bias frequency. This frequency is the required |
diff --git a/Documentation/devicetree/bindings/display/exynos/exynos7-decon.txt b/Documentation/devicetree/bindings/display/exynos/exynos7-decon.txt index 3938caacf11c..9e2e7f6f7609 100644 --- a/Documentation/devicetree/bindings/display/exynos/exynos7-decon.txt +++ b/Documentation/devicetree/bindings/display/exynos/exynos7-decon.txt | |||
| @@ -33,12 +33,12 @@ Required properties: | |||
| 33 | - i80-if-timings: timing configuration for lcd i80 interface support. | 33 | - i80-if-timings: timing configuration for lcd i80 interface support. |
| 34 | 34 | ||
| 35 | Optional Properties: | 35 | Optional Properties: |
| 36 | - samsung,power-domain: a phandle to DECON power domain node. | 36 | - power-domains: a phandle to DECON power domain node. |
| 37 | - display-timings: timing settings for DECON, as described in document [1]. | 37 | - display-timings: timing settings for DECON, as described in document [1]. |
| 38 | Can be used in case timings cannot be provided otherwise | 38 | Can be used in case timings cannot be provided otherwise |
| 39 | or to override timings provided by the panel. | 39 | or to override timings provided by the panel. |
| 40 | 40 | ||
| 41 | [1]: Documentation/devicetree/bindings/display/display-timing.txt | 41 | [1]: Documentation/devicetree/bindings/display/panel/display-timing.txt |
| 42 | 42 | ||
| 43 | Example: | 43 | Example: |
| 44 | 44 | ||
diff --git a/Documentation/devicetree/bindings/display/exynos/samsung-fimd.txt b/Documentation/devicetree/bindings/display/exynos/samsung-fimd.txt index c7c6b9af87ac..18645e0228b0 100644 --- a/Documentation/devicetree/bindings/display/exynos/samsung-fimd.txt +++ b/Documentation/devicetree/bindings/display/exynos/samsung-fimd.txt | |||
| @@ -83,7 +83,7 @@ in [2]. The following are properties specific to those nodes: | |||
| 83 | 3 - for parallel output, | 83 | 3 - for parallel output, |
| 84 | 4 - for write-back interface | 84 | 4 - for write-back interface |
| 85 | 85 | ||
| 86 | [1]: Documentation/devicetree/bindings/display/display-timing.txt | 86 | [1]: Documentation/devicetree/bindings/display/panel/display-timing.txt |
| 87 | [2]: Documentation/devicetree/bindings/media/video-interfaces.txt | 87 | [2]: Documentation/devicetree/bindings/media/video-interfaces.txt |
| 88 | 88 | ||
| 89 | Example: | 89 | Example: |
diff --git a/Documentation/devicetree/bindings/display/hisilicon/hisi-ade.txt b/Documentation/devicetree/bindings/display/hisilicon/hisi-ade.txt index 38dc9d60eef8..305a0e72a900 100644 --- a/Documentation/devicetree/bindings/display/hisilicon/hisi-ade.txt +++ b/Documentation/devicetree/bindings/display/hisilicon/hisi-ade.txt | |||
| @@ -16,7 +16,7 @@ Required properties: | |||
| 16 | "clk_ade_core" for the ADE core clock. | 16 | "clk_ade_core" for the ADE core clock. |
| 17 | "clk_codec_jpeg" for the media NOC QoS clock, which use the same clock with | 17 | "clk_codec_jpeg" for the media NOC QoS clock, which use the same clock with |
| 18 | jpeg codec. | 18 | jpeg codec. |
| 19 | "clk_ade_pix" for the ADE pixel clok. | 19 | "clk_ade_pix" for the ADE pixel clock. |
| 20 | - assigned-clocks: Should contain "clk_ade_core" and "clk_codec_jpeg" clocks' | 20 | - assigned-clocks: Should contain "clk_ade_core" and "clk_codec_jpeg" clocks' |
| 21 | phandle + clock-specifier pairs. | 21 | phandle + clock-specifier pairs. |
| 22 | - assigned-clock-rates: clock rates, one for each entry in assigned-clocks. | 22 | - assigned-clock-rates: clock rates, one for each entry in assigned-clocks. |
diff --git a/Documentation/devicetree/bindings/display/imx/fsl,imx-fb.txt b/Documentation/devicetree/bindings/display/imx/fsl,imx-fb.txt index 00d5f8ea7ec6..7a5c0e204c8e 100644 --- a/Documentation/devicetree/bindings/display/imx/fsl,imx-fb.txt +++ b/Documentation/devicetree/bindings/display/imx/fsl,imx-fb.txt | |||
| @@ -9,7 +9,7 @@ Required properties: | |||
| 9 | 9 | ||
| 10 | Required nodes: | 10 | Required nodes: |
| 11 | - display: Phandle to a display node as described in | 11 | - display: Phandle to a display node as described in |
| 12 | Documentation/devicetree/bindings/display/display-timing.txt | 12 | Documentation/devicetree/bindings/display/panel/display-timing.txt |
| 13 | Additional, the display node has to define properties: | 13 | Additional, the display node has to define properties: |
| 14 | - bits-per-pixel: Bits per pixel | 14 | - bits-per-pixel: Bits per pixel |
| 15 | - fsl,pcr: LCDC PCR value | 15 | - fsl,pcr: LCDC PCR value |
diff --git a/Documentation/devicetree/bindings/display/imx/hdmi.txt b/Documentation/devicetree/bindings/display/imx/hdmi.txt index 1b756cf9afb0..66a8f86e5d12 100644 --- a/Documentation/devicetree/bindings/display/imx/hdmi.txt +++ b/Documentation/devicetree/bindings/display/imx/hdmi.txt | |||
| @@ -1,29 +1,36 @@ | |||
| 1 | Device-Tree bindings for HDMI Transmitter | 1 | Freescale i.MX6 DWC HDMI TX Encoder |
| 2 | =================================== | ||
| 2 | 3 | ||
| 3 | HDMI Transmitter | 4 | The HDMI transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP |
| 4 | ================ | 5 | with a companion PHY IP. |
| 6 | |||
| 7 | These DT bindings follow the Synopsys DWC HDMI TX bindings defined in | ||
| 8 | Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt with the | ||
| 9 | following device-specific properties. | ||
| 5 | 10 | ||
| 6 | The HDMI Transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP | ||
| 7 | with accompanying PHY IP. | ||
| 8 | 11 | ||
| 9 | Required properties: | 12 | Required properties: |
| 10 | - #address-cells : should be <1> | 13 | |
| 11 | - #size-cells : should be <0> | 14 | - compatible : Shall be one of "fsl,imx6q-hdmi" or "fsl,imx6dl-hdmi". |
| 12 | - compatible : should be "fsl,imx6q-hdmi" or "fsl,imx6dl-hdmi". | 15 | - reg: See dw_hdmi.txt. |
| 13 | - gpr : should be <&gpr>. | 16 | - interrupts: HDMI interrupt number |
| 14 | The phandle points to the iomuxc-gpr region containing the HDMI | 17 | - clocks: See dw_hdmi.txt. |
| 15 | multiplexer control register. | 18 | - clock-names: Shall contain "iahb" and "isfr" as defined in dw_hdmi.txt. |
| 16 | - clocks, clock-names : phandles to the HDMI iahb and isrf clocks, as described | 19 | - ports: See dw_hdmi.txt. The DWC HDMI shall have between one and four ports, |
| 17 | in Documentation/devicetree/bindings/clock/clock-bindings.txt and | 20 | numbered 0 to 3, corresponding to the four inputs of the HDMI multiplexer. |
| 18 | Documentation/devicetree/bindings/clock/imx6q-clock.txt. | 21 | Each port shall have a single endpoint. |
| 19 | - port@[0-4]: Up to four port nodes with endpoint definitions as defined in | 22 | - gpr : Shall contain a phandle to the iomuxc-gpr region containing the HDMI |
| 20 | Documentation/devicetree/bindings/media/video-interfaces.txt, | 23 | multiplexer control register. |
| 21 | corresponding to the four inputs to the HDMI multiplexer. | 24 | |
| 22 | 25 | Optional properties | |
| 23 | Optional properties: | 26 | |
| 24 | - ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing | 27 | - ddc-i2c-bus: The HDMI DDC bus can be connected to either a system I2C master |
| 25 | 28 | or the functionally-reduced I2C master contained in the DWC HDMI. When | |
| 26 | example: | 29 | connected to a system I2C master this property contains a phandle to that |
| 30 | I2C master controller. | ||
| 31 | |||
| 32 | |||
| 33 | Example: | ||
| 27 | 34 | ||
| 28 | gpr: iomuxc-gpr@020e0000 { | 35 | gpr: iomuxc-gpr@020e0000 { |
| 29 | /* ... */ | 36 | /* ... */ |
diff --git a/Documentation/devicetree/bindings/display/imx/ldb.txt b/Documentation/devicetree/bindings/display/imx/ldb.txt index a407462c885e..38c637fa39dd 100644 --- a/Documentation/devicetree/bindings/display/imx/ldb.txt +++ b/Documentation/devicetree/bindings/display/imx/ldb.txt | |||
| @@ -64,7 +64,7 @@ Required properties: | |||
| 64 | Optional properties (required if display-timings are used): | 64 | Optional properties (required if display-timings are used): |
| 65 | - ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing | 65 | - ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing |
| 66 | - display-timings : A node that describes the display timings as defined in | 66 | - display-timings : A node that describes the display timings as defined in |
| 67 | Documentation/devicetree/bindings/display/display-timing.txt. | 67 | Documentation/devicetree/bindings/display/panel/display-timing.txt. |
| 68 | - fsl,data-mapping : should be "spwg" or "jeida" | 68 | - fsl,data-mapping : should be "spwg" or "jeida" |
| 69 | This describes how the color bits are laid out in the | 69 | This describes how the color bits are laid out in the |
| 70 | serialized LVDS signal. | 70 | serialized LVDS signal. |
diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt b/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt index db6e77edbea8..708f5664a316 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt | |||
| @@ -55,7 +55,7 @@ Required properties (DMA function blocks): | |||
| 55 | "mediatek,<chip>-disp-rdma" | 55 | "mediatek,<chip>-disp-rdma" |
| 56 | "mediatek,<chip>-disp-wdma" | 56 | "mediatek,<chip>-disp-wdma" |
| 57 | - larb: Should contain a phandle pointing to the local arbiter device as defined | 57 | - larb: Should contain a phandle pointing to the local arbiter device as defined |
| 58 | in Documentation/devicetree/bindings/soc/mediatek/mediatek,smi-larb.txt | 58 | in Documentation/devicetree/bindings/memory-controllers/mediatek,smi-larb.txt |
| 59 | - iommus: Should point to the respective IOMMU block with master port as | 59 | - iommus: Should point to the respective IOMMU block with master port as |
| 60 | argument, see Documentation/devicetree/bindings/iommu/mediatek,iommu.txt | 60 | argument, see Documentation/devicetree/bindings/iommu/mediatek,iommu.txt |
| 61 | for details. | 61 | for details. |
diff --git a/Documentation/devicetree/bindings/display/msm/dsi.txt b/Documentation/devicetree/bindings/display/msm/dsi.txt index 6b1cab17f52d..fa00e62e1cf6 100644 --- a/Documentation/devicetree/bindings/display/msm/dsi.txt +++ b/Documentation/devicetree/bindings/display/msm/dsi.txt | |||
| @@ -108,7 +108,7 @@ Optional properties: | |||
| 108 | - qcom,dsi-phy-regulator-ldo-mode: Boolean value indicating if the LDO mode PHY | 108 | - qcom,dsi-phy-regulator-ldo-mode: Boolean value indicating if the LDO mode PHY |
| 109 | regulator is wanted. | 109 | regulator is wanted. |
| 110 | 110 | ||
| 111 | [1] Documentation/devicetree/bindings/clocks/clock-bindings.txt | 111 | [1] Documentation/devicetree/bindings/clock/clock-bindings.txt |
| 112 | [2] Documentation/devicetree/bindings/graph.txt | 112 | [2] Documentation/devicetree/bindings/graph.txt |
| 113 | [3] Documentation/devicetree/bindings/media/video-interfaces.txt | 113 | [3] Documentation/devicetree/bindings/media/video-interfaces.txt |
| 114 | [4] Documentation/devicetree/bindings/display/panel/ | 114 | [4] Documentation/devicetree/bindings/display/panel/ |
diff --git a/Documentation/devicetree/bindings/display/msm/edp.txt b/Documentation/devicetree/bindings/display/msm/edp.txt index 3a20f6ea5898..e63032be5401 100644 --- a/Documentation/devicetree/bindings/display/msm/edp.txt +++ b/Documentation/devicetree/bindings/display/msm/edp.txt | |||
| @@ -10,7 +10,7 @@ Required properties: | |||
| 10 | - interrupts: The interrupt signal from the eDP block. | 10 | - interrupts: The interrupt signal from the eDP block. |
| 11 | - power-domains: Should be <&mmcc MDSS_GDSC>. | 11 | - power-domains: Should be <&mmcc MDSS_GDSC>. |
| 12 | - clocks: device clocks | 12 | - clocks: device clocks |
| 13 | See Documentation/devicetree/bindings/clocks/clock-bindings.txt for details. | 13 | See Documentation/devicetree/bindings/clock/clock-bindings.txt for details. |
| 14 | - clock-names: the following clocks are required: | 14 | - clock-names: the following clocks are required: |
| 15 | * "core_clk" | 15 | * "core_clk" |
| 16 | * "iface_clk" | 16 | * "iface_clk" |
diff --git a/Documentation/devicetree/bindings/display/msm/gpu.txt b/Documentation/devicetree/bindings/display/msm/gpu.txt index 67d0a58dbb77..43fac0fe09bb 100644 --- a/Documentation/devicetree/bindings/display/msm/gpu.txt +++ b/Documentation/devicetree/bindings/display/msm/gpu.txt | |||
| @@ -1,23 +1,19 @@ | |||
| 1 | Qualcomm adreno/snapdragon GPU | 1 | Qualcomm adreno/snapdragon GPU |
| 2 | 2 | ||
| 3 | Required properties: | 3 | Required properties: |
| 4 | - compatible: "qcom,adreno-3xx" | 4 | - compatible: "qcom,adreno-XYZ.W", "qcom,adreno" |
| 5 | for example: "qcom,adreno-306.0", "qcom,adreno" | ||
| 6 | Note that you need to list the less specific "qcom,adreno" (since this | ||
| 7 | is what the device is matched on), in addition to the more specific | ||
| 8 | with the chip-id. | ||
| 5 | - reg: Physical base address and length of the controller's registers. | 9 | - reg: Physical base address and length of the controller's registers. |
| 6 | - interrupts: The interrupt signal from the gpu. | 10 | - interrupts: The interrupt signal from the gpu. |
| 7 | - clocks: device clocks | 11 | - clocks: device clocks |
| 8 | See ../clocks/clock-bindings.txt for details. | 12 | See ../clocks/clock-bindings.txt for details. |
| 9 | - clock-names: the following clocks are required: | 13 | - clock-names: the following clocks are required: |
| 10 | * "core_clk" | 14 | * "core" |
| 11 | * "iface_clk" | 15 | * "iface" |
| 12 | * "mem_iface_clk" | 16 | * "mem_iface" |
| 13 | - qcom,chipid: gpu chip-id. Note this may become optional for future | ||
| 14 | devices if we can reliably read the chipid from hw | ||
| 15 | - qcom,gpu-pwrlevels: list of operating points | ||
| 16 | - compatible: "qcom,gpu-pwrlevels" | ||
| 17 | - for each qcom,gpu-pwrlevel: | ||
| 18 | - qcom,gpu-freq: requested gpu clock speed | ||
| 19 | - NOTE: downstream android driver defines additional parameters to | ||
| 20 | configure memory bandwidth scaling per OPP. | ||
| 21 | 17 | ||
| 22 | Example: | 18 | Example: |
| 23 | 19 | ||
| @@ -25,28 +21,18 @@ Example: | |||
| 25 | ... | 21 | ... |
| 26 | 22 | ||
| 27 | gpu: qcom,kgsl-3d0@4300000 { | 23 | gpu: qcom,kgsl-3d0@4300000 { |
| 28 | compatible = "qcom,adreno-3xx"; | 24 | compatible = "qcom,adreno-320.2", "qcom,adreno"; |
| 29 | reg = <0x04300000 0x20000>; | 25 | reg = <0x04300000 0x20000>; |
| 30 | reg-names = "kgsl_3d0_reg_memory"; | 26 | reg-names = "kgsl_3d0_reg_memory"; |
| 31 | interrupts = <GIC_SPI 80 0>; | 27 | interrupts = <GIC_SPI 80 0>; |
| 32 | interrupt-names = "kgsl_3d0_irq"; | 28 | interrupt-names = "kgsl_3d0_irq"; |
| 33 | clock-names = | 29 | clock-names = |
| 34 | "core_clk", | 30 | "core", |
| 35 | "iface_clk", | 31 | "iface", |
| 36 | "mem_iface_clk"; | 32 | "mem_iface"; |
| 37 | clocks = | 33 | clocks = |
| 38 | <&mmcc GFX3D_CLK>, | 34 | <&mmcc GFX3D_CLK>, |
| 39 | <&mmcc GFX3D_AHB_CLK>, | 35 | <&mmcc GFX3D_AHB_CLK>, |
| 40 | <&mmcc MMSS_IMEM_AHB_CLK>; | 36 | <&mmcc MMSS_IMEM_AHB_CLK>; |
| 41 | qcom,chipid = <0x03020100>; | ||
| 42 | qcom,gpu-pwrlevels { | ||
| 43 | compatible = "qcom,gpu-pwrlevels"; | ||
| 44 | qcom,gpu-pwrlevel@0 { | ||
| 45 | qcom,gpu-freq = <450000000>; | ||
| 46 | }; | ||
| 47 | qcom,gpu-pwrlevel@1 { | ||
| 48 | qcom,gpu-freq = <27000000>; | ||
| 49 | }; | ||
| 50 | }; | ||
| 51 | }; | 37 | }; |
| 52 | }; | 38 | }; |
diff --git a/Documentation/devicetree/bindings/display/msm/hdmi.txt b/Documentation/devicetree/bindings/display/msm/hdmi.txt index 2ad578984fcf..2d306f402d18 100644 --- a/Documentation/devicetree/bindings/display/msm/hdmi.txt +++ b/Documentation/devicetree/bindings/display/msm/hdmi.txt | |||
| @@ -49,7 +49,7 @@ Required properties: | |||
| 49 | * "hdmi_tx_l4" | 49 | * "hdmi_tx_l4" |
| 50 | - power-domains: Should be <&mmcc MDSS_GDSC>. | 50 | - power-domains: Should be <&mmcc MDSS_GDSC>. |
| 51 | - clocks: device clocks | 51 | - clocks: device clocks |
| 52 | See Documentation/devicetree/bindings/clocks/clock-bindings.txt for details. | 52 | See Documentation/devicetree/bindings/clock/clock-bindings.txt for details. |
| 53 | - core-vdda-supply: phandle to vdda regulator device node | 53 | - core-vdda-supply: phandle to vdda regulator device node |
| 54 | 54 | ||
| 55 | Example: | 55 | Example: |
diff --git a/Documentation/devicetree/bindings/display/multi-inno,mi0283qt.txt b/Documentation/devicetree/bindings/display/multi-inno,mi0283qt.txt new file mode 100644 index 000000000000..eed48c3d4875 --- /dev/null +++ b/Documentation/devicetree/bindings/display/multi-inno,mi0283qt.txt | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | Multi-Inno MI0283QT display panel | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: "multi-inno,mi0283qt". | ||
| 5 | |||
| 6 | The node for this driver must be a child node of a SPI controller, hence | ||
| 7 | all mandatory properties described in ../spi/spi-bus.txt must be specified. | ||
| 8 | |||
| 9 | Optional properties: | ||
| 10 | - dc-gpios: D/C pin. The presence/absence of this GPIO determines | ||
| 11 | the panel interface mode (IM[3:0] pins): | ||
| 12 | - present: IM=x110 4-wire 8-bit data serial interface | ||
| 13 | - absent: IM=x101 3-wire 9-bit data serial interface | ||
| 14 | - reset-gpios: Reset pin | ||
| 15 | - power-supply: A regulator node for the supply voltage. | ||
| 16 | - backlight: phandle of the backlight device attached to the panel | ||
| 17 | - rotation: panel rotation in degrees counter clockwise (0,90,180,270) | ||
| 18 | |||
| 19 | Example: | ||
| 20 | mi0283qt@0{ | ||
| 21 | compatible = "multi-inno,mi0283qt"; | ||
| 22 | reg = <0>; | ||
| 23 | spi-max-frequency = <32000000>; | ||
| 24 | rotation = <90>; | ||
| 25 | dc-gpios = <&gpio 25 0>; | ||
| 26 | backlight = <&backlight>; | ||
| 27 | }; | ||
diff --git a/Documentation/devicetree/bindings/display/panel/boe,nv101wxmn51.txt b/Documentation/devicetree/bindings/display/panel/boe,nv101wxmn51.txt new file mode 100644 index 000000000000..b258d6a91ec6 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/boe,nv101wxmn51.txt | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | BOE OPTOELECTRONICS TECHNOLOGY 10.1" WXGA TFT LCD panel | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: should be "boe,nv101wxmn51" | ||
| 5 | |||
| 6 | This binding is compatible with the simple-panel binding, which is specified | ||
| 7 | in simple-panel.txt in this directory. | ||
diff --git a/Documentation/devicetree/bindings/display/panel/netron-dy,e231732.txt b/Documentation/devicetree/bindings/display/panel/netron-dy,e231732.txt new file mode 100644 index 000000000000..c6d06b5eab51 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/netron-dy,e231732.txt | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | Netron-DY E231732 7.0" WSVGA TFT LCD panel | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: should be "netron-dy,e231732" | ||
| 5 | |||
| 6 | This binding is compatible with the simple-panel binding, which is specified | ||
| 7 | in simple-panel.txt in this directory. | ||
diff --git a/Documentation/devicetree/bindings/display/panel/panel-dpi.txt b/Documentation/devicetree/bindings/display/panel/panel-dpi.txt index b52ac52757df..d4add13e592d 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-dpi.txt +++ b/Documentation/devicetree/bindings/display/panel/panel-dpi.txt | |||
| @@ -12,7 +12,7 @@ Optional properties: | |||
| 12 | 12 | ||
| 13 | Required nodes: | 13 | Required nodes: |
| 14 | - "panel-timing" containing video timings | 14 | - "panel-timing" containing video timings |
| 15 | (Documentation/devicetree/bindings/display/display-timing.txt) | 15 | (Documentation/devicetree/bindings/display/panel/display-timing.txt) |
| 16 | - Video port for DPI input | 16 | - Video port for DPI input |
| 17 | 17 | ||
| 18 | Example | 18 | Example |
diff --git a/Documentation/devicetree/bindings/display/panel/panel.txt b/Documentation/devicetree/bindings/display/panel/panel.txt new file mode 100644 index 000000000000..e2e6867852b8 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/panel.txt | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | Common display properties | ||
| 2 | ------------------------- | ||
| 3 | |||
| 4 | - rotation: Display rotation in degrees counter clockwise (0,90,180,270) | ||
diff --git a/Documentation/devicetree/bindings/display/panel/samsung,ld9040.txt b/Documentation/devicetree/bindings/display/panel/samsung,ld9040.txt index fc595d9b985b..354d4d1df4ff 100644 --- a/Documentation/devicetree/bindings/display/panel/samsung,ld9040.txt +++ b/Documentation/devicetree/bindings/display/panel/samsung,ld9040.txt | |||
| @@ -20,7 +20,7 @@ The device node can contain one 'port' child node with one child | |||
| 20 | 'endpoint' node, according to the bindings defined in [3]. This | 20 | 'endpoint' node, according to the bindings defined in [3]. This |
| 21 | node should describe panel's video bus. | 21 | node should describe panel's video bus. |
| 22 | 22 | ||
| 23 | [1]: Documentation/devicetree/bindings/display/display-timing.txt | 23 | [1]: Documentation/devicetree/bindings/display/panel/display-timing.txt |
| 24 | [2]: Documentation/devicetree/bindings/spi/spi-bus.txt | 24 | [2]: Documentation/devicetree/bindings/spi/spi-bus.txt |
| 25 | [3]: Documentation/devicetree/bindings/media/video-interfaces.txt | 25 | [3]: Documentation/devicetree/bindings/media/video-interfaces.txt |
| 26 | 26 | ||
diff --git a/Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.txt b/Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.txt index 25701c81b5e0..9e766c5f86da 100644 --- a/Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.txt +++ b/Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.txt | |||
| @@ -21,7 +21,7 @@ The device node can contain one 'port' child node with one child | |||
| 21 | 'endpoint' node, according to the bindings defined in [2]. This | 21 | 'endpoint' node, according to the bindings defined in [2]. This |
| 22 | node should describe panel's video bus. | 22 | node should describe panel's video bus. |
| 23 | 23 | ||
| 24 | [1]: Documentation/devicetree/bindings/display/display-timing.txt | 24 | [1]: Documentation/devicetree/bindings/display/panel/display-timing.txt |
| 25 | [2]: Documentation/devicetree/bindings/media/video-interfaces.txt | 25 | [2]: Documentation/devicetree/bindings/media/video-interfaces.txt |
| 26 | 26 | ||
| 27 | Example: | 27 | Example: |
diff --git a/Documentation/devicetree/bindings/display/panel/tianma,tm070jdhg30.txt b/Documentation/devicetree/bindings/display/panel/tianma,tm070jdhg30.txt new file mode 100644 index 000000000000..eb9501a82e25 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/tianma,tm070jdhg30.txt | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | Tianma Micro-electronics TM070JDHG30 7.0" WXGA TFT LCD panel | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: should be "tianma,tm070jdhg30" | ||
| 5 | |||
| 6 | This binding is compatible with the simple-panel binding, which is specified | ||
| 7 | in simple-panel.txt in this directory. | ||
diff --git a/Documentation/devicetree/bindings/display/rockchip/analogix_dp-rockchip.txt b/Documentation/devicetree/bindings/display/rockchip/analogix_dp-rockchip.txt index 01cced1c2a18..47665a12786f 100644 --- a/Documentation/devicetree/bindings/display/rockchip/analogix_dp-rockchip.txt +++ b/Documentation/devicetree/bindings/display/rockchip/analogix_dp-rockchip.txt | |||
| @@ -35,7 +35,7 @@ Optional property for different chips: | |||
| 35 | Required elements: "grf" | 35 | Required elements: "grf" |
| 36 | 36 | ||
| 37 | For the below properties, please refer to Analogix DP binding document: | 37 | For the below properties, please refer to Analogix DP binding document: |
| 38 | * Documentation/devicetree/bindings/drm/bridge/analogix_dp.txt | 38 | * Documentation/devicetree/bindings/display/bridge/analogix_dp.txt |
| 39 | - phys (required) | 39 | - phys (required) |
| 40 | - phy-names (required) | 40 | - phy-names (required) |
| 41 | - hpd-gpios (optional) | 41 | - hpd-gpios (optional) |
diff --git a/Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt b/Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt index 668091f27674..046076c6b277 100644 --- a/Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt +++ b/Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt | |||
| @@ -1,24 +1,39 @@ | |||
| 1 | Rockchip specific extensions to the Synopsys Designware HDMI | 1 | Rockchip DWC HDMI TX Encoder |
| 2 | ================================ | 2 | ============================ |
| 3 | |||
| 4 | The HDMI transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP | ||
| 5 | with a companion PHY IP. | ||
| 6 | |||
| 7 | These DT bindings follow the Synopsys DWC HDMI TX bindings defined in | ||
| 8 | Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt with the | ||
| 9 | following device-specific properties. | ||
| 10 | |||
| 3 | 11 | ||
| 4 | Required properties: | 12 | Required properties: |
| 5 | - compatible: "rockchip,rk3288-dw-hdmi"; | 13 | |
| 6 | - reg: Physical base address and length of the controller's registers. | 14 | - compatible: Shall contain "rockchip,rk3288-dw-hdmi". |
| 7 | - clocks: phandle to hdmi iahb and isfr clocks. | 15 | - reg: See dw_hdmi.txt. |
| 8 | - clock-names: should be "iahb" "isfr" | 16 | - reg-io-width: See dw_hdmi.txt. Shall be 4. |
| 9 | - rockchip,grf: this soc should set GRF regs to mux vopl/vopb. | ||
| 10 | - interrupts: HDMI interrupt number | 17 | - interrupts: HDMI interrupt number |
| 11 | - ports: contain a port node with endpoint definitions as defined in | 18 | - clocks: See dw_hdmi.txt. |
| 12 | Documentation/devicetree/bindings/media/video-interfaces.txt. For | 19 | - clock-names: Shall contain "iahb" and "isfr" as defined in dw_hdmi.txt. |
| 13 | vopb,set the reg = <0> and set the reg = <1> for vopl. | 20 | - ports: See dw_hdmi.txt. The DWC HDMI shall have a single port numbered 0 |
| 14 | - reg-io-width: the width of the reg:1,4, the value should be 4 on | 21 | corresponding to the video input of the controller. The port shall have two |
| 15 | rk3288 platform | 22 | endpoints, numbered 0 and 1, connected respectively to the vopb and vopl. |
| 23 | - rockchip,grf: Shall reference the GRF to mux vopl/vopb. | ||
| 16 | 24 | ||
| 17 | Optional properties | 25 | Optional properties |
| 18 | - ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing | 26 | |
| 19 | - clocks, clock-names: phandle to the HDMI CEC clock, name should be "cec" | 27 | - ddc-i2c-bus: The HDMI DDC bus can be connected to either a system I2C master |
| 28 | or the functionally-reduced I2C master contained in the DWC HDMI. When | ||
| 29 | connected to a system I2C master this property contains a phandle to that | ||
| 30 | I2C master controller. | ||
| 31 | - clock-names: See dw_hdmi.txt. The "cec" clock is optional. | ||
| 32 | - clock-names: May contain "cec" as defined in dw_hdmi.txt. | ||
| 33 | |||
| 20 | 34 | ||
| 21 | Example: | 35 | Example: |
| 36 | |||
| 22 | hdmi: hdmi@ff980000 { | 37 | hdmi: hdmi@ff980000 { |
| 23 | compatible = "rockchip,rk3288-dw-hdmi"; | 38 | compatible = "rockchip,rk3288-dw-hdmi"; |
| 24 | reg = <0xff980000 0x20000>; | 39 | reg = <0xff980000 0x20000>; |
diff --git a/Documentation/devicetree/bindings/display/ssd1307fb.txt b/Documentation/devicetree/bindings/display/ssd1307fb.txt index eb31ed47a283..209d931ef16c 100644 --- a/Documentation/devicetree/bindings/display/ssd1307fb.txt +++ b/Documentation/devicetree/bindings/display/ssd1307fb.txt | |||
| @@ -8,14 +8,15 @@ Required properties: | |||
| 8 | 0x3c or 0x3d | 8 | 0x3c or 0x3d |
| 9 | - pwm: Should contain the pwm to use according to the OF device tree PWM | 9 | - pwm: Should contain the pwm to use according to the OF device tree PWM |
| 10 | specification [0]. Only required for the ssd1307. | 10 | specification [0]. Only required for the ssd1307. |
| 11 | - reset-gpios: Should contain the GPIO used to reset the OLED display | ||
| 12 | - solomon,height: Height in pixel of the screen driven by the controller | 11 | - solomon,height: Height in pixel of the screen driven by the controller |
| 13 | - solomon,width: Width in pixel of the screen driven by the controller | 12 | - solomon,width: Width in pixel of the screen driven by the controller |
| 14 | - solomon,page-offset: Offset of pages (band of 8 pixels) that the screen is | 13 | - solomon,page-offset: Offset of pages (band of 8 pixels) that the screen is |
| 15 | mapped to. | 14 | mapped to. |
| 16 | 15 | ||
| 17 | Optional properties: | 16 | Optional properties: |
| 18 | - reset-active-low: Is the reset gpio is active on physical low? | 17 | - reset-gpios: The GPIO used to reset the OLED display, if available. See |
| 18 | Documentation/devicetree/bindings/gpio/gpio.txt for details. | ||
| 19 | - vbat-supply: The supply for VBAT | ||
| 19 | - solomon,segment-no-remap: Display needs normal (non-inverted) data column | 20 | - solomon,segment-no-remap: Display needs normal (non-inverted) data column |
| 20 | to segment mapping | 21 | to segment mapping |
| 21 | - solomon,com-seq: Display uses sequential COM pin configuration | 22 | - solomon,com-seq: Display uses sequential COM pin configuration |
diff --git a/Documentation/devicetree/bindings/display/tilcdc/panel.txt b/Documentation/devicetree/bindings/display/tilcdc/panel.txt index f20b31cdc59a..808216310ea2 100644 --- a/Documentation/devicetree/bindings/display/tilcdc/panel.txt +++ b/Documentation/devicetree/bindings/display/tilcdc/panel.txt | |||
| @@ -15,7 +15,7 @@ Required properties: | |||
| 15 | - display-timings: typical videomode of lcd panel. Multiple video modes | 15 | - display-timings: typical videomode of lcd panel. Multiple video modes |
| 16 | can be listed if the panel supports multiple timings, but the 'native-mode' | 16 | can be listed if the panel supports multiple timings, but the 'native-mode' |
| 17 | should be the preferred/default resolution. Refer to | 17 | should be the preferred/default resolution. Refer to |
| 18 | Documentation/devicetree/bindings/display/display-timing.txt for display | 18 | Documentation/devicetree/bindings/display/panel/display-timing.txt for display |
| 19 | timing binding details. | 19 | timing binding details. |
| 20 | 20 | ||
| 21 | Optional properties: | 21 | Optional properties: |
diff --git a/Documentation/devicetree/bindings/display/zte,vou.txt b/Documentation/devicetree/bindings/display/zte,vou.txt index 740e5bd2e4f7..9c356284232b 100644 --- a/Documentation/devicetree/bindings/display/zte,vou.txt +++ b/Documentation/devicetree/bindings/display/zte,vou.txt | |||
| @@ -49,6 +49,15 @@ Required properties: | |||
| 49 | "osc_clk" | 49 | "osc_clk" |
| 50 | "xclk" | 50 | "xclk" |
| 51 | 51 | ||
| 52 | * TV Encoder output device | ||
| 53 | |||
| 54 | Required properties: | ||
| 55 | - compatible: should be "zte,zx296718-tvenc" | ||
| 56 | - reg: Physical base address and length of the TVENC device IO region | ||
| 57 | - zte,tvenc-power-control: the phandle to SYSCTRL block followed by two | ||
| 58 | integer cells. The first cell is the offset of SYSCTRL register used | ||
| 59 | to control TV Encoder DAC power, and the second cell is the bit mask. | ||
| 60 | |||
| 52 | Example: | 61 | Example: |
| 53 | 62 | ||
| 54 | vou: vou@1440000 { | 63 | vou: vou@1440000 { |
| @@ -81,4 +90,10 @@ vou: vou@1440000 { | |||
| 81 | <&topcrm HDMI_XCLK>; | 90 | <&topcrm HDMI_XCLK>; |
| 82 | clock-names = "osc_cec", "osc_clk", "xclk"; | 91 | clock-names = "osc_cec", "osc_clk", "xclk"; |
| 83 | }; | 92 | }; |
| 93 | |||
| 94 | tvenc: tvenc@2000 { | ||
| 95 | compatible = "zte,zx296718-tvenc"; | ||
| 96 | reg = <0x2000 0x1000>; | ||
| 97 | zte,tvenc-power-control = <&sysctrl 0x170 0x10>; | ||
| 98 | }; | ||
| 84 | }; | 99 | }; |
diff --git a/Documentation/devicetree/bindings/eeprom/eeprom.txt b/Documentation/devicetree/bindings/eeprom/eeprom.txt index 735bc94444bb..5696eb508e95 100644 --- a/Documentation/devicetree/bindings/eeprom/eeprom.txt +++ b/Documentation/devicetree/bindings/eeprom/eeprom.txt | |||
| @@ -10,6 +10,8 @@ Required properties: | |||
| 10 | 10 | ||
| 11 | "catalyst,24c32" | 11 | "catalyst,24c32" |
| 12 | 12 | ||
| 13 | "microchip,24c128" | ||
| 14 | |||
| 13 | "ramtron,24c64" | 15 | "ramtron,24c64" |
| 14 | 16 | ||
| 15 | "renesas,r1ex24002" | 17 | "renesas,r1ex24002" |
diff --git a/Documentation/devicetree/bindings/gpio/cortina,gemini-gpio.txt b/Documentation/devicetree/bindings/gpio/cortina,gemini-gpio.txt new file mode 100644 index 000000000000..5c9246c054e5 --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/cortina,gemini-gpio.txt | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | Cortina Systems Gemini GPIO Controller | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | |||
| 5 | - compatible : Must be "cortina,gemini-gpio" | ||
| 6 | - reg : Should contain registers location and length | ||
| 7 | - interrupts : Should contain the interrupt line for the GPIO block | ||
| 8 | - gpio-controller : marks this as a GPIO controller | ||
| 9 | - #gpio-cells : Should be 2, see gpio/gpio.txt | ||
| 10 | - interrupt-controller : marks this as an interrupt controller | ||
| 11 | - #interrupt-cells : a standard two-cell interrupt flag, see | ||
| 12 | interrupt-controller/interrupts.txt | ||
| 13 | |||
| 14 | Example: | ||
| 15 | |||
| 16 | gpio@4d000000 { | ||
| 17 | compatible = "cortina,gemini-gpio"; | ||
| 18 | reg = <0x4d000000 0x100>; | ||
| 19 | interrupts = <22 IRQ_TYPE_LEVEL_HIGH>; | ||
| 20 | gpio-controller; | ||
| 21 | #gpio-cells = <2>; | ||
| 22 | interrupt-controller; | ||
| 23 | #interrupt-cells = <2>; | ||
| 24 | }; | ||
diff --git a/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt b/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt index 08dd15f89ba9..e63935710011 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt | |||
| @@ -29,6 +29,10 @@ Required properties: | |||
| 29 | onsemi,pca9654 | 29 | onsemi,pca9654 |
| 30 | exar,xra1202 | 30 | exar,xra1202 |
| 31 | 31 | ||
| 32 | Optional properties: | ||
| 33 | - reset-gpios: GPIO specification for the RESET input. This is an | ||
| 34 | active low signal to the PCA953x. | ||
| 35 | |||
| 32 | Example: | 36 | Example: |
| 33 | 37 | ||
| 34 | 38 | ||
diff --git a/Documentation/devicetree/bindings/gpio/gpio.txt b/Documentation/devicetree/bindings/gpio/gpio.txt index 68d28f62a6f4..84ede036f73d 100644 --- a/Documentation/devicetree/bindings/gpio/gpio.txt +++ b/Documentation/devicetree/bindings/gpio/gpio.txt | |||
| @@ -187,10 +187,10 @@ gpio-controller's driver probe function. | |||
| 187 | 187 | ||
| 188 | Each GPIO hog definition is represented as a child node of the GPIO controller. | 188 | Each GPIO hog definition is represented as a child node of the GPIO controller. |
| 189 | Required properties: | 189 | Required properties: |
| 190 | - gpio-hog: A property specifying that this child node represent a GPIO hog. | 190 | - gpio-hog: A property specifying that this child node represents a GPIO hog. |
| 191 | - gpios: Store the GPIO information (id, flags, ...). Shall contain the | 191 | - gpios: Store the GPIO information (id, flags, ...) for each GPIO to |
| 192 | number of cells specified in its parent node (GPIO controller | 192 | affect. Shall contain an integer multiple of the number of cells |
| 193 | node). | 193 | specified in its parent node (GPIO controller node). |
| 194 | Only one of the following properties scanned in the order shown below. | 194 | Only one of the following properties scanned in the order shown below. |
| 195 | This means that when multiple properties are present they will be searched | 195 | This means that when multiple properties are present they will be searched |
| 196 | in the order presented below and the first match is taken as the intended | 196 | in the order presented below and the first match is taken as the intended |
diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-utgard.txt b/Documentation/devicetree/bindings/gpu/arm,mali-utgard.txt new file mode 100644 index 000000000000..476f5ea6c627 --- /dev/null +++ b/Documentation/devicetree/bindings/gpu/arm,mali-utgard.txt | |||
| @@ -0,0 +1,81 @@ | |||
| 1 | ARM Mali Utgard GPU | ||
| 2 | =================== | ||
| 3 | |||
| 4 | Required properties: | ||
| 5 | - compatible | ||
| 6 | * Must be one of the following: | ||
| 7 | + "arm,mali-300" | ||
| 8 | + "arm,mali-400" | ||
| 9 | + "arm,mali-450" | ||
| 10 | * And, optionally, one of the vendor specific compatible: | ||
| 11 | + allwinner,sun4i-a10-mali | ||
| 12 | + allwinner,sun7i-a20-mali | ||
| 13 | + amlogic,meson-gxbb-mali | ||
| 14 | + amlogic,meson-gxl-mali | ||
| 15 | + stericsson,db8500-mali | ||
| 16 | |||
| 17 | - reg: Physical base address and length of the GPU registers | ||
| 18 | |||
| 19 | - interrupts: an entry for each entry in interrupt-names. | ||
| 20 | See ../interrupt-controller/interrupts.txt for details. | ||
| 21 | |||
| 22 | - interrupt-names: | ||
| 23 | * ppX: Pixel Processor X interrupt (X from 0 to 7) | ||
| 24 | * ppmmuX: Pixel Processor X MMU interrupt (X from 0 to 7) | ||
| 25 | * pp: Pixel Processor broadcast interrupt (mali-450 only) | ||
| 26 | * gp: Geometry Processor interrupt | ||
| 27 | * gpmmu: Geometry Processor MMU interrupt | ||
| 28 | |||
| 29 | - clocks: an entry for each entry in clock-names | ||
| 30 | - clock-names: | ||
| 31 | * bus: bus clock for the GPU | ||
| 32 | * core: clock driving the GPU itself | ||
| 33 | |||
| 34 | Optional properties: | ||
| 35 | - interrupt-names and interrupts: | ||
| 36 | * pmu: Power Management Unit interrupt, if implemented in hardware | ||
| 37 | |||
| 38 | Vendor-specific bindings | ||
| 39 | ------------------------ | ||
| 40 | |||
| 41 | The Mali GPU is integrated very differently from one SoC to | ||
| 42 | another. In order to accomodate those differences, you have the option | ||
| 43 | to specify one more vendor-specific compatible, among: | ||
| 44 | |||
| 45 | - allwinner,sun4i-a10-mali | ||
| 46 | Required properties: | ||
| 47 | * resets: phandle to the reset line for the GPU | ||
| 48 | |||
| 49 | - allwinner,sun7i-a20-mali | ||
| 50 | Required properties: | ||
| 51 | * resets: phandle to the reset line for the GPU | ||
| 52 | |||
| 53 | - stericsson,db8500-mali | ||
| 54 | Required properties: | ||
| 55 | * interrupt-names and interrupts: | ||
| 56 | + combined: combined interrupt of all of the above lines | ||
| 57 | |||
| 58 | Example: | ||
| 59 | |||
| 60 | mali: gpu@1c40000 { | ||
| 61 | compatible = "allwinner,sun7i-a20-mali", "arm,mali-400"; | ||
| 62 | reg = <0x01c40000 0x10000>; | ||
| 63 | interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, | ||
| 64 | <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, | ||
| 65 | <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, | ||
| 66 | <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, | ||
| 67 | <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, | ||
| 68 | <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, | ||
| 69 | <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; | ||
| 70 | interrupt-names = "gp", | ||
| 71 | "gpmmu", | ||
| 72 | "pp0", | ||
| 73 | "ppmmu0", | ||
| 74 | "pp1", | ||
| 75 | "ppmmu1", | ||
| 76 | "pmu"; | ||
| 77 | clocks = <&ccu CLK_BUS_GPU>, <&ccu CLK_GPU>; | ||
| 78 | clock-names = "bus", "core"; | ||
| 79 | resets = <&ccu RST_BUS_GPU>; | ||
| 80 | }; | ||
| 81 | |||
diff --git a/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.txt b/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.txt index cf53d5fba20a..aa097045a10e 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.txt | |||
| @@ -19,7 +19,14 @@ Optional Properties: | |||
| 19 | - i2c-mux-idle-disconnect: Boolean; if defined, forces mux to disconnect all | 19 | - i2c-mux-idle-disconnect: Boolean; if defined, forces mux to disconnect all |
| 20 | children in idle state. This is necessary for example, if there are several | 20 | children in idle state. This is necessary for example, if there are several |
| 21 | multiplexers on the bus and the devices behind them use same I2C addresses. | 21 | multiplexers on the bus and the devices behind them use same I2C addresses. |
| 22 | 22 | - interrupt-parent: Phandle for the interrupt controller that services | |
| 23 | interrupts for this device. | ||
| 24 | - interrupts: Interrupt mapping for IRQ. | ||
| 25 | - interrupt-controller: Marks the device node as an interrupt controller. | ||
| 26 | - #interrupt-cells : Should be two. | ||
| 27 | - first cell is the pin number | ||
| 28 | - second cell is used to specify flags. | ||
| 29 | See also Documentation/devicetree/bindings/interrupt-controller/interrupts.txt | ||
| 23 | 30 | ||
| 24 | Example: | 31 | Example: |
| 25 | 32 | ||
| @@ -29,6 +36,11 @@ Example: | |||
| 29 | #size-cells = <0>; | 36 | #size-cells = <0>; |
| 30 | reg = <0x74>; | 37 | reg = <0x74>; |
| 31 | 38 | ||
| 39 | interrupt-parent = <&ipic>; | ||
| 40 | interrupts = <17 IRQ_TYPE_LEVEL_LOW>; | ||
| 41 | interrupt-controller; | ||
| 42 | #interrupt-cells = <2>; | ||
| 43 | |||
| 32 | i2c@2 { | 44 | i2c@2 { |
| 33 | #address-cells = <1>; | 45 | #address-cells = <1>; |
| 34 | #size-cells = <0>; | 46 | #size-cells = <0>; |
diff --git a/Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt b/Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt index 7716acc55dec..ae9c2a735f39 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt | |||
| @@ -10,6 +10,7 @@ Required properties: | |||
| 10 | - "renesas,iic-r8a7793" (R-Car M2-N) | 10 | - "renesas,iic-r8a7793" (R-Car M2-N) |
| 11 | - "renesas,iic-r8a7794" (R-Car E2) | 11 | - "renesas,iic-r8a7794" (R-Car E2) |
| 12 | - "renesas,iic-r8a7795" (R-Car H3) | 12 | - "renesas,iic-r8a7795" (R-Car H3) |
| 13 | - "renesas,iic-r8a7796" (R-Car M3-W) | ||
| 13 | - "renesas,iic-sh73a0" (SH-Mobile AG5) | 14 | - "renesas,iic-sh73a0" (SH-Mobile AG5) |
| 14 | - "renesas,rcar-gen2-iic" (generic R-Car Gen2 compatible device) | 15 | - "renesas,rcar-gen2-iic" (generic R-Car Gen2 compatible device) |
| 15 | - "renesas,rcar-gen3-iic" (generic R-Car Gen3 compatible device) | 16 | - "renesas,rcar-gen3-iic" (generic R-Car Gen3 compatible device) |
diff --git a/Documentation/devicetree/bindings/i2c/i2c-stm32.txt b/Documentation/devicetree/bindings/i2c/i2c-stm32.txt new file mode 100644 index 000000000000..78eaf7b718ed --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/i2c-stm32.txt | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | * I2C controller embedded in STMicroelectronics STM32 I2C platform | ||
| 2 | |||
| 3 | Required properties : | ||
| 4 | - compatible : Must be "st,stm32f4-i2c" | ||
| 5 | - reg : Offset and length of the register set for the device | ||
| 6 | - interrupts : Must contain the interrupt id for I2C event and then the | ||
| 7 | interrupt id for I2C error. | ||
| 8 | - resets: Must contain the phandle to the reset controller. | ||
| 9 | - clocks: Must contain the input clock of the I2C instance. | ||
| 10 | - A pinctrl state named "default" must be defined to set pins in mode of | ||
| 11 | operation for I2C transfer | ||
| 12 | - #address-cells = <1>; | ||
| 13 | - #size-cells = <0>; | ||
| 14 | |||
| 15 | Optional properties : | ||
| 16 | - clock-frequency : Desired I2C bus clock frequency in Hz. If not specified, | ||
| 17 | the default 100 kHz frequency will be used. As only Normal and Fast modes | ||
| 18 | are supported, possible values are 100000 and 400000. | ||
| 19 | |||
| 20 | Example : | ||
| 21 | |||
| 22 | i2c@40005400 { | ||
| 23 | compatible = "st,stm32f4-i2c"; | ||
| 24 | #address-cells = <1>; | ||
| 25 | #size-cells = <0>; | ||
| 26 | reg = <0x40005400 0x400>; | ||
| 27 | interrupts = <31>, | ||
| 28 | <32>; | ||
| 29 | resets = <&rcc 277>; | ||
| 30 | clocks = <&rcc 0 149>; | ||
| 31 | pinctrl-0 = <&i2c1_sda_pin>, <&i2c1_scl_pin>; | ||
| 32 | pinctrl-names = "default"; | ||
| 33 | }; | ||
diff --git a/Documentation/devicetree/bindings/i2c/nvidia,tegra186-bpmp-i2c.txt b/Documentation/devicetree/bindings/i2c/nvidia,tegra186-bpmp-i2c.txt new file mode 100644 index 000000000000..ab240e10debc --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/nvidia,tegra186-bpmp-i2c.txt | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | NVIDIA Tegra186 BPMP I2C controller | ||
| 2 | |||
| 3 | In Tegra186, the BPMP (Boot and Power Management Processor) owns certain HW | ||
| 4 | devices, such as the I2C controller for the power management I2C bus. Software | ||
| 5 | running on other CPUs must perform IPC to the BPMP in order to execute | ||
| 6 | transactions on that I2C bus. This binding describes an I2C bus that is | ||
| 7 | accessed in such a fashion. | ||
| 8 | |||
| 9 | The BPMP I2C node must be located directly inside the main BPMP node. See | ||
| 10 | ../firmware/nvidia,tegra186-bpmp.txt for details of the BPMP binding. | ||
| 11 | |||
| 12 | This node represents an I2C controller. See ../i2c/i2c.txt for details of the | ||
| 13 | core I2C binding. | ||
| 14 | |||
| 15 | Required properties: | ||
| 16 | - compatible: | ||
| 17 | Array of strings. | ||
| 18 | One of: | ||
| 19 | - "nvidia,tegra186-bpmp-i2c". | ||
| 20 | - #address-cells: Address cells for I2C device address. | ||
| 21 | Single-cell integer. | ||
| 22 | Must be <1>. | ||
| 23 | - #size-cells: | ||
| 24 | Single-cell integer. | ||
| 25 | Must be <0>. | ||
| 26 | - nvidia,bpmp-bus-id: | ||
| 27 | Single-cell integer. | ||
| 28 | Indicates the I2C bus number this DT node represent, as defined by the | ||
| 29 | BPMP firmware. | ||
| 30 | |||
| 31 | Example: | ||
| 32 | |||
| 33 | bpmp { | ||
| 34 | ... | ||
| 35 | |||
| 36 | i2c { | ||
| 37 | compatible = "nvidia,tegra186-bpmp-i2c"; | ||
| 38 | #address-cells = <1>; | ||
| 39 | #size-cells = <0>; | ||
| 40 | nvidia,bpmp-bus-id = <5>; | ||
| 41 | }; | ||
| 42 | }; | ||
diff --git a/Documentation/devicetree/bindings/i2c/trivial-devices.txt b/Documentation/devicetree/bindings/i2c/trivial-devices.txt index cdd7b48826c3..ad10fbe61562 100644 --- a/Documentation/devicetree/bindings/i2c/trivial-devices.txt +++ b/Documentation/devicetree/bindings/i2c/trivial-devices.txt | |||
| @@ -36,6 +36,7 @@ dallas,ds1775 Tiny Digital Thermometer and Thermostat | |||
| 36 | dallas,ds3232 Extremely Accurate I²C RTC with Integrated Crystal and SRAM | 36 | dallas,ds3232 Extremely Accurate I²C RTC with Integrated Crystal and SRAM |
| 37 | dallas,ds4510 CPU Supervisor with Nonvolatile Memory and Programmable I/O | 37 | dallas,ds4510 CPU Supervisor with Nonvolatile Memory and Programmable I/O |
| 38 | dallas,ds75 Digital Thermometer and Thermostat | 38 | dallas,ds75 Digital Thermometer and Thermostat |
| 39 | devantech,srf08 Devantech SRF08 ultrasonic ranger | ||
| 39 | dlg,da9053 DA9053: flexible system level PMIC with multicore support | 40 | dlg,da9053 DA9053: flexible system level PMIC with multicore support |
| 40 | dlg,da9063 DA9063: system PMIC for quad-core application processors | 41 | dlg,da9063 DA9063: system PMIC for quad-core application processors |
| 41 | domintech,dmard09 DMARD09: 3-axis Accelerometer | 42 | domintech,dmard09 DMARD09: 3-axis Accelerometer |
diff --git a/Documentation/devicetree/bindings/iio/accel/lis302.txt b/Documentation/devicetree/bindings/iio/accel/lis302.txt index 2a19bff9693f..dfdce67826ba 100644 --- a/Documentation/devicetree/bindings/iio/accel/lis302.txt +++ b/Documentation/devicetree/bindings/iio/accel/lis302.txt | |||
| @@ -5,7 +5,7 @@ that apply in on the generic device (independent from the bus). | |||
| 5 | 5 | ||
| 6 | 6 | ||
| 7 | Required properties for the SPI bindings: | 7 | Required properties for the SPI bindings: |
| 8 | - compatible: should be set to "st,lis3lv02d_spi" | 8 | - compatible: should be set to "st,lis3lv02d-spi" |
| 9 | - reg: the chipselect index | 9 | - reg: the chipselect index |
| 10 | - spi-max-frequency: maximal bus speed, should be set to 1000000 unless | 10 | - spi-max-frequency: maximal bus speed, should be set to 1000000 unless |
| 11 | constrained by external circuitry | 11 | constrained by external circuitry |
diff --git a/Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.txt b/Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.txt new file mode 100644 index 000000000000..f9e3ff2c656e --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.txt | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | * Amlogic Meson SAR (Successive Approximation Register) A/D converter | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: depending on the SoC this should be one of: | ||
| 5 | - "amlogic,meson-gxbb-saradc" for GXBB | ||
| 6 | - "amlogic,meson-gxl-saradc" for GXL | ||
| 7 | - "amlogic,meson-gxm-saradc" for GXM | ||
| 8 | along with the generic "amlogic,meson-saradc" | ||
| 9 | - reg: the physical base address and length of the registers | ||
| 10 | - clocks: phandle and clock identifier (see clock-names) | ||
| 11 | - clock-names: mandatory clocks: | ||
| 12 | - "clkin" for the reference clock (typically XTAL) | ||
| 13 | - "core" for the SAR ADC core clock | ||
| 14 | optional clocks: | ||
| 15 | - "sana" for the analog clock | ||
| 16 | - "adc_clk" for the ADC (sampling) clock | ||
| 17 | - "adc_sel" for the ADC (sampling) clock mux | ||
| 18 | - vref-supply: the regulator supply for the ADC reference voltage | ||
| 19 | - #io-channel-cells: must be 1, see ../iio-bindings.txt | ||
| 20 | |||
| 21 | Example: | ||
| 22 | saradc: adc@8680 { | ||
| 23 | compatible = "amlogic,meson-gxl-saradc", "amlogic,meson-saradc"; | ||
| 24 | #io-channel-cells = <1>; | ||
| 25 | reg = <0x0 0x8680 0x0 0x34>; | ||
| 26 | clocks = <&xtal>, | ||
| 27 | <&clkc CLKID_SAR_ADC>, | ||
| 28 | <&clkc CLKID_SANA>, | ||
| 29 | <&clkc CLKID_SAR_ADC_CLK>, | ||
| 30 | <&clkc CLKID_SAR_ADC_SEL>; | ||
| 31 | clock-names = "clkin", "core", "sana", "adc_clk", "adc_sel"; | ||
| 32 | }; | ||
diff --git a/Documentation/devicetree/bindings/iio/adc/avia-hx711.txt b/Documentation/devicetree/bindings/iio/adc/avia-hx711.txt new file mode 100644 index 000000000000..b3629405f568 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/avia-hx711.txt | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | * AVIA HX711 ADC chip for weight cells | ||
| 2 | Bit-banging driver | ||
| 3 | |||
| 4 | Required properties: | ||
| 5 | - compatible: Should be "avia,hx711" | ||
| 6 | - sck-gpios: Definition of the GPIO for the clock | ||
| 7 | - dout-gpios: Definition of the GPIO for data-out | ||
| 8 | See Documentation/devicetree/bindings/gpio/gpio.txt | ||
| 9 | - avdd-supply: Definition of the regulator used as analog supply | ||
| 10 | |||
| 11 | Example: | ||
| 12 | weight@0 { | ||
| 13 | compatible = "avia,hx711"; | ||
| 14 | sck-gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>; | ||
| 15 | dout-gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; | ||
| 16 | avdd-suppy = <&avdd>; | ||
| 17 | }; | ||
| 18 | |||
diff --git a/Documentation/devicetree/bindings/iio/adc/max11100.txt b/Documentation/devicetree/bindings/iio/adc/max11100.txt new file mode 100644 index 000000000000..b7f7177b8aca --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/max11100.txt | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | * Maxim max11100 Analog to Digital Converter (ADC) | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: Should be "maxim,max11100" | ||
| 5 | - reg: the adc unit address | ||
| 6 | - vref-supply: phandle to the regulator that provides reference voltage | ||
| 7 | |||
| 8 | Optional properties: | ||
| 9 | - spi-max-frequency: SPI maximum frequency | ||
| 10 | |||
| 11 | Example: | ||
| 12 | |||
| 13 | max11100: adc@0 { | ||
| 14 | compatible = "maxim,max11100"; | ||
| 15 | reg = <0>; | ||
| 16 | vref-supply = <&adc0_vref>; | ||
| 17 | spi-max-frequency = <240000>; | ||
| 18 | }; | ||
diff --git a/Documentation/devicetree/bindings/iio/adc/qcom,pm8xxx-xoadc.txt b/Documentation/devicetree/bindings/iio/adc/qcom,pm8xxx-xoadc.txt new file mode 100644 index 000000000000..53cd146d8096 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/qcom,pm8xxx-xoadc.txt | |||
| @@ -0,0 +1,149 @@ | |||
| 1 | Qualcomm's PM8xxx voltage XOADC | ||
| 2 | |||
| 3 | The Qualcomm PM8xxx PMICs contain a HK/XO ADC (Housekeeping/Crystal | ||
| 4 | oscillator ADC) encompassing PM8018, PM8038, PM8058 and PM8921. | ||
| 5 | |||
| 6 | Required properties: | ||
| 7 | |||
| 8 | - compatible: should be one of: | ||
| 9 | "qcom,pm8018-adc" | ||
| 10 | "qcom,pm8038-adc" | ||
| 11 | "qcom,pm8058-adc" | ||
| 12 | "qcom,pm8921-adc" | ||
| 13 | |||
| 14 | - reg: should contain the ADC base address in the PMIC, typically | ||
| 15 | 0x197. | ||
| 16 | |||
| 17 | - xoadc-ref-supply: should reference a regulator that can supply | ||
| 18 | a reference voltage on demand. The reference voltage may vary | ||
| 19 | with PMIC variant but is typically something like 2.2 or 1.8V. | ||
| 20 | |||
| 21 | The following required properties are standard for IO channels, see | ||
| 22 | iio-bindings.txt for more details: | ||
| 23 | |||
| 24 | - #address-cells: should be set to <1> | ||
| 25 | |||
| 26 | - #size-cells: should be set to <0> | ||
| 27 | |||
| 28 | - #io-channel-cells: should be set to <1> | ||
| 29 | |||
| 30 | - interrupts: should refer to the parent PMIC interrupt controller | ||
| 31 | and reference the proper ADC interrupt. | ||
| 32 | |||
| 33 | Required subnodes: | ||
| 34 | |||
| 35 | The ADC channels are configured as subnodes of the ADC. Since some of | ||
| 36 | them are used for calibrating the ADC, these nodes are compulsory: | ||
| 37 | |||
| 38 | adc-channel@c { | ||
| 39 | reg = <0x0c>; | ||
| 40 | }; | ||
| 41 | |||
| 42 | adc-channel@d { | ||
| 43 | reg = <0x0d>; | ||
| 44 | }; | ||
| 45 | |||
| 46 | adc-channel@f { | ||
| 47 | reg = <0x0f>; | ||
| 48 | }; | ||
| 49 | |||
| 50 | These three nodes are used for absolute and ratiometric calibration | ||
| 51 | and only need to have these reg values: they are by hardware definition | ||
| 52 | 1:1 ratio converters that sample 625, 1250 and 0 milliV and create | ||
| 53 | an interpolation calibration for all other ADCs. | ||
| 54 | |||
| 55 | Optional subnodes: any channels other than channel 0x0c, 0x0d and | ||
| 56 | 0x0f are optional. | ||
| 57 | |||
| 58 | Required channel node properties: | ||
| 59 | |||
| 60 | - reg: should contain the hardware channel number in the range | ||
| 61 | 0 .. 0x0f (4 bits). The hardware only supports 16 channels. | ||
| 62 | |||
| 63 | Optional channel node properties: | ||
| 64 | |||
| 65 | - qcom,decimation: | ||
| 66 | Value type: <u32> | ||
| 67 | Definition: This parameter is used to decrease the ADC sampling rate. | ||
| 68 | Quicker measurements can be made by reducing the decimation ratio. | ||
| 69 | Valid values are 512, 1024, 2048, 4096. | ||
| 70 | If the property is not found, a default value of 512 will be used. | ||
| 71 | |||
| 72 | - qcom,ratiometric: | ||
| 73 | Value type: <u32> | ||
| 74 | Definition: Channel calibration type. If this property is specified | ||
| 75 | VADC will use a special voltage references for channel | ||
| 76 | calibration. The available references are specified in the | ||
| 77 | as a u32 value setting (see below) and it is compulsory | ||
| 78 | to also specify this reference if ratiometric calibration | ||
| 79 | is selected. | ||
| 80 | |||
| 81 | If the property is not found, the channel will be | ||
| 82 | calibrated with the 0.625V and 1.25V reference channels, also | ||
| 83 | known as an absolute calibration. | ||
| 84 | The reference voltage pairs when using ratiometric calibration: | ||
| 85 | 0 = XO_IN/XOADC_GND | ||
| 86 | 1 = PMIC_IN/XOADC_GND | ||
| 87 | 2 = PMIC_IN/BMS_CSP | ||
| 88 | 3 (invalid) | ||
| 89 | 4 = XOADC_GND/XOADC_GND | ||
| 90 | 5 = XOADC_VREF/XOADC_GND | ||
| 91 | |||
| 92 | Example: | ||
| 93 | |||
| 94 | xoadc: xoadc@197 { | ||
| 95 | compatible = "qcom,pm8058-adc"; | ||
| 96 | reg = <0x197>; | ||
| 97 | interrupt-parent = <&pm8058>; | ||
| 98 | interrupts = <76 1>; | ||
| 99 | #address-cells = <1>; | ||
| 100 | #size-cells = <0>; | ||
| 101 | #io-channel-cells = <1>; | ||
| 102 | |||
| 103 | vcoin: adc-channel@0 { | ||
| 104 | reg = <0x00>; | ||
| 105 | }; | ||
| 106 | vbat: adc-channel@1 { | ||
| 107 | reg = <0x01>; | ||
| 108 | }; | ||
| 109 | dcin: adc-channel@2 { | ||
| 110 | reg = <0x02>; | ||
| 111 | }; | ||
| 112 | ichg: adc-channel@3 { | ||
| 113 | reg = <0x03>; | ||
| 114 | }; | ||
| 115 | vph_pwr: adc-channel@4 { | ||
| 116 | reg = <0x04>; | ||
| 117 | }; | ||
| 118 | usb_vbus: adc-channel@a { | ||
| 119 | reg = <0x0a>; | ||
| 120 | }; | ||
| 121 | die_temp: adc-channel@b { | ||
| 122 | reg = <0x0b>; | ||
| 123 | }; | ||
| 124 | ref_625mv: adc-channel@c { | ||
| 125 | reg = <0x0c>; | ||
| 126 | }; | ||
| 127 | ref_1250mv: adc-channel@d { | ||
| 128 | reg = <0x0d>; | ||
| 129 | }; | ||
| 130 | ref_325mv: adc-channel@e { | ||
| 131 | reg = <0x0e>; | ||
| 132 | }; | ||
| 133 | ref_muxoff: adc-channel@f { | ||
| 134 | reg = <0x0f>; | ||
| 135 | }; | ||
| 136 | }; | ||
| 137 | |||
| 138 | |||
| 139 | /* IIO client node */ | ||
| 140 | iio-hwmon { | ||
| 141 | compatible = "iio-hwmon"; | ||
| 142 | io-channels = <&xoadc 0x01>, /* Battery */ | ||
| 143 | <&xoadc 0x02>, /* DC in (charger) */ | ||
| 144 | <&xoadc 0x04>, /* VPH the main system voltage */ | ||
| 145 | <&xoadc 0x0b>, /* Die temperature */ | ||
| 146 | <&xoadc 0x0c>, /* Reference voltage 1.25V */ | ||
| 147 | <&xoadc 0x0d>, /* Reference voltage 0.625V */ | ||
| 148 | <&xoadc 0x0e>; /* Reference voltage 0.325V */ | ||
| 149 | }; | ||
diff --git a/Documentation/devicetree/bindings/iio/adc/renesas,gyroadc.txt b/Documentation/devicetree/bindings/iio/adc/renesas,gyroadc.txt new file mode 100644 index 000000000000..f5b0adae6010 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/renesas,gyroadc.txt | |||
| @@ -0,0 +1,99 @@ | |||
| 1 | * Renesas RCar GyroADC device driver | ||
| 2 | |||
| 3 | The GyroADC block is a reduced SPI block with up to 8 chipselect lines, | ||
| 4 | which supports the SPI protocol of a selected few SPI ADCs. The SPI ADCs | ||
| 5 | are sampled by the GyroADC block in a round-robin fashion and the result | ||
| 6 | presented in the GyroADC registers. | ||
| 7 | |||
| 8 | Required properties: | ||
| 9 | - compatible: Should be "<soc-specific>", "renesas,rcar-gyroadc". | ||
| 10 | The <soc-specific> should be one of: | ||
| 11 | renesas,r8a7791-gyroadc - for the GyroADC block present | ||
| 12 | in r8a7791 SoC | ||
| 13 | renesas,r8a7792-gyroadc - for the GyroADC with interrupt | ||
| 14 | block present in r8a7792 SoC | ||
| 15 | - reg: Address and length of the register set for the device | ||
| 16 | - clocks: References to all the clocks specified in the clock-names | ||
| 17 | property as specified in | ||
| 18 | Documentation/devicetree/bindings/clock/clock-bindings.txt. | ||
| 19 | - clock-names: Shall contain "fck" and "if". The "fck" is the GyroADC block | ||
| 20 | clock, the "if" is the interface clock. | ||
| 21 | - power-domains: Must contain a reference to the PM domain, if available. | ||
| 22 | - #address-cells: Should be <1> (setting for the subnodes) for all ADCs | ||
| 23 | except for "fujitsu,mb88101a". Should be <0> (setting for | ||
| 24 | only subnode) for "fujitsu,mb88101a". | ||
| 25 | - #size-cells: Should be <0> (setting for the subnodes) | ||
| 26 | |||
| 27 | Sub-nodes: | ||
| 28 | You must define subnode(s) which select the connected ADC type and reference | ||
| 29 | voltage for the GyroADC channels. | ||
| 30 | |||
| 31 | Required properties for subnodes: | ||
| 32 | - compatible: Should be either of: | ||
| 33 | "fujitsu,mb88101a" | ||
| 34 | - Fujitsu MB88101A compatible mode, | ||
| 35 | 12bit sampling, up to 4 channels can be sampled in | ||
| 36 | round-robin fashion. One Fujitsu chip supplies four | ||
| 37 | GyroADC channels with data as it contains four ADCs | ||
| 38 | on the chip and thus for 4-channel operation, single | ||
| 39 | MB88101A is required. The Cx chipselect lines of the | ||
| 40 | MB88101A connect directly to two CHS lines of the | ||
| 41 | GyroADC, no demuxer is required. The data out line | ||
| 42 | of each MB88101A connects to a shared input pin of | ||
| 43 | the GyroADC. | ||
| 44 | "ti,adcs7476" or "ti,adc121" or "adi,ad7476" | ||
| 45 | - TI ADCS7476 / TI ADC121 / ADI AD7476 compatible mode, | ||
| 46 | 15bit sampling, up to 8 channels can be sampled in | ||
| 47 | round-robin fashion. One TI/ADI chip supplies single | ||
| 48 | ADC channel with data, thus for 8-channel operation, | ||
| 49 | 8 chips are required. A 3:8 chipselect demuxer is | ||
| 50 | required to connect the nCS line of the TI/ADI chips | ||
| 51 | to the GyroADC, while MISO line of each TI/ADI ADC | ||
| 52 | connects to a shared input pin of the GyroADC. | ||
| 53 | "maxim,max1162" or "maxim,max11100" | ||
| 54 | - Maxim MAX1162 / Maxim MAX11100 compatible mode, | ||
| 55 | 16bit sampling, up to 8 channels can be sampled in | ||
| 56 | round-robin fashion. One Maxim chip supplies single | ||
| 57 | ADC channel with data, thus for 8-channel operation, | ||
| 58 | 8 chips are required. A 3:8 chipselect demuxer is | ||
| 59 | required to connect the nCS line of the MAX chips | ||
| 60 | to the GyroADC, while MISO line of each Maxim ADC | ||
| 61 | connects to a shared input pin of the GyroADC. | ||
| 62 | - reg: Should be the number of the analog input. Should be present | ||
| 63 | for all ADCs except "fujitsu,mb88101a". | ||
| 64 | - vref-supply: Reference to the channel reference voltage regulator. | ||
| 65 | |||
| 66 | Example: | ||
| 67 | vref_max1162: regulator-vref-max1162 { | ||
| 68 | compatible = "regulator-fixed"; | ||
| 69 | |||
| 70 | regulator-name = "MAX1162 Vref"; | ||
| 71 | regulator-min-microvolt = <4096000>; | ||
| 72 | regulator-max-microvolt = <4096000>; | ||
| 73 | }; | ||
| 74 | |||
| 75 | adc@e6e54000 { | ||
| 76 | compatible = "renesas,r8a7791-gyroadc", "renesas,rcar-gyroadc"; | ||
| 77 | reg = <0 0xe6e54000 0 64>; | ||
| 78 | clocks = <&mstp9_clks R8A7791_CLK_GYROADC>, <&clk_65m>; | ||
| 79 | clock-names = "fck", "if"; | ||
| 80 | power-domains = <&sysc R8A7791_PD_ALWAYS_ON>; | ||
| 81 | |||
| 82 | pinctrl-0 = <&adc_pins>; | ||
| 83 | pinctrl-names = "default"; | ||
| 84 | |||
| 85 | #address-cells = <1>; | ||
| 86 | #size-cells = <0>; | ||
| 87 | |||
| 88 | adc@0 { | ||
| 89 | reg = <0>; | ||
| 90 | compatible = "maxim,max1162"; | ||
| 91 | vref-supply = <&vref_max1162>; | ||
| 92 | }; | ||
| 93 | |||
| 94 | adc@1 { | ||
| 95 | reg = <1>; | ||
| 96 | compatible = "maxim,max1162"; | ||
| 97 | vref-supply = <&vref_max1162>; | ||
| 98 | }; | ||
| 99 | }; | ||
diff --git a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.txt b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.txt index 49ed82e89870..5dfc88ec24a4 100644 --- a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.txt +++ b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.txt | |||
| @@ -53,6 +53,11 @@ Required properties: | |||
| 53 | - #io-channel-cells = <1>: See the IIO bindings section "IIO consumers" in | 53 | - #io-channel-cells = <1>: See the IIO bindings section "IIO consumers" in |
| 54 | Documentation/devicetree/bindings/iio/iio-bindings.txt | 54 | Documentation/devicetree/bindings/iio/iio-bindings.txt |
| 55 | 55 | ||
| 56 | Optional properties: | ||
| 57 | - dmas: Phandle to dma channel for this ADC instance. | ||
| 58 | See ../../dma/dma.txt for details. | ||
| 59 | - dma-names: Must be "rx" when dmas property is being used. | ||
| 60 | |||
| 56 | Example: | 61 | Example: |
| 57 | adc: adc@40012000 { | 62 | adc: adc@40012000 { |
| 58 | compatible = "st,stm32f4-adc-core"; | 63 | compatible = "st,stm32f4-adc-core"; |
| @@ -77,6 +82,8 @@ Example: | |||
| 77 | interrupt-parent = <&adc>; | 82 | interrupt-parent = <&adc>; |
| 78 | interrupts = <0>; | 83 | interrupts = <0>; |
| 79 | st,adc-channels = <8>; | 84 | st,adc-channels = <8>; |
| 85 | dmas = <&dma2 0 0 0x400 0x0>; | ||
| 86 | dma-names = "rx"; | ||
| 80 | }; | 87 | }; |
| 81 | ... | 88 | ... |
| 82 | other adc child nodes follow... | 89 | other adc child nodes follow... |
diff --git a/Documentation/devicetree/bindings/iio/adc/ti-ads7950.txt b/Documentation/devicetree/bindings/iio/adc/ti-ads7950.txt new file mode 100644 index 000000000000..e77a6f7e1001 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/ti-ads7950.txt | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | * Texas Instruments ADS7950 family of A/DC chips | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: Must be one of "ti,ads7950", "ti,ads7951", "ti,ads7952", | ||
| 5 | "ti,ads7953", "ti,ads7954", "ti,ads7955", "ti,ads7956", "ti,ads7957", | ||
| 6 | "ti,ads7958", "ti,ads7959", "ti,ads7960", or "ti,ads7961" | ||
| 7 | - reg: SPI chip select number for the device | ||
| 8 | - #io-channel-cells: Must be 1 as per ../iio-bindings.txt | ||
| 9 | - vref-supply: phandle to a regulator node that supplies the 2.5V or 5V | ||
| 10 | reference voltage | ||
| 11 | |||
| 12 | Recommended properties: | ||
| 13 | - spi-max-frequency: Definition as per | ||
| 14 | Documentation/devicetree/bindings/spi/spi-bus.txt | ||
| 15 | |||
| 16 | Example: | ||
| 17 | adc@0 { | ||
| 18 | compatible = "ti,ads7957"; | ||
| 19 | reg = <0>; | ||
| 20 | #io-channel-cells = <1>; | ||
| 21 | vref-supply = <&refin_supply>; | ||
| 22 | spi-max-frequency = <10000000>; | ||
| 23 | }; | ||
diff --git a/Documentation/devicetree/bindings/iio/imu/bmi160.txt b/Documentation/devicetree/bindings/iio/imu/bmi160.txt new file mode 100644 index 000000000000..ae0112c7debc --- /dev/null +++ b/Documentation/devicetree/bindings/iio/imu/bmi160.txt | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | Bosch BMI160 - Inertial Measurement Unit with Accelerometer, Gyroscope | ||
| 2 | and externally connectable Magnetometer | ||
| 3 | |||
| 4 | https://www.bosch-sensortec.com/bst/products/all_products/bmi160 | ||
| 5 | |||
| 6 | Required properties: | ||
| 7 | - compatible : should be "bosch,bmi160" | ||
| 8 | - reg : the I2C address or SPI chip select number of the sensor | ||
| 9 | - spi-max-frequency : set maximum clock frequency (only for SPI) | ||
| 10 | |||
| 11 | Optional properties: | ||
| 12 | - interrupt-parent : should be the phandle of the interrupt controller | ||
| 13 | - interrupts : interrupt mapping for IRQ, must be IRQ_TYPE_LEVEL_LOW | ||
| 14 | - interrupt-names : set to "INT1" if INT1 pin should be used as interrupt | ||
| 15 | input, set to "INT2" if INT2 pin should be used instead | ||
| 16 | |||
| 17 | Examples: | ||
| 18 | |||
| 19 | bmi160@68 { | ||
| 20 | compatible = "bosch,bmi160"; | ||
| 21 | reg = <0x68>; | ||
| 22 | |||
| 23 | interrupt-parent = <&gpio4>; | ||
| 24 | interrupts = <12 IRQ_TYPE_LEVEL_LOW>; | ||
| 25 | interrupt-names = "INT1"; | ||
| 26 | }; | ||
| 27 | |||
| 28 | bmi160@0 { | ||
| 29 | compatible = "bosch,bmi160"; | ||
| 30 | reg = <0>; | ||
| 31 | spi-max-frequency = <10000000>; | ||
| 32 | |||
| 33 | interrupt-parent = <&gpio2>; | ||
| 34 | interrupts = <12 IRQ_TYPE_LEVEL_LOW>; | ||
| 35 | interrupt-names = "INT2"; | ||
| 36 | }; | ||
diff --git a/Documentation/devicetree/bindings/iio/imu/st_lsm6dsx.txt b/Documentation/devicetree/bindings/iio/imu/st_lsm6dsx.txt new file mode 100644 index 000000000000..cf81afdf7803 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/imu/st_lsm6dsx.txt | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | * ST_LSM6DSx driver for STM 6-axis (acc + gyro) imu Mems sensors | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: must be one of: | ||
| 5 | "st,lsm6ds3" | ||
| 6 | "st,lsm6dsm" | ||
| 7 | - reg: i2c address of the sensor / spi cs line | ||
| 8 | |||
| 9 | Optional properties: | ||
| 10 | - st,drdy-int-pin: the pin on the package that will be used to signal | ||
| 11 | "data ready" (valid values: 1 or 2). | ||
| 12 | - interrupt-parent: should be the phandle for the interrupt controller | ||
| 13 | - interrupts: interrupt mapping for IRQ. It should be configured with | ||
| 14 | flags IRQ_TYPE_LEVEL_HIGH or IRQ_TYPE_EDGE_RISING. | ||
| 15 | |||
| 16 | Refer to interrupt-controller/interrupts.txt for generic interrupt | ||
| 17 | client node bindings. | ||
| 18 | |||
| 19 | Example: | ||
| 20 | |||
| 21 | lsm6dsm@6b { | ||
| 22 | compatible = "st,lsm6dsm"; | ||
| 23 | reg = <0x6b>; | ||
| 24 | interrupt-parent = <&gpio0>; | ||
| 25 | interrupts = <0 IRQ_TYPE_EDGE_RISING>; | ||
| 26 | }; | ||
diff --git a/Documentation/devicetree/bindings/iio/light/cm3605.txt b/Documentation/devicetree/bindings/iio/light/cm3605.txt new file mode 100644 index 000000000000..56331a79f9ab --- /dev/null +++ b/Documentation/devicetree/bindings/iio/light/cm3605.txt | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | Capella Microsystems CM3605 | ||
| 2 | Ambient Light and Short Distance Proximity Sensor | ||
| 3 | |||
| 4 | The CM3605 is an entirely analog part which however require quite a bit of | ||
| 5 | software logic to interface a host operating system. | ||
| 6 | |||
| 7 | This ALS and proximity sensor was one of the very first deployed in mobile | ||
| 8 | handsets, notably it is used in the very first Nexus One Android phone from | ||
| 9 | 2010. | ||
| 10 | |||
| 11 | Required properties: | ||
| 12 | - compatible: must be: "capella,cm3605" | ||
| 13 | - aset-gpios: GPIO line controlling the ASET line (drive low | ||
| 14 | to activate the ALS, should be flagged GPIO_ACTIVE_LOW) | ||
| 15 | - interrupts: the IRQ line (such as a GPIO) that is connected to | ||
| 16 | the POUT (proximity sensor out) line. The edge detection must | ||
| 17 | be set to IRQ_TYPE_EDGE_BOTH so as to detect movements toward | ||
| 18 | and away from the proximity sensor. | ||
| 19 | - io-channels: the ADC channel used for converting the voltage from | ||
| 20 | AOUT to a digital representation. | ||
| 21 | - io-channel-names: must be "aout" | ||
| 22 | |||
| 23 | Optional properties: | ||
| 24 | - vdd-supply: regulator supplying VDD power to the component. | ||
| 25 | - capella,aset-resistance-ohms: the sensitivity calibration resistance, | ||
| 26 | in Ohms. Valid values are: 50000, 100000, 300000 and 600000, | ||
| 27 | as these are the resistance values that we are supplied with | ||
| 28 | calibration curves for. If not supplied, 100 kOhm will be assumed | ||
| 29 | but it is strongly recommended to supply this. | ||
| 30 | |||
| 31 | Example: | ||
| 32 | |||
| 33 | cm3605 { | ||
| 34 | compatible = "capella,cm3605"; | ||
| 35 | vdd-supply = <&foo_reg>; | ||
| 36 | aset-gpios = <&foo_gpio 1 GPIO_ACTIVE_LOW>; | ||
| 37 | capella,aset-resistance-ohms = <100000>; | ||
| 38 | interrupts = <1 IRQ_TYPE_EDGE_BOTH>; | ||
| 39 | io-channels = <&adc 0x01>; | ||
| 40 | io-channel-names = "aout"; | ||
| 41 | }; | ||
diff --git a/Documentation/devicetree/bindings/iio/potentiometer/max5481.txt b/Documentation/devicetree/bindings/iio/potentiometer/max5481.txt new file mode 100644 index 000000000000..6a91b106e076 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/potentiometer/max5481.txt | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | * Maxim Linear-Taper Digital Potentiometer MAX5481-MAX5484 | ||
| 2 | |||
| 3 | The node for this driver must be a child node of a SPI controller, hence | ||
| 4 | all mandatory properties described in | ||
| 5 | |||
| 6 | Documentation/devicetree/bindings/spi/spi-bus.txt | ||
| 7 | |||
| 8 | must be specified. | ||
| 9 | |||
| 10 | Required properties: | ||
| 11 | - compatible: Must be one of the following, depending on the | ||
| 12 | model: | ||
| 13 | "maxim,max5481" | ||
| 14 | "maxim,max5482" | ||
| 15 | "maxim,max5483" | ||
| 16 | "maxim,max5484" | ||
| 17 | |||
| 18 | Example: | ||
| 19 | max548x: max548x@0 { | ||
| 20 | compatible = "maxim,max5482"; | ||
| 21 | spi-max-frequency = <7000000>; | ||
| 22 | reg = <0>; /* chip-select */ | ||
| 23 | }; | ||
diff --git a/Documentation/devicetree/bindings/iio/st-sensors.txt b/Documentation/devicetree/bindings/iio/st-sensors.txt index c040c9ad1889..eaa8fbba34e2 100644 --- a/Documentation/devicetree/bindings/iio/st-sensors.txt +++ b/Documentation/devicetree/bindings/iio/st-sensors.txt | |||
| @@ -27,6 +27,8 @@ standard bindings from pinctrl/pinctrl-bindings.txt. | |||
| 27 | Valid compatible strings: | 27 | Valid compatible strings: |
| 28 | 28 | ||
| 29 | Accelerometers: | 29 | Accelerometers: |
| 30 | - st,lis3lv02d (deprecated, use st,lis3lv02dl-accel) | ||
| 31 | - st,lis302dl-spi (deprecated, use st,lis3lv02dl-accel) | ||
| 30 | - st,lis3lv02dl-accel | 32 | - st,lis3lv02dl-accel |
| 31 | - st,lsm303dlh-accel | 33 | - st,lsm303dlh-accel |
| 32 | - st,lsm303dlhc-accel | 34 | - st,lsm303dlhc-accel |
diff --git a/Documentation/devicetree/bindings/iio/temperature/tmp007.txt b/Documentation/devicetree/bindings/iio/temperature/tmp007.txt new file mode 100644 index 000000000000..b63aba91ef03 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/temperature/tmp007.txt | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | * TI TMP007 - IR thermopile sensor with integrated math engine | ||
| 2 | |||
| 3 | Link to datasheet: http://www.ti.com/lit/ds/symlink/tmp007.pdf | ||
| 4 | |||
| 5 | Required properties: | ||
| 6 | |||
| 7 | - compatible: should be "ti,tmp007" | ||
| 8 | - reg: the I2C address of the sensor (changeable via ADR pins) | ||
| 9 | ------------------------------ | ||
| 10 | |ADR1 | ADR0 | Device Address| | ||
| 11 | ------------------------------ | ||
| 12 | 0 0 0x40 | ||
| 13 | 0 1 0x41 | ||
| 14 | 0 SDA 0x42 | ||
| 15 | 0 SCL 0x43 | ||
| 16 | 1 0 0x44 | ||
| 17 | 1 1 0x45 | ||
| 18 | 1 SDA 0x46 | ||
| 19 | 1 SCL 0x47 | ||
| 20 | |||
| 21 | Optional properties: | ||
| 22 | |||
| 23 | - interrupt-parent: should be the phandle for the interrupt controller | ||
| 24 | |||
| 25 | - interrupts: interrupt mapping for GPIO IRQ (level active low) | ||
| 26 | |||
| 27 | Example: | ||
| 28 | |||
| 29 | tmp007@40 { | ||
| 30 | compatible = "ti,tmp007"; | ||
| 31 | reg = <0x40>; | ||
| 32 | interrupt-parent = <&gpio0>; | ||
| 33 | interrupts = <5 0x08>; | ||
| 34 | }; | ||
| 35 | |||
diff --git a/Documentation/devicetree/bindings/iio/timer/stm32-timer-trigger.txt b/Documentation/devicetree/bindings/iio/timer/stm32-timer-trigger.txt new file mode 100644 index 000000000000..55a653d15303 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/timer/stm32-timer-trigger.txt | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | STMicroelectronics STM32 Timers IIO timer bindings | ||
| 2 | |||
| 3 | Must be a sub-node of an STM32 Timers device tree node. | ||
| 4 | See ../mfd/stm32-timers.txt for details about the parent node. | ||
| 5 | |||
| 6 | Required parameters: | ||
| 7 | - compatible: Must be "st,stm32-timer-trigger". | ||
| 8 | - reg: Identify trigger hardware block. | ||
| 9 | |||
| 10 | Example: | ||
| 11 | timers@40010000 { | ||
| 12 | #address-cells = <1>; | ||
| 13 | #size-cells = <0>; | ||
| 14 | compatible = "st,stm32-timers"; | ||
| 15 | reg = <0x40010000 0x400>; | ||
| 16 | clocks = <&rcc 0 160>; | ||
| 17 | clock-names = "clk_int"; | ||
| 18 | |||
| 19 | timer@0 { | ||
| 20 | compatible = "st,stm32-timer-trigger"; | ||
| 21 | reg = <0>; | ||
| 22 | }; | ||
| 23 | }; | ||
diff --git a/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt b/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt new file mode 100644 index 000000000000..635f62c756ee --- /dev/null +++ b/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | Samsung tm2-touchkey | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: must be "cypress,tm2-touchkey" | ||
| 5 | - reg: I2C address of the chip. | ||
| 6 | - interrupt-parent: a phandle for the interrupt controller (see interrupt | ||
| 7 | binding[0]). | ||
| 8 | - interrupts: interrupt to which the chip is connected (see interrupt | ||
| 9 | binding[0]). | ||
| 10 | - vcc-supply : internal regulator output. 1.8V | ||
| 11 | - vdd-supply : power supply for IC 3.3V | ||
| 12 | |||
| 13 | [0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt | ||
| 14 | |||
| 15 | Example: | ||
| 16 | &i2c0 { | ||
| 17 | /* ... */ | ||
| 18 | |||
| 19 | touchkey@20 { | ||
| 20 | compatible = "cypress,tm2-touchkey"; | ||
| 21 | reg = <0x20>; | ||
| 22 | interrupt-parent = <&gpa3>; | ||
| 23 | interrupts = <2 IRQ_TYPE_EDGE_FALLING>; | ||
| 24 | vcc-supply=<&ldo32_reg>; | ||
| 25 | vdd-supply=<&ldo33_reg>; | ||
| 26 | }; | ||
| 27 | }; | ||
diff --git a/Documentation/devicetree/bindings/input/mpr121-touchkey.txt b/Documentation/devicetree/bindings/input/mpr121-touchkey.txt new file mode 100644 index 000000000000..b7c61ee5841b --- /dev/null +++ b/Documentation/devicetree/bindings/input/mpr121-touchkey.txt | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | * Freescale MPR121 Controllor | ||
| 2 | |||
| 3 | Required Properties: | ||
| 4 | - compatible: Should be "fsl,mpr121-touchkey" | ||
| 5 | - reg: The I2C slave address of the device. | ||
| 6 | - interrupts: The interrupt number to the cpu. | ||
| 7 | - vdd-supply: Phandle to the Vdd power supply. | ||
| 8 | - linux,keycodes: Specifies an array of numeric keycode values to | ||
| 9 | be used for reporting button presses. The array can | ||
| 10 | contain up to 12 entries. | ||
| 11 | |||
| 12 | Optional Properties: | ||
| 13 | - wakeup-source: Use any event on keypad as wakeup event. | ||
| 14 | - autorepeat: Enable autorepeat feature. | ||
| 15 | |||
| 16 | Example: | ||
| 17 | |||
| 18 | #include "dt-bindings/input/input.h" | ||
| 19 | |||
| 20 | touchkey: mpr121@5a { | ||
| 21 | compatible = "fsl,mpr121-touchkey"; | ||
| 22 | reg = <0x5a>; | ||
| 23 | interrupt-parent = <&gpio1>; | ||
| 24 | interrupts = <28 2>; | ||
| 25 | autorepeat; | ||
| 26 | vdd-supply = <&ldo4_reg>; | ||
| 27 | linux,keycodes = <KEY_0>, <KEY_1>, <KEY_2>, <KEY_3>, | ||
| 28 | <KEY_4> <KEY_5>, <KEY_6>, <KEY_7>, | ||
| 29 | <KEY_8>, <KEY_9>, <KEY_A>, <KEY_B>; | ||
| 30 | }; | ||
diff --git a/Documentation/devicetree/bindings/input/pwm-beeper.txt b/Documentation/devicetree/bindings/input/pwm-beeper.txt index be332ae4f2d6..529408b4431a 100644 --- a/Documentation/devicetree/bindings/input/pwm-beeper.txt +++ b/Documentation/devicetree/bindings/input/pwm-beeper.txt | |||
| @@ -5,3 +5,19 @@ Registers a PWM device as beeper. | |||
| 5 | Required properties: | 5 | Required properties: |
| 6 | - compatible: should be "pwm-beeper" | 6 | - compatible: should be "pwm-beeper" |
| 7 | - pwms: phandle to the physical PWM device | 7 | - pwms: phandle to the physical PWM device |
| 8 | |||
| 9 | Optional properties: | ||
| 10 | - amp-supply: phandle to a regulator that acts as an amplifier for the beeper | ||
| 11 | |||
| 12 | Example: | ||
| 13 | |||
| 14 | beeper_amp: amplifier { | ||
| 15 | compatible = "fixed-regulator"; | ||
| 16 | gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>; | ||
| 17 | }; | ||
| 18 | |||
| 19 | beeper { | ||
| 20 | compatible = "pwm-beeper"; | ||
| 21 | pwms = <&pwm0>; | ||
| 22 | amp-supply = <&beeper_amp>; | ||
| 23 | }; | ||
diff --git a/Documentation/devicetree/bindings/input/touchscreen/zet6223.txt b/Documentation/devicetree/bindings/input/touchscreen/zet6223.txt new file mode 100644 index 000000000000..fe6a1feef703 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/zet6223.txt | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | Zeitec ZET6223 I2C touchscreen controller | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible : "zeitec,zet6223" | ||
| 5 | - reg : I2C slave address of the chip (0x76) | ||
| 6 | - interrupt-parent : a phandle pointing to the interrupt controller | ||
| 7 | serving the interrupt for this chip | ||
| 8 | - interrupts : interrupt specification for the zet6223 interrupt | ||
| 9 | |||
| 10 | Optional properties: | ||
| 11 | |||
| 12 | - vio-supply : Specification for VIO supply (1.8V or 3.3V, | ||
| 13 | depending on system interface needs). | ||
| 14 | - vcc-supply : Specification for 3.3V VCC supply. | ||
| 15 | - touchscreen-size-x : See touchscreen.txt | ||
| 16 | - touchscreen-size-y : See touchscreen.txt | ||
| 17 | - touchscreen-inverted-x : See touchscreen.txt | ||
| 18 | - touchscreen-inverted-y : See touchscreen.txt | ||
| 19 | - touchscreen-swapped-x-y : See touchscreen.txt | ||
| 20 | |||
| 21 | Example: | ||
| 22 | |||
| 23 | i2c@00000000 { | ||
| 24 | |||
| 25 | zet6223: touchscreen@76 { | ||
| 26 | compatible = "zeitec,zet6223"; | ||
| 27 | reg = <0x76>; | ||
| 28 | interrupt-parent = <&pio>; | ||
| 29 | interrupts = <6 11 IRQ_TYPE_EDGE_FALLING> | ||
| 30 | }; | ||
| 31 | |||
| 32 | }; | ||
diff --git a/Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt b/Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt index 5393e2a45a42..560d8a727b8f 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt | |||
| @@ -111,7 +111,7 @@ Example: | |||
| 111 | #interrupt-cells = <3>; | 111 | #interrupt-cells = <3>; |
| 112 | interrupt-controller; | 112 | interrupt-controller; |
| 113 | reg = <0x2c001000 0x1000>, | 113 | reg = <0x2c001000 0x1000>, |
| 114 | <0x2c002000 0x1000>, | 114 | <0x2c002000 0x2000>, |
| 115 | <0x2c004000 0x2000>, | 115 | <0x2c004000 0x2000>, |
| 116 | <0x2c006000 0x2000>; | 116 | <0x2c006000 0x2000>; |
| 117 | interrupts = <1 9 0xf04>; | 117 | interrupts = <1 9 0xf04>; |
diff --git a/Documentation/devicetree/bindings/interrupt-controller/snps,archs-idu-intc.txt b/Documentation/devicetree/bindings/interrupt-controller/snps,archs-idu-intc.txt index 944657684d73..8b46a34e05f1 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/snps,archs-idu-intc.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/snps,archs-idu-intc.txt | |||
| @@ -8,15 +8,11 @@ Properties: | |||
| 8 | - compatible: "snps,archs-idu-intc" | 8 | - compatible: "snps,archs-idu-intc" |
| 9 | - interrupt-controller: This is an interrupt controller. | 9 | - interrupt-controller: This is an interrupt controller. |
| 10 | - interrupt-parent: <reference to parent core intc> | 10 | - interrupt-parent: <reference to parent core intc> |
| 11 | - #interrupt-cells: Must be <2>. | 11 | - #interrupt-cells: Must be <1>. |
| 12 | - interrupts: <...> specifies the upstream core irqs | ||
| 13 | 12 | ||
| 14 | First cell specifies the "common" IRQ from peripheral to IDU | 13 | Value of the cell specifies the "common" IRQ from peripheral to IDU. Number N |
| 15 | Second cell specifies the irq distribution mode to cores | 14 | of the particular interrupt line of IDU corresponds to the line N+24 of the |
| 16 | 0=Round Robin; 1=cpu0, 2=cpu1, 4=cpu2, 8=cpu3 | 15 | core interrupt controller. |
| 17 | |||
| 18 | The second cell in interrupts property is deprecated and may be ignored by | ||
| 19 | the kernel. | ||
| 20 | 16 | ||
| 21 | intc accessed via the special ARC AUX register interface, hence "reg" property | 17 | intc accessed via the special ARC AUX register interface, hence "reg" property |
| 22 | is not specified. | 18 | is not specified. |
| @@ -32,18 +28,10 @@ Example: | |||
| 32 | compatible = "snps,archs-idu-intc"; | 28 | compatible = "snps,archs-idu-intc"; |
| 33 | interrupt-controller; | 29 | interrupt-controller; |
| 34 | interrupt-parent = <&core_intc>; | 30 | interrupt-parent = <&core_intc>; |
| 35 | 31 | #interrupt-cells = <1>; | |
| 36 | /* | ||
| 37 | * <hwirq distribution> | ||
| 38 | * distribution: 0=RR; 1=cpu0, 2=cpu1, 4=cpu2, 8=cpu3 | ||
| 39 | */ | ||
| 40 | #interrupt-cells = <2>; | ||
| 41 | |||
| 42 | /* upstream core irqs: downstream these are "COMMON" irq 0,1.. */ | ||
| 43 | interrupts = <24 25 26 27 28 29 30 31>; | ||
| 44 | }; | 32 | }; |
| 45 | 33 | ||
| 46 | some_device: serial@c0fc1000 { | 34 | some_device: serial@c0fc1000 { |
| 47 | interrupt-parent = <&idu_intc>; | 35 | interrupt-parent = <&idu_intc>; |
| 48 | interrupts = <0 0>; /* upstream idu IRQ #24, Round Robin */ | 36 | interrupts = <0>; /* upstream idu IRQ #24 */ |
| 49 | }; | 37 | }; |
diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.txt b/Documentation/devicetree/bindings/iommu/arm,smmu.txt index e862d1485205..6cdf32d037fc 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.txt +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.txt | |||
| @@ -36,15 +36,15 @@ conditions. | |||
| 36 | combined interrupt, it must be listed multiple times. | 36 | combined interrupt, it must be listed multiple times. |
| 37 | 37 | ||
| 38 | - #iommu-cells : See Documentation/devicetree/bindings/iommu/iommu.txt | 38 | - #iommu-cells : See Documentation/devicetree/bindings/iommu/iommu.txt |
| 39 | for details. With a value of 1, each "iommus" entry | 39 | for details. With a value of 1, each IOMMU specifier |
| 40 | represents a distinct stream ID emitted by that device | 40 | represents a distinct stream ID emitted by that device |
| 41 | into the relevant SMMU. | 41 | into the relevant SMMU. |
| 42 | 42 | ||
| 43 | SMMUs with stream matching support and complex masters | 43 | SMMUs with stream matching support and complex masters |
| 44 | may use a value of 2, where the second cell represents | 44 | may use a value of 2, where the second cell of the |
| 45 | an SMR mask to combine with the ID in the first cell. | 45 | IOMMU specifier represents an SMR mask to combine with |
| 46 | Care must be taken to ensure the set of matched IDs | 46 | the ID in the first cell. Care must be taken to ensure |
| 47 | does not result in conflicts. | 47 | the set of matched IDs does not result in conflicts. |
| 48 | 48 | ||
| 49 | ** System MMU optional properties: | 49 | ** System MMU optional properties: |
| 50 | 50 | ||
diff --git a/Documentation/devicetree/bindings/mfd/as3722.txt b/Documentation/devicetree/bindings/mfd/as3722.txt index 4f64b2a73169..0b2a6099aa20 100644 --- a/Documentation/devicetree/bindings/mfd/as3722.txt +++ b/Documentation/devicetree/bindings/mfd/as3722.txt | |||
| @@ -122,8 +122,7 @@ Following are properties of regulator subnode. | |||
| 122 | 122 | ||
| 123 | Power-off: | 123 | Power-off: |
| 124 | ========= | 124 | ========= |
| 125 | AS3722 supports the system power off by turning off all its rail. This | 125 | AS3722 supports the system power off by turning off all its rails. |
| 126 | is provided through pm_power_off. | ||
| 127 | The device node should have the following properties to enable this | 126 | The device node should have the following properties to enable this |
| 128 | functionality | 127 | functionality |
| 129 | ams,system-power-controller: Boolean, to enable the power off functionality | 128 | ams,system-power-controller: Boolean, to enable the power off functionality |
diff --git a/Documentation/devicetree/bindings/mfd/aspeed-gfx.txt b/Documentation/devicetree/bindings/mfd/aspeed-gfx.txt new file mode 100644 index 000000000000..aea5370efd97 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/aspeed-gfx.txt | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | * Device tree bindings for Aspeed SoC Display Controller (GFX) | ||
| 2 | |||
| 3 | The Aspeed SoC Display Controller primarily does as its name suggests, but also | ||
| 4 | participates in pinmux requests on the g5 SoCs. It is therefore considered a | ||
| 5 | syscon device. | ||
| 6 | |||
| 7 | Required properties: | ||
| 8 | - compatible: "aspeed,ast2500-gfx", "syscon" | ||
| 9 | - reg: contains offset/length value of the GFX memory | ||
| 10 | region. | ||
| 11 | |||
| 12 | Example: | ||
| 13 | |||
| 14 | gfx: display@1e6e6000 { | ||
| 15 | compatible = "aspeed,ast2500-gfx", "syscon"; | ||
| 16 | reg = <0x1e6e6000 0x1000>; | ||
| 17 | }; | ||
diff --git a/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt b/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt new file mode 100644 index 000000000000..514d82ced95b --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt | |||
| @@ -0,0 +1,137 @@ | |||
| 1 | ====================================================================== | ||
| 2 | Device tree bindings for the Aspeed Low Pin Count (LPC) Bus Controller | ||
| 3 | ====================================================================== | ||
| 4 | |||
| 5 | The LPC bus is a means to bridge a host CPU to a number of low-bandwidth | ||
| 6 | peripheral devices, replacing the use of the ISA bus in the age of PCI[0]. The | ||
| 7 | primary use case of the Aspeed LPC controller is as a slave on the bus | ||
| 8 | (typically in a Baseboard Management Controller SoC), but under certain | ||
| 9 | conditions it can also take the role of bus master. | ||
| 10 | |||
| 11 | The LPC controller is represented as a multi-function device to account for the | ||
| 12 | mix of functionality it provides. The principle split is between the register | ||
| 13 | layout at the start of the I/O space which is, to quote the Aspeed datasheet, | ||
| 14 | "basically compatible with the [LPC registers from the] popular BMC controller | ||
| 15 | H8S/2168[1]", and everything else, where everything else is an eclectic | ||
| 16 | collection of functions with a esoteric register layout. "Everything else", | ||
| 17 | here labeled the "host" portion of the controller, includes, but is not limited | ||
| 18 | to: | ||
| 19 | |||
| 20 | * An IPMI Block Transfer[2] Controller | ||
| 21 | |||
| 22 | * An LPC Host Controller: Manages LPC functions such as host vs slave mode, the | ||
| 23 | physical properties of some LPC pins, configuration of serial IRQs, and | ||
| 24 | APB-to-LPC bridging amonst other functions. | ||
| 25 | |||
| 26 | * An LPC Host Interface Controller: Manages functions exposed to the host such | ||
| 27 | as LPC firmware hub cycles, configuration of the LPC-to-AHB mapping, UART | ||
| 28 | management and bus snoop configuration. | ||
| 29 | |||
| 30 | * A set of SuperIO[3] scratch registers: Enables implementation of e.g. custom | ||
| 31 | hardware management protocols for handover between the host and baseboard | ||
| 32 | management controller. | ||
| 33 | |||
| 34 | Additionally the state of the LPC controller influences the pinmux | ||
| 35 | configuration, therefore the host portion of the controller is exposed as a | ||
| 36 | syscon as a means to arbitrate access. | ||
| 37 | |||
| 38 | [0] http://www.intel.com/design/chipsets/industry/25128901.pdf | ||
| 39 | [1] https://www.renesas.com/en-sg/doc/products/mpumcu/001/rej09b0078_h8s2168.pdf?key=7c88837454702128622bee53acbda8f4 | ||
| 40 | [2] http://www.intel.com/content/dam/www/public/us/en/documents/product-briefs/ipmi-second-gen-interface-spec-v2-rev1-1.pdf | ||
| 41 | [3] https://en.wikipedia.org/wiki/Super_I/O | ||
| 42 | |||
| 43 | Required properties | ||
| 44 | =================== | ||
| 45 | |||
| 46 | - compatible: One of: | ||
| 47 | "aspeed,ast2400-lpc", "simple-mfd" | ||
| 48 | "aspeed,ast2500-lpc", "simple-mfd" | ||
| 49 | |||
| 50 | - reg: contains the physical address and length values of the Aspeed | ||
| 51 | LPC memory region. | ||
| 52 | |||
| 53 | - #address-cells: <1> | ||
| 54 | - #size-cells: <1> | ||
| 55 | - ranges: Maps 0 to the physical address and length of the LPC memory | ||
| 56 | region | ||
| 57 | |||
| 58 | Required LPC Child nodes | ||
| 59 | ======================== | ||
| 60 | |||
| 61 | BMC Node | ||
| 62 | -------- | ||
| 63 | |||
| 64 | - compatible: One of: | ||
| 65 | "aspeed,ast2400-lpc-bmc" | ||
| 66 | "aspeed,ast2500-lpc-bmc" | ||
| 67 | |||
| 68 | - reg: contains the physical address and length values of the | ||
| 69 | H8S/2168-compatible LPC controller memory region | ||
| 70 | |||
| 71 | Host Node | ||
| 72 | --------- | ||
| 73 | |||
| 74 | - compatible: One of: | ||
| 75 | "aspeed,ast2400-lpc-host", "simple-mfd", "syscon" | ||
| 76 | "aspeed,ast2500-lpc-host", "simple-mfd", "syscon" | ||
| 77 | |||
| 78 | - reg: contains the address and length values of the host-related | ||
| 79 | register space for the Aspeed LPC controller | ||
| 80 | |||
| 81 | - #address-cells: <1> | ||
| 82 | - #size-cells: <1> | ||
| 83 | - ranges: Maps 0 to the address and length of the host-related LPC memory | ||
| 84 | region | ||
| 85 | |||
| 86 | Example: | ||
| 87 | |||
| 88 | lpc: lpc@1e789000 { | ||
| 89 | compatible = "aspeed,ast2500-lpc", "simple-mfd"; | ||
| 90 | reg = <0x1e789000 0x1000>; | ||
| 91 | |||
| 92 | #address-cells = <1>; | ||
| 93 | #size-cells = <1>; | ||
| 94 | ranges = <0x0 0x1e789000 0x1000>; | ||
| 95 | |||
| 96 | lpc_bmc: lpc-bmc@0 { | ||
| 97 | compatible = "aspeed,ast2500-lpc-bmc"; | ||
| 98 | reg = <0x0 0x80>; | ||
| 99 | }; | ||
| 100 | |||
| 101 | lpc_host: lpc-host@80 { | ||
| 102 | compatible = "aspeed,ast2500-lpc-host", "simple-mfd", "syscon"; | ||
| 103 | reg = <0x80 0x1e0>; | ||
| 104 | reg-io-width = <4>; | ||
| 105 | |||
| 106 | #address-cells = <1>; | ||
| 107 | #size-cells = <1>; | ||
| 108 | ranges = <0x0 0x80 0x1e0>; | ||
| 109 | }; | ||
| 110 | }; | ||
| 111 | |||
| 112 | Host Node Children | ||
| 113 | ================== | ||
| 114 | |||
| 115 | LPC Host Controller | ||
| 116 | ------------------- | ||
| 117 | |||
| 118 | The Aspeed LPC Host Controller configures the Low Pin Count (LPC) bus behaviour | ||
| 119 | between the host and the baseboard management controller. The registers exist | ||
| 120 | in the "host" portion of the Aspeed LPC controller, which must be the parent of | ||
| 121 | the LPC host controller node. | ||
| 122 | |||
| 123 | Required properties: | ||
| 124 | |||
| 125 | - compatible: One of: | ||
| 126 | "aspeed,ast2400-lhc"; | ||
| 127 | "aspeed,ast2500-lhc"; | ||
| 128 | |||
| 129 | - reg: contains offset/length values of the LHC memory regions. In the | ||
| 130 | AST2400 and AST2500 there are two regions. | ||
| 131 | |||
| 132 | Example: | ||
| 133 | |||
| 134 | lhc: lhc@20 { | ||
| 135 | compatible = "aspeed,ast2500-lhc"; | ||
| 136 | reg = <0x20 0x24 0x48 0x8>; | ||
| 137 | }; | ||
diff --git a/Documentation/devicetree/bindings/mfd/mfd.txt b/Documentation/devicetree/bindings/mfd/mfd.txt index af9d6931a1a2..bcb6abb9d413 100644 --- a/Documentation/devicetree/bindings/mfd/mfd.txt +++ b/Documentation/devicetree/bindings/mfd/mfd.txt | |||
| @@ -19,12 +19,22 @@ Optional properties: | |||
| 19 | 19 | ||
| 20 | - compatible : "simple-mfd" - this signifies that the operating system should | 20 | - compatible : "simple-mfd" - this signifies that the operating system should |
| 21 | consider all subnodes of the MFD device as separate devices akin to how | 21 | consider all subnodes of the MFD device as separate devices akin to how |
| 22 | "simple-bus" inidicates when to see subnodes as children for a simple | 22 | "simple-bus" indicates when to see subnodes as children for a simple |
| 23 | memory-mapped bus. For more complex devices, when the nexus driver has to | 23 | memory-mapped bus. For more complex devices, when the nexus driver has to |
| 24 | probe registers to figure out what child devices exist etc, this should not | 24 | probe registers to figure out what child devices exist etc, this should not |
| 25 | be used. In the latter case the child devices will be determined by the | 25 | be used. In the latter case the child devices will be determined by the |
| 26 | operating system. | 26 | operating system. |
| 27 | 27 | ||
| 28 | - ranges: Describes the address mapping relationship to the parent. Should set | ||
| 29 | the child's base address to 0, the physical address within parent's address | ||
| 30 | space, and the length of the address map. | ||
| 31 | |||
| 32 | - #address-cells: Specifies the number of cells used to represent physical base | ||
| 33 | addresses. Must be present if ranges is used. | ||
| 34 | |||
| 35 | - #size-cells: Specifies the number of cells used to represent the size of an | ||
| 36 | address. Must be present if ranges is used. | ||
| 37 | |||
| 28 | Example: | 38 | Example: |
| 29 | 39 | ||
| 30 | foo@1000 { | 40 | foo@1000 { |
diff --git a/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt b/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt new file mode 100644 index 000000000000..15bc885f9df4 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | Motorola CPCAP PMIC device tree binding | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible : One or both of "motorola,cpcap" or "ste,6556002" | ||
| 5 | - reg : SPI chip select | ||
| 6 | - interrupt-parent : The parent interrupt controller | ||
| 7 | - interrupts : The interrupt line the device is connected to | ||
| 8 | - interrupt-controller : Marks the device node as an interrupt controller | ||
| 9 | - #interrupt-cells : The number of cells to describe an IRQ, should be 2 | ||
| 10 | - #address-cells : Child device offset number of cells, should be 1 | ||
| 11 | - #size-cells : Child device size number of cells, should be 0 | ||
| 12 | - spi-max-frequency : Typically set to 3000000 | ||
| 13 | - spi-cs-high : SPI chip select direction | ||
| 14 | |||
| 15 | Example: | ||
| 16 | |||
| 17 | &mcspi1 { | ||
| 18 | cpcap: pmic@0 { | ||
| 19 | compatible = "motorola,cpcap", "ste,6556002"; | ||
| 20 | reg = <0>; /* cs0 */ | ||
| 21 | interrupt-parent = <&gpio1>; | ||
| 22 | interrupts = <7 IRQ_TYPE_EDGE_RISING>; | ||
| 23 | interrupt-controller; | ||
| 24 | #interrupt-cells = <2>; | ||
| 25 | #address-cells = <1>; | ||
| 26 | #size-cells = <0>; | ||
| 27 | spi-max-frequency = <3000000>; | ||
| 28 | spi-cs-high; | ||
| 29 | }; | ||
| 30 | }; | ||
| 31 | |||
diff --git a/Documentation/devicetree/bindings/mfd/mt6397.txt b/Documentation/devicetree/bindings/mfd/mt6397.txt index 949c85f8d02c..c568d52af5af 100644 --- a/Documentation/devicetree/bindings/mfd/mt6397.txt +++ b/Documentation/devicetree/bindings/mfd/mt6397.txt | |||
| @@ -34,6 +34,10 @@ Optional subnodes: | |||
| 34 | - clk | 34 | - clk |
| 35 | Required properties: | 35 | Required properties: |
| 36 | - compatible: "mediatek,mt6397-clk" | 36 | - compatible: "mediatek,mt6397-clk" |
| 37 | - led | ||
| 38 | Required properties: | ||
| 39 | - compatible: "mediatek,mt6323-led" | ||
| 40 | see Documentation/devicetree/bindings/leds/leds-mt6323.txt | ||
| 37 | 41 | ||
| 38 | Example: | 42 | Example: |
| 39 | pwrap: pwrap@1000f000 { | 43 | pwrap: pwrap@1000f000 { |
diff --git a/Documentation/devicetree/bindings/mfd/omap-usb-host.txt b/Documentation/devicetree/bindings/mfd/omap-usb-host.txt index 4721b2d521e4..aa1eaa59581b 100644 --- a/Documentation/devicetree/bindings/mfd/omap-usb-host.txt +++ b/Documentation/devicetree/bindings/mfd/omap-usb-host.txt | |||
| @@ -64,8 +64,8 @@ Required properties if child node exists: | |||
| 64 | Properties for children: | 64 | Properties for children: |
| 65 | 65 | ||
| 66 | The OMAP HS USB Host subsystem contains EHCI and OHCI controllers. | 66 | The OMAP HS USB Host subsystem contains EHCI and OHCI controllers. |
| 67 | See Documentation/devicetree/bindings/usb/omap-ehci.txt and | 67 | See Documentation/devicetree/bindings/usb/ehci-omap.txt and |
| 68 | omap3-ohci.txt | 68 | Documentation/devicetree/bindings/usb/ohci-omap3.txt. |
| 69 | 69 | ||
| 70 | Example for OMAP4: | 70 | Example for OMAP4: |
| 71 | 71 | ||
diff --git a/Documentation/devicetree/bindings/mfd/qcom-rpm.txt b/Documentation/devicetree/bindings/mfd/qcom-rpm.txt index 485bc59fcc48..3c91ad430eea 100644 --- a/Documentation/devicetree/bindings/mfd/qcom-rpm.txt +++ b/Documentation/devicetree/bindings/mfd/qcom-rpm.txt | |||
| @@ -234,7 +234,7 @@ see regulator.txt - with additional custom properties described below: | |||
| 234 | - qcom,switch-mode-frequency: | 234 | - qcom,switch-mode-frequency: |
| 235 | Usage: required | 235 | Usage: required |
| 236 | Value type: <u32> | 236 | Value type: <u32> |
| 237 | Definition: Frequency (Hz) of the swith mode power supply; | 237 | Definition: Frequency (Hz) of the switch mode power supply; |
| 238 | must be one of: | 238 | must be one of: |
| 239 | 19200000, 9600000, 6400000, 4800000, 3840000, 3200000, | 239 | 19200000, 9600000, 6400000, 4800000, 3840000, 3200000, |
| 240 | 2740000, 2400000, 2130000, 1920000, 1750000, 1600000, | 240 | 2740000, 2400000, 2130000, 1920000, 1750000, 1600000, |
diff --git a/Documentation/devicetree/bindings/mfd/stm32-timers.txt b/Documentation/devicetree/bindings/mfd/stm32-timers.txt new file mode 100644 index 000000000000..bbd083f5600a --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/stm32-timers.txt | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | STM32 Timers driver bindings | ||
| 2 | |||
| 3 | This IP provides 3 types of timer along with PWM functionality: | ||
| 4 | - advanced-control timers consist of a 16-bit auto-reload counter driven by a programmable | ||
| 5 | prescaler, break input feature, PWM outputs and complementary PWM ouputs channels. | ||
| 6 | - general-purpose timers consist of a 16-bit or 32-bit auto-reload counter driven by a | ||
| 7 | programmable prescaler and PWM outputs. | ||
| 8 | - basic timers consist of a 16-bit auto-reload counter driven by a programmable prescaler. | ||
| 9 | |||
| 10 | Required parameters: | ||
| 11 | - compatible: must be "st,stm32-timers" | ||
| 12 | |||
| 13 | - reg: Physical base address and length of the controller's | ||
| 14 | registers. | ||
| 15 | - clock-names: Set to "int". | ||
| 16 | - clocks: Phandle to the clock used by the timer module. | ||
| 17 | For Clk properties, please refer to ../clock/clock-bindings.txt | ||
| 18 | |||
| 19 | Optional parameters: | ||
| 20 | - resets: Phandle to the parent reset controller. | ||
| 21 | See ../reset/st,stm32-rcc.txt | ||
| 22 | |||
| 23 | Optional subnodes: | ||
| 24 | - pwm: See ../pwm/pwm-stm32.txt | ||
| 25 | - timer: See ../iio/timer/stm32-timer-trigger.txt | ||
| 26 | |||
| 27 | Example: | ||
| 28 | timers@40010000 { | ||
| 29 | #address-cells = <1>; | ||
| 30 | #size-cells = <0>; | ||
| 31 | compatible = "st,stm32-timers"; | ||
| 32 | reg = <0x40010000 0x400>; | ||
| 33 | clocks = <&rcc 0 160>; | ||
| 34 | clock-names = "clk_int"; | ||
| 35 | |||
| 36 | pwm { | ||
| 37 | compatible = "st,stm32-pwm"; | ||
| 38 | pinctrl-0 = <&pwm1_pins>; | ||
| 39 | pinctrl-names = "default"; | ||
| 40 | }; | ||
| 41 | |||
| 42 | timer@0 { | ||
| 43 | compatible = "st,stm32-timer-trigger"; | ||
| 44 | reg = <0>; | ||
| 45 | }; | ||
| 46 | }; | ||
diff --git a/Documentation/devicetree/bindings/misc/atmel-ssc.txt b/Documentation/devicetree/bindings/misc/atmel-ssc.txt index efc98ea1f23d..f8629bb73945 100644 --- a/Documentation/devicetree/bindings/misc/atmel-ssc.txt +++ b/Documentation/devicetree/bindings/misc/atmel-ssc.txt | |||
| @@ -24,6 +24,8 @@ Optional properties: | |||
| 24 | this parameter to choose where the clock from. | 24 | this parameter to choose where the clock from. |
| 25 | - By default the clock is from TK pin, if the clock from RK pin, this | 25 | - By default the clock is from TK pin, if the clock from RK pin, this |
| 26 | property is needed. | 26 | property is needed. |
| 27 | - #sound-dai-cells: Should contain <0>. | ||
| 28 | - This property makes the SSC into an automatically registered DAI. | ||
| 27 | 29 | ||
| 28 | Examples: | 30 | Examples: |
| 29 | - PDC transfer: | 31 | - PDC transfer: |
diff --git a/Documentation/devicetree/bindings/misc/idt_89hpesx.txt b/Documentation/devicetree/bindings/misc/idt_89hpesx.txt new file mode 100644 index 000000000000..b9093b79ab7d --- /dev/null +++ b/Documentation/devicetree/bindings/misc/idt_89hpesx.txt | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | EEPROM / CSR SMBus-slave interface of IDT 89HPESx devices | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible : should be "<manufacturer>,<type>" | ||
| 5 | Basically there is only one manufacturer: idt, but some | ||
| 6 | compatible devices may be produced in future. Following devices | ||
| 7 | are supported: 89hpes8nt2, 89hpes12nt3, 89hpes24nt6ag2, | ||
| 8 | 89hpes32nt8ag2, 89hpes32nt8bg2, 89hpes12nt12g2, 89hpes16nt16g2, | ||
| 9 | 89hpes24nt24g2, 89hpes32nt24ag2, 89hpes32nt24bg2; | ||
| 10 | 89hpes12n3, 89hpes12n3a, 89hpes24n3, 89hpes24n3a; | ||
| 11 | 89hpes32h8, 89hpes32h8g2, 89hpes48h12, 89hpes48h12g2, | ||
| 12 | 89hpes48h12ag2, 89hpes16h16, 89hpes22h16, 89hpes22h16g2, | ||
| 13 | 89hpes34h16, 89hpes34h16g2, 89hpes64h16, 89hpes64h16g2, | ||
| 14 | 89hpes64h16ag2; | ||
| 15 | 89hpes12t3g2, 89hpes24t3g2, 89hpes16t4, 89hpes4t4g2, | ||
| 16 | 89hpes10t4g2, 89hpes16t4g2, 89hpes16t4ag2, 89hpes5t5, | ||
| 17 | 89hpes6t5, 89hpes8t5, 89hpes8t5a, 89hpes24t6, 89hpes6t6g2, | ||
| 18 | 89hpes24t6g2, 89hpes16t7, 89hpes32t8, 89hpes32t8g2, | ||
| 19 | 89hpes48t12, 89hpes48t12g2. | ||
| 20 | - reg : I2C address of the IDT 89HPESx device. | ||
| 21 | |||
| 22 | Optionally there can be EEPROM-compatible subnode: | ||
| 23 | - compatible: There are five EEPROM devices supported: 24c32, 24c64, 24c128, | ||
| 24 | 24c256 and 24c512 differed by size. | ||
| 25 | - reg: Custom address of EEPROM device (If not specified IDT 89HPESx | ||
| 26 | (optional) device will try to communicate with EEPROM sited by default | ||
| 27 | address - 0x50) | ||
| 28 | - read-only : Parameterless property disables writes to the EEPROM | ||
| 29 | (optional) | ||
| 30 | |||
| 31 | Example: | ||
| 32 | idt@60 { | ||
| 33 | compatible = "idt,89hpes32nt8ag2"; | ||
| 34 | reg = <0x74>; | ||
| 35 | #address-cells = <1>; | ||
| 36 | #size-cells = <0>; | ||
| 37 | |||
| 38 | eeprom@50 { | ||
| 39 | compatible = "onsemi,24c64"; | ||
| 40 | reg = <0x50>; | ||
| 41 | read-only; | ||
| 42 | }; | ||
| 43 | }; | ||
| 44 | |||
diff --git a/Documentation/devicetree/bindings/net/brcm,bcm7445-switch-v4.0.txt b/Documentation/devicetree/bindings/net/brcm,bcm7445-switch-v4.0.txt index fb40891ee606..9a734d808aa7 100644 --- a/Documentation/devicetree/bindings/net/brcm,bcm7445-switch-v4.0.txt +++ b/Documentation/devicetree/bindings/net/brcm,bcm7445-switch-v4.0.txt | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | Required properties: | 3 | Required properties: |
| 4 | 4 | ||
| 5 | - compatible: should be "brcm,bcm7445-switch-v4.0" | 5 | - compatible: should be "brcm,bcm7445-switch-v4.0" or "brcm,bcm7278-switch-v4.0" |
| 6 | - reg: addresses and length of the register sets for the device, must be 6 | 6 | - reg: addresses and length of the register sets for the device, must be 6 |
| 7 | pairs of register addresses and lengths | 7 | pairs of register addresses and lengths |
| 8 | - interrupts: interrupts for the devices, must be two interrupts | 8 | - interrupts: interrupts for the devices, must be two interrupts |
| @@ -41,6 +41,13 @@ Optional properties: | |||
| 41 | Admission Control Block supports reporting the number of packets in-flight in a | 41 | Admission Control Block supports reporting the number of packets in-flight in a |
| 42 | switch queue | 42 | switch queue |
| 43 | 43 | ||
| 44 | Port subnodes: | ||
| 45 | |||
| 46 | Optional properties: | ||
| 47 | |||
| 48 | - brcm,use-bcm-hdr: boolean property, if present, indicates that the switch | ||
| 49 | port has Broadcom tags enabled (per-packet metadata) | ||
| 50 | |||
| 44 | Example: | 51 | Example: |
| 45 | 52 | ||
| 46 | switch_top@f0b00000 { | 53 | switch_top@f0b00000 { |
| @@ -114,6 +121,7 @@ switch_top@f0b00000 { | |||
| 114 | port@0 { | 121 | port@0 { |
| 115 | label = "gphy"; | 122 | label = "gphy"; |
| 116 | reg = <0>; | 123 | reg = <0>; |
| 124 | brcm,use-bcm-hdr; | ||
| 117 | }; | 125 | }; |
| 118 | ... | 126 | ... |
| 119 | }; | 127 | }; |
diff --git a/Documentation/devicetree/bindings/net/brcm,systemport.txt b/Documentation/devicetree/bindings/net/brcm,systemport.txt index 877da34145b0..83f29e0e11ba 100644 --- a/Documentation/devicetree/bindings/net/brcm,systemport.txt +++ b/Documentation/devicetree/bindings/net/brcm,systemport.txt | |||
| @@ -1,7 +1,10 @@ | |||
| 1 | * Broadcom BCM7xxx Ethernet Systemport Controller (SYSTEMPORT) | 1 | * Broadcom BCM7xxx Ethernet Systemport Controller (SYSTEMPORT) |
| 2 | 2 | ||
| 3 | Required properties: | 3 | Required properties: |
| 4 | - compatible: should be one of "brcm,systemport-v1.00" or "brcm,systemport" | 4 | - compatible: should be one of: |
| 5 | "brcm,systemport-v1.00" | ||
| 6 | "brcm,systemportlite-v1.00" or | ||
| 7 | "brcm,systemport" | ||
| 5 | - reg: address and length of the register set for the device. | 8 | - reg: address and length of the register set for the device. |
| 6 | - interrupts: interrupts for the device, first cell must be for the rx | 9 | - interrupts: interrupts for the device, first cell must be for the rx |
| 7 | interrupts, and the second cell should be for the transmit queues. An | 10 | interrupts, and the second cell should be for the transmit queues. An |
diff --git a/Documentation/devicetree/bindings/net/btusb.txt b/Documentation/devicetree/bindings/net/btusb.txt new file mode 100644 index 000000000000..01fa2d4188d4 --- /dev/null +++ b/Documentation/devicetree/bindings/net/btusb.txt | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | Generic Bluetooth controller over USB (btusb driver) | ||
| 2 | --------------------------------------------------- | ||
| 3 | |||
| 4 | Required properties: | ||
| 5 | |||
| 6 | - compatible : should comply with the format "usbVID,PID" specified in | ||
| 7 | Documentation/devicetree/bindings/usb/usb-device.txt | ||
| 8 | At the time of writing, the only OF supported devices | ||
| 9 | (more may be added later) are: | ||
| 10 | |||
| 11 | "usb1286,204e" (Marvell 8997) | ||
| 12 | |||
| 13 | Also, vendors that use btusb may have device additional properties, e.g: | ||
| 14 | Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt | ||
| 15 | |||
| 16 | Optional properties: | ||
| 17 | |||
| 18 | - interrupt-parent: phandle of the parent interrupt controller | ||
| 19 | - interrupt-names: (see below) | ||
| 20 | - interrupts : The interrupt specified by the name "wakeup" is the interrupt | ||
| 21 | that shall be used for out-of-band wake-on-bt. Driver will | ||
| 22 | request this interrupt for wakeup. During system suspend, the | ||
| 23 | irq will be enabled so that the bluetooth chip can wakeup host | ||
| 24 | platform out of band. During system resume, the irq will be | ||
| 25 | disabled to make sure unnecessary interrupt is not received. | ||
| 26 | |||
| 27 | Example: | ||
| 28 | |||
| 29 | Following example uses irq pin number 3 of gpio0 for out of band wake-on-bt: | ||
| 30 | |||
| 31 | &usb_host1_ehci { | ||
| 32 | status = "okay"; | ||
| 33 | #address-cells = <1>; | ||
| 34 | #size-cells = <0>; | ||
| 35 | |||
| 36 | mvl_bt1: bt@1 { | ||
| 37 | compatible = "usb1286,204e"; | ||
| 38 | reg = <1>; | ||
| 39 | interrupt-parent = <&gpio0>; | ||
| 40 | interrupt-name = "wakeup"; | ||
| 41 | interrupts = <3 IRQ_TYPE_LEVEL_LOW>; | ||
| 42 | }; | ||
| 43 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/cpsw.txt b/Documentation/devicetree/bindings/net/cpsw.txt index ebda7c93453a..7cc15c96ea95 100644 --- a/Documentation/devicetree/bindings/net/cpsw.txt +++ b/Documentation/devicetree/bindings/net/cpsw.txt | |||
| @@ -23,7 +23,6 @@ Required properties: | |||
| 23 | 23 | ||
| 24 | Optional properties: | 24 | Optional properties: |
| 25 | - ti,hwmods : Must be "cpgmac0" | 25 | - ti,hwmods : Must be "cpgmac0" |
| 26 | - no_bd_ram : Must be 0 or 1 | ||
| 27 | - dual_emac : Specifies Switch to act as Dual EMAC | 26 | - dual_emac : Specifies Switch to act as Dual EMAC |
| 28 | - syscon : Phandle to the system control device node, which is | 27 | - syscon : Phandle to the system control device node, which is |
| 29 | the control module device of the am33x | 28 | the control module device of the am33x |
| @@ -70,7 +69,6 @@ Examples: | |||
| 70 | cpdma_channels = <8>; | 69 | cpdma_channels = <8>; |
| 71 | ale_entries = <1024>; | 70 | ale_entries = <1024>; |
| 72 | bd_ram_size = <0x2000>; | 71 | bd_ram_size = <0x2000>; |
| 73 | no_bd_ram = <0>; | ||
| 74 | rx_descs = <64>; | 72 | rx_descs = <64>; |
| 75 | mac_control = <0x20>; | 73 | mac_control = <0x20>; |
| 76 | slaves = <2>; | 74 | slaves = <2>; |
| @@ -99,7 +97,6 @@ Examples: | |||
| 99 | cpdma_channels = <8>; | 97 | cpdma_channels = <8>; |
| 100 | ale_entries = <1024>; | 98 | ale_entries = <1024>; |
| 101 | bd_ram_size = <0x2000>; | 99 | bd_ram_size = <0x2000>; |
| 102 | no_bd_ram = <0>; | ||
| 103 | rx_descs = <64>; | 100 | rx_descs = <64>; |
| 104 | mac_control = <0x20>; | 101 | mac_control = <0x20>; |
| 105 | slaves = <2>; | 102 | slaves = <2>; |
diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.txt b/Documentation/devicetree/bindings/net/dsa/dsa.txt index a4a570fb2494..cfe8f64eca4f 100644 --- a/Documentation/devicetree/bindings/net/dsa/dsa.txt +++ b/Documentation/devicetree/bindings/net/dsa/dsa.txt | |||
| @@ -34,13 +34,9 @@ Required properties: | |||
| 34 | 34 | ||
| 35 | Each port children node must have the following mandatory properties: | 35 | Each port children node must have the following mandatory properties: |
| 36 | - reg : Describes the port address in the switch | 36 | - reg : Describes the port address in the switch |
| 37 | - label : Describes the label associated with this port, which | ||
| 38 | will become the netdev name. Special labels are | ||
| 39 | "cpu" to indicate a CPU port and "dsa" to | ||
| 40 | indicate an uplink/downlink port between switches in | ||
| 41 | the cluster. | ||
| 42 | 37 | ||
| 43 | A port labelled "dsa" has the following mandatory property: | 38 | An uplink/downlink port between switches in the cluster has the following |
| 39 | mandatory property: | ||
| 44 | 40 | ||
| 45 | - link : Should be a list of phandles to other switch's DSA | 41 | - link : Should be a list of phandles to other switch's DSA |
| 46 | port. This port is used as the outgoing port | 42 | port. This port is used as the outgoing port |
| @@ -48,12 +44,17 @@ A port labelled "dsa" has the following mandatory property: | |||
| 48 | information must be given, not just the one hop | 44 | information must be given, not just the one hop |
| 49 | routes to neighbouring switches. | 45 | routes to neighbouring switches. |
| 50 | 46 | ||
| 51 | A port labelled "cpu" has the following mandatory property: | 47 | A CPU port has the following mandatory property: |
| 52 | 48 | ||
| 53 | - ethernet : Should be a phandle to a valid Ethernet device node. | 49 | - ethernet : Should be a phandle to a valid Ethernet device node. |
| 54 | This host device is what the switch port is | 50 | This host device is what the switch port is |
| 55 | connected to. | 51 | connected to. |
| 56 | 52 | ||
| 53 | A user port has the following optional property: | ||
| 54 | |||
| 55 | - label : Describes the label associated with this port, which | ||
| 56 | will become the netdev name. | ||
| 57 | |||
| 57 | Port child nodes may also contain the following optional standardised | 58 | Port child nodes may also contain the following optional standardised |
| 58 | properties, described in binding documents: | 59 | properties, described in binding documents: |
| 59 | 60 | ||
| @@ -107,7 +108,6 @@ linked into one DSA cluster. | |||
| 107 | 108 | ||
| 108 | switch0port5: port@5 { | 109 | switch0port5: port@5 { |
| 109 | reg = <5>; | 110 | reg = <5>; |
| 110 | label = "dsa"; | ||
| 111 | phy-mode = "rgmii-txid"; | 111 | phy-mode = "rgmii-txid"; |
| 112 | link = <&switch1port6 | 112 | link = <&switch1port6 |
| 113 | &switch2port9>; | 113 | &switch2port9>; |
| @@ -119,7 +119,6 @@ linked into one DSA cluster. | |||
| 119 | 119 | ||
| 120 | port@6 { | 120 | port@6 { |
| 121 | reg = <6>; | 121 | reg = <6>; |
| 122 | label = "cpu"; | ||
| 123 | ethernet = <&fec1>; | 122 | ethernet = <&fec1>; |
| 124 | fixed-link { | 123 | fixed-link { |
| 125 | speed = <100>; | 124 | speed = <100>; |
| @@ -165,7 +164,6 @@ linked into one DSA cluster. | |||
| 165 | 164 | ||
| 166 | switch1port5: port@5 { | 165 | switch1port5: port@5 { |
| 167 | reg = <5>; | 166 | reg = <5>; |
| 168 | label = "dsa"; | ||
| 169 | link = <&switch2port9>; | 167 | link = <&switch2port9>; |
| 170 | phy-mode = "rgmii-txid"; | 168 | phy-mode = "rgmii-txid"; |
| 171 | fixed-link { | 169 | fixed-link { |
| @@ -176,7 +174,6 @@ linked into one DSA cluster. | |||
| 176 | 174 | ||
| 177 | switch1port6: port@6 { | 175 | switch1port6: port@6 { |
| 178 | reg = <6>; | 176 | reg = <6>; |
| 179 | label = "dsa"; | ||
| 180 | phy-mode = "rgmii-txid"; | 177 | phy-mode = "rgmii-txid"; |
| 181 | link = <&switch0port5>; | 178 | link = <&switch0port5>; |
| 182 | fixed-link { | 179 | fixed-link { |
| @@ -255,7 +252,6 @@ linked into one DSA cluster. | |||
| 255 | 252 | ||
| 256 | switch2port9: port@9 { | 253 | switch2port9: port@9 { |
| 257 | reg = <9>; | 254 | reg = <9>; |
| 258 | label = "dsa"; | ||
| 259 | phy-mode = "rgmii-txid"; | 255 | phy-mode = "rgmii-txid"; |
| 260 | link = <&switch1port5 | 256 | link = <&switch1port5 |
| 261 | &switch0port5>; | 257 | &switch0port5>; |
diff --git a/Documentation/devicetree/bindings/net/dsa/marvell.txt b/Documentation/devicetree/bindings/net/dsa/marvell.txt index b3dd6b40e0de..7ef9dbb08957 100644 --- a/Documentation/devicetree/bindings/net/dsa/marvell.txt +++ b/Documentation/devicetree/bindings/net/dsa/marvell.txt | |||
| @@ -14,9 +14,9 @@ The properties described here are those specific to Marvell devices. | |||
| 14 | Additional required and optional properties can be found in dsa.txt. | 14 | Additional required and optional properties can be found in dsa.txt. |
| 15 | 15 | ||
| 16 | Required properties: | 16 | Required properties: |
| 17 | - compatible : Should be one of "marvell,mv88e6085" or | 17 | - compatible : Should be one of "marvell,mv88e6085" or |
| 18 | "marvell,mv88e6190" | 18 | "marvell,mv88e6190" |
| 19 | - reg : Address on the MII bus for the switch. | 19 | - reg : Address on the MII bus for the switch. |
| 20 | 20 | ||
| 21 | Optional properties: | 21 | Optional properties: |
| 22 | 22 | ||
| @@ -26,30 +26,67 @@ Optional properties: | |||
| 26 | - interrupt-controller : Indicates the switch is itself an interrupt | 26 | - interrupt-controller : Indicates the switch is itself an interrupt |
| 27 | controller. This is used for the PHY interrupts. | 27 | controller. This is used for the PHY interrupts. |
| 28 | #interrupt-cells = <2> : Controller uses two cells, number and flag | 28 | #interrupt-cells = <2> : Controller uses two cells, number and flag |
| 29 | - mdio : container of PHY and devices on the switches MDIO | 29 | - mdio : Container of PHY and devices on the switches MDIO |
| 30 | bus | 30 | bus. |
| 31 | - mdio? : Container of PHYs and devices on the external MDIO | ||
| 32 | bus. The node must contains a compatible string of | ||
| 33 | "marvell,mv88e6xxx-mdio-external" | ||
| 34 | |||
| 31 | Example: | 35 | Example: |
| 32 | 36 | ||
| 33 | mdio { | 37 | mdio { |
| 34 | #address-cells = <1>; | 38 | #address-cells = <1>; |
| 35 | #size-cells = <0>; | 39 | #size-cells = <0>; |
| 36 | interrupt-parent = <&gpio0>; | 40 | interrupt-parent = <&gpio0>; |
| 37 | interrupts = <27 IRQ_TYPE_LEVEL_LOW>; | 41 | interrupts = <27 IRQ_TYPE_LEVEL_LOW>; |
| 38 | interrupt-controller; | 42 | interrupt-controller; |
| 39 | #interrupt-cells = <2>; | 43 | #interrupt-cells = <2>; |
| 40 | 44 | ||
| 41 | switch0: switch@0 { | 45 | switch0: switch@0 { |
| 42 | compatible = "marvell,mv88e6085"; | 46 | compatible = "marvell,mv88e6085"; |
| 43 | reg = <0>; | 47 | reg = <0>; |
| 44 | reset-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; | 48 | reset-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; |
| 45 | }; | 49 | }; |
| 46 | mdio { | 50 | mdio { |
| 47 | #address-cells = <1>; | 51 | #address-cells = <1>; |
| 48 | #size-cells = <0>; | 52 | #size-cells = <0>; |
| 49 | switch1phy0: switch1phy0@0 { | 53 | switch1phy0: switch1phy0@0 { |
| 50 | reg = <0>; | 54 | reg = <0>; |
| 51 | interrupt-parent = <&switch0>; | 55 | interrupt-parent = <&switch0>; |
| 52 | interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; | 56 | interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; |
| 53 | }; | 57 | }; |
| 54 | }; | 58 | }; |
| 55 | }; | 59 | }; |
| 60 | |||
| 61 | mdio { | ||
| 62 | #address-cells = <1>; | ||
| 63 | #size-cells = <0>; | ||
| 64 | interrupt-parent = <&gpio0>; | ||
| 65 | interrupts = <27 IRQ_TYPE_LEVEL_LOW>; | ||
| 66 | interrupt-controller; | ||
| 67 | #interrupt-cells = <2>; | ||
| 68 | |||
| 69 | switch0: switch@0 { | ||
| 70 | compatible = "marvell,mv88e6390"; | ||
| 71 | reg = <0>; | ||
| 72 | reset-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; | ||
| 73 | }; | ||
| 74 | mdio { | ||
| 75 | #address-cells = <1>; | ||
| 76 | #size-cells = <0>; | ||
| 77 | switch1phy0: switch1phy0@0 { | ||
| 78 | reg = <0>; | ||
| 79 | interrupt-parent = <&switch0>; | ||
| 80 | interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; | ||
| 81 | }; | ||
| 82 | }; | ||
| 83 | |||
| 84 | mdio1 { | ||
| 85 | compatible = "marvell,mv88e6xxx-mdio-external"; | ||
| 86 | #address-cells = <1>; | ||
| 87 | #size-cells = <0>; | ||
| 88 | switch1phy9: switch1phy0@9 { | ||
| 89 | reg = <9>; | ||
| 90 | }; | ||
| 91 | }; | ||
| 92 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/ethernet.txt b/Documentation/devicetree/bindings/net/ethernet.txt index 05150957ecfd..3a6916909d90 100644 --- a/Documentation/devicetree/bindings/net/ethernet.txt +++ b/Documentation/devicetree/bindings/net/ethernet.txt | |||
| @@ -29,6 +29,9 @@ The following properties are common to the Ethernet controllers: | |||
| 29 | * "smii" | 29 | * "smii" |
| 30 | * "xgmii" | 30 | * "xgmii" |
| 31 | * "trgmii" | 31 | * "trgmii" |
| 32 | * "2000base-x", | ||
| 33 | * "2500base-x", | ||
| 34 | * "rxaui" | ||
| 32 | - phy-connection-type: the same as "phy-mode" property but described in ePAPR; | 35 | - phy-connection-type: the same as "phy-mode" property but described in ePAPR; |
| 33 | - phy-handle: phandle, specifies a reference to a node representing a PHY | 36 | - phy-handle: phandle, specifies a reference to a node representing a PHY |
| 34 | device; this property is described in ePAPR and so preferred; | 37 | device; this property is described in ePAPR and so preferred; |
diff --git a/Documentation/devicetree/bindings/net/marvell,prestera.txt b/Documentation/devicetree/bindings/net/marvell,prestera.txt new file mode 100644 index 000000000000..5fbab29718e8 --- /dev/null +++ b/Documentation/devicetree/bindings/net/marvell,prestera.txt | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | Marvell Prestera Switch Chip bindings | ||
| 2 | ------------------------------------- | ||
| 3 | |||
| 4 | Required properties: | ||
| 5 | - compatible: one of the following | ||
| 6 | "marvell,prestera-98dx3236", | ||
| 7 | "marvell,prestera-98dx3336", | ||
| 8 | "marvell,prestera-98dx4251", | ||
| 9 | - reg: address and length of the register set for the device. | ||
| 10 | - interrupts: interrupt for the device | ||
| 11 | |||
| 12 | Optional properties: | ||
| 13 | - dfx: phandle reference to the "DFX Server" node | ||
| 14 | |||
| 15 | Example: | ||
| 16 | |||
| 17 | switch { | ||
| 18 | compatible = "simple-bus"; | ||
| 19 | #address-cells = <1>; | ||
| 20 | #size-cells = <1>; | ||
| 21 | ranges = <0 MBUS_ID(0x03, 0x00) 0 0x100000>; | ||
| 22 | |||
| 23 | packet-processor@0 { | ||
| 24 | compatible = "marvell,prestera-98dx3236"; | ||
| 25 | reg = <0 0x4000000>; | ||
| 26 | interrupts = <33>, <34>, <35>; | ||
| 27 | dfx = <&dfx>; | ||
| 28 | }; | ||
| 29 | }; | ||
| 30 | |||
| 31 | DFX Server bindings | ||
| 32 | ------------------- | ||
| 33 | |||
| 34 | Required properties: | ||
| 35 | - compatible: must be "marvell,dfx-server" | ||
| 36 | - reg: address and length of the register set for the device. | ||
| 37 | |||
| 38 | Example: | ||
| 39 | |||
| 40 | dfx-registers { | ||
| 41 | compatible = "simple-bus"; | ||
| 42 | #address-cells = <1>; | ||
| 43 | #size-cells = <1>; | ||
| 44 | ranges = <0 MBUS_ID(0x08, 0x00) 0 0x100000>; | ||
| 45 | |||
| 46 | dfx: dfx@0 { | ||
| 47 | compatible = "marvell,dfx-server"; | ||
| 48 | reg = <0 0x100000>; | ||
| 49 | }; | ||
| 50 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/marvell-armada-370-neta.txt b/Documentation/devicetree/bindings/net/marvell-armada-370-neta.txt index 7aa840c8768d..ae4234ca4ee4 100644 --- a/Documentation/devicetree/bindings/net/marvell-armada-370-neta.txt +++ b/Documentation/devicetree/bindings/net/marvell-armada-370-neta.txt | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | * Marvell Armada 370 / Armada XP / Armada 3700 Ethernet Controller (NETA) | 1 | * Marvell Armada 370 / Armada XP / Armada 3700 Ethernet Controller (NETA) |
| 2 | 2 | ||
| 3 | Required properties: | 3 | Required properties: |
| 4 | - compatible: could be one of the followings | 4 | - compatible: could be one of the following: |
| 5 | "marvell,armada-370-neta" | 5 | "marvell,armada-370-neta" |
| 6 | "marvell,armada-xp-neta" | 6 | "marvell,armada-xp-neta" |
| 7 | "marvell,armada-3700-neta" | 7 | "marvell,armada-3700-neta" |
diff --git a/Documentation/devicetree/bindings/net/marvell-bt-sd8xxx.txt b/Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt index 6a9a63cb0543..9be1059ff03f 100644 --- a/Documentation/devicetree/bindings/net/marvell-bt-sd8xxx.txt +++ b/Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt | |||
| @@ -1,16 +1,21 @@ | |||
| 1 | Marvell 8897/8997 (sd8897/sd8997) bluetooth SDIO devices | 1 | Marvell 8897/8997 (sd8897/sd8997) bluetooth devices (SDIO or USB based) |
| 2 | ------ | 2 | ------ |
| 3 | The 8997 devices supports multiple interfaces. When used on SDIO interfaces, | ||
| 4 | the btmrvl driver is used and when used on USB interface, the btusb driver is | ||
| 5 | used. | ||
| 3 | 6 | ||
| 4 | Required properties: | 7 | Required properties: |
| 5 | 8 | ||
| 6 | - compatible : should be one of the following: | 9 | - compatible : should be one of the following: |
| 7 | * "marvell,sd8897-bt" | 10 | * "marvell,sd8897-bt" (for SDIO) |
| 8 | * "marvell,sd8997-bt" | 11 | * "marvell,sd8997-bt" (for SDIO) |
| 12 | * "usb1286,204e" (for USB) | ||
| 9 | 13 | ||
| 10 | Optional properties: | 14 | Optional properties: |
| 11 | 15 | ||
| 12 | - marvell,cal-data: Calibration data downloaded to the device during | 16 | - marvell,cal-data: Calibration data downloaded to the device during |
| 13 | initialization. This is an array of 28 values(u8). | 17 | initialization. This is an array of 28 values(u8). |
| 18 | This is only applicable to SDIO devices. | ||
| 14 | 19 | ||
| 15 | - marvell,wakeup-pin: It represents wakeup pin number of the bluetooth chip. | 20 | - marvell,wakeup-pin: It represents wakeup pin number of the bluetooth chip. |
| 16 | firmware will use the pin to wakeup host system (u16). | 21 | firmware will use the pin to wakeup host system (u16). |
| @@ -18,10 +23,15 @@ Optional properties: | |||
| 18 | platform. The value will be configured to firmware. This | 23 | platform. The value will be configured to firmware. This |
| 19 | is needed to work chip's sleep feature as expected (u16). | 24 | is needed to work chip's sleep feature as expected (u16). |
| 20 | - interrupt-parent: phandle of the parent interrupt controller | 25 | - interrupt-parent: phandle of the parent interrupt controller |
| 21 | - interrupts : interrupt pin number to the cpu. Driver will request an irq based | 26 | - interrupt-names: Used only for USB based devices (See below) |
| 22 | on this interrupt number. During system suspend, the irq will be | 27 | - interrupts : specifies the interrupt pin number to the cpu. For SDIO, the |
| 23 | enabled so that the bluetooth chip can wakeup host platform under | 28 | driver will use the first interrupt specified in the interrupt |
| 24 | certain condition. During system resume, the irq will be disabled | 29 | array. For USB based devices, the driver will use the interrupt |
| 30 | named "wakeup" from the interrupt-names and interrupt arrays. | ||
| 31 | The driver will request an irq based on this interrupt number. | ||
| 32 | During system suspend, the irq will be enabled so that the | ||
| 33 | bluetooth chip can wakeup host platform under certain | ||
| 34 | conditions. During system resume, the irq will be disabled | ||
| 25 | to make sure unnecessary interrupt is not received. | 35 | to make sure unnecessary interrupt is not received. |
| 26 | 36 | ||
| 27 | Example: | 37 | Example: |
| @@ -29,7 +39,9 @@ Example: | |||
| 29 | IRQ pin 119 is used as system wakeup source interrupt. | 39 | IRQ pin 119 is used as system wakeup source interrupt. |
| 30 | wakeup pin 13 and gap 100ms are configured so that firmware can wakeup host | 40 | wakeup pin 13 and gap 100ms are configured so that firmware can wakeup host |
| 31 | using this device side pin and wakeup latency. | 41 | using this device side pin and wakeup latency. |
| 32 | calibration data is also available in below example. | 42 | |
| 43 | Example for SDIO device follows (calibration data is also available in | ||
| 44 | below example). | ||
| 33 | 45 | ||
| 34 | &mmc3 { | 46 | &mmc3 { |
| 35 | status = "okay"; | 47 | status = "okay"; |
| @@ -54,3 +66,21 @@ calibration data is also available in below example. | |||
| 54 | marvell,wakeup-gap-ms = /bits/ 16 <0x64>; | 66 | marvell,wakeup-gap-ms = /bits/ 16 <0x64>; |
| 55 | }; | 67 | }; |
| 56 | }; | 68 | }; |
| 69 | |||
| 70 | Example for USB device: | ||
| 71 | |||
| 72 | &usb_host1_ohci { | ||
| 73 | status = "okay"; | ||
| 74 | #address-cells = <1>; | ||
| 75 | #size-cells = <0>; | ||
| 76 | |||
| 77 | mvl_bt1: bt@1 { | ||
| 78 | compatible = "usb1286,204e"; | ||
| 79 | reg = <1>; | ||
| 80 | interrupt-parent = <&gpio0>; | ||
| 81 | interrupt-names = "wakeup"; | ||
| 82 | interrupts = <119 IRQ_TYPE_LEVEL_LOW>; | ||
| 83 | marvell,wakeup-pin = /bits/ 16 <0x0d>; | ||
| 84 | marvell,wakeup-gap-ms = /bits/ 16 <0x64>; | ||
| 85 | }; | ||
| 86 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/marvell-pp2.txt b/Documentation/devicetree/bindings/net/marvell-pp2.txt index aa4f4230bfd7..4754364df4c6 100644 --- a/Documentation/devicetree/bindings/net/marvell-pp2.txt +++ b/Documentation/devicetree/bindings/net/marvell-pp2.txt | |||
| @@ -27,9 +27,7 @@ Optional properties (port): | |||
| 27 | 27 | ||
| 28 | - marvell,loopback: port is loopback mode | 28 | - marvell,loopback: port is loopback mode |
| 29 | - phy: a phandle to a phy node defining the PHY address (as the reg | 29 | - phy: a phandle to a phy node defining the PHY address (as the reg |
| 30 | property, a single integer). Note: if this property isn't present, | 30 | property, a single integer). |
| 31 | then fixed link is assumed, and the 'fixed-link' property is | ||
| 32 | mandatory. | ||
| 33 | 31 | ||
| 34 | Example: | 32 | Example: |
| 35 | 33 | ||
diff --git a/Documentation/devicetree/bindings/net/meson-dwmac.txt b/Documentation/devicetree/bindings/net/meson-dwmac.txt index 89e62ddc69ca..0703ad3f3c1e 100644 --- a/Documentation/devicetree/bindings/net/meson-dwmac.txt +++ b/Documentation/devicetree/bindings/net/meson-dwmac.txt | |||
| @@ -25,6 +25,22 @@ Required properties on Meson8b and newer: | |||
| 25 | - "clkin0" - first parent clock of the internal mux | 25 | - "clkin0" - first parent clock of the internal mux |
| 26 | - "clkin1" - second parent clock of the internal mux | 26 | - "clkin1" - second parent clock of the internal mux |
| 27 | 27 | ||
| 28 | Optional properties on Meson8b and newer: | ||
| 29 | - amlogic,tx-delay-ns: The internal RGMII TX clock delay (provided | ||
| 30 | by this driver) in nanoseconds. Allowed values | ||
| 31 | are: 0ns, 2ns, 4ns, 6ns. | ||
| 32 | When phy-mode is set to "rgmii" then the TX | ||
| 33 | delay should be explicitly configured. When | ||
| 34 | not configured a fallback of 2ns is used. | ||
| 35 | When the phy-mode is set to either "rgmii-id" | ||
| 36 | or "rgmii-txid" the TX clock delay is already | ||
| 37 | provided by the PHY. In that case this | ||
| 38 | property should be set to 0ns (which disables | ||
| 39 | the TX clock delay in the MAC to prevent the | ||
| 40 | clock from going off because both PHY and MAC | ||
| 41 | are adding a delay). | ||
| 42 | Any configuration is ignored when the phy-mode | ||
| 43 | is set to "rmii". | ||
| 28 | 44 | ||
| 29 | Example for Meson6: | 45 | Example for Meson6: |
| 30 | 46 | ||
diff --git a/Documentation/devicetree/bindings/net/mscc-phy-vsc8531.txt b/Documentation/devicetree/bindings/net/mscc-phy-vsc8531.txt index bdefefc66594..0eedabe22cc3 100644 --- a/Documentation/devicetree/bindings/net/mscc-phy-vsc8531.txt +++ b/Documentation/devicetree/bindings/net/mscc-phy-vsc8531.txt | |||
| @@ -27,6 +27,14 @@ Optional properties: | |||
| 27 | 'vddmac'. | 27 | 'vddmac'. |
| 28 | Default value is 0%. | 28 | Default value is 0%. |
| 29 | Ref: Table:1 - Edge rate change (below). | 29 | Ref: Table:1 - Edge rate change (below). |
| 30 | - vsc8531,led-0-mode : LED mode. Specify how the LED[0] should behave. | ||
| 31 | Allowed values are define in | ||
| 32 | "include/dt-bindings/net/mscc-phy-vsc8531.h". | ||
| 33 | Default value is VSC8531_LINK_1000_ACTIVITY (1). | ||
| 34 | - vsc8531,led-1-mode : LED mode. Specify how the LED[1] should behave. | ||
| 35 | Allowed values are define in | ||
| 36 | "include/dt-bindings/net/mscc-phy-vsc8531.h". | ||
| 37 | Default value is VSC8531_LINK_100_ACTIVITY (2). | ||
| 30 | 38 | ||
| 31 | Table: 1 - Edge rate change | 39 | Table: 1 - Edge rate change |
| 32 | ----------------------------------------------------------------| | 40 | ----------------------------------------------------------------| |
| @@ -60,4 +68,6 @@ Example: | |||
| 60 | compatible = "ethernet-phy-id0007.0570"; | 68 | compatible = "ethernet-phy-id0007.0570"; |
| 61 | vsc8531,vddmac = <3300>; | 69 | vsc8531,vddmac = <3300>; |
| 62 | vsc8531,edge-slowdown = <7>; | 70 | vsc8531,edge-slowdown = <7>; |
| 71 | vsc8531,led-0-mode = <LINK_1000_ACTIVITY>; | ||
| 72 | vsc8531,led-1-mode = <LINK_100_ACTIVITY>; | ||
| 63 | }; | 73 | }; |
diff --git a/Documentation/devicetree/bindings/net/phy.txt b/Documentation/devicetree/bindings/net/phy.txt index fb5056b22685..b55857696fc3 100644 --- a/Documentation/devicetree/bindings/net/phy.txt +++ b/Documentation/devicetree/bindings/net/phy.txt | |||
| @@ -39,6 +39,10 @@ Optional Properties: | |||
| 39 | - enet-phy-lane-swap: If set, indicates the PHY will swap the TX/RX lanes to | 39 | - enet-phy-lane-swap: If set, indicates the PHY will swap the TX/RX lanes to |
| 40 | compensate for the board being designed with the lanes swapped. | 40 | compensate for the board being designed with the lanes swapped. |
| 41 | 41 | ||
| 42 | - enet-phy-lane-no-swap: If set, indicates that PHY will disable swap of the | ||
| 43 | TX/RX lanes. This property allows the PHY to work correcly after e.g. wrong | ||
| 44 | bootstrap configuration caused by issues in PCB layout design. | ||
| 45 | |||
| 42 | - eee-broken-100tx: | 46 | - eee-broken-100tx: |
| 43 | - eee-broken-1000t: | 47 | - eee-broken-1000t: |
| 44 | - eee-broken-10gt: | 48 | - eee-broken-10gt: |
diff --git a/Documentation/devicetree/bindings/net/rockchip-dwmac.txt b/Documentation/devicetree/bindings/net/rockchip-dwmac.txt index 95383c5131fc..8f427550720a 100644 --- a/Documentation/devicetree/bindings/net/rockchip-dwmac.txt +++ b/Documentation/devicetree/bindings/net/rockchip-dwmac.txt | |||
| @@ -6,6 +6,7 @@ Required properties: | |||
| 6 | - compatible: should be "rockchip,<name>-gamc" | 6 | - compatible: should be "rockchip,<name>-gamc" |
| 7 | "rockchip,rk3228-gmac": found on RK322x SoCs | 7 | "rockchip,rk3228-gmac": found on RK322x SoCs |
| 8 | "rockchip,rk3288-gmac": found on RK3288 SoCs | 8 | "rockchip,rk3288-gmac": found on RK3288 SoCs |
| 9 | "rockchip,rk3328-gmac": found on RK3328 SoCs | ||
| 9 | "rockchip,rk3366-gmac": found on RK3366 SoCs | 10 | "rockchip,rk3366-gmac": found on RK3366 SoCs |
| 10 | "rockchip,rk3368-gmac": found on RK3368 SoCs | 11 | "rockchip,rk3368-gmac": found on RK3368 SoCs |
| 11 | "rockchip,rk3399-gmac": found on RK3399 SoCs | 12 | "rockchip,rk3399-gmac": found on RK3399 SoCs |
diff --git a/Documentation/devicetree/bindings/net/snps,dwc-qos-ethernet.txt b/Documentation/devicetree/bindings/net/snps,dwc-qos-ethernet.txt index d93f71ce8346..21d27aa4c68c 100644 --- a/Documentation/devicetree/bindings/net/snps,dwc-qos-ethernet.txt +++ b/Documentation/devicetree/bindings/net/snps,dwc-qos-ethernet.txt | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | * Synopsys DWC Ethernet QoS IP version 4.10 driver (GMAC) | 1 | * Synopsys DWC Ethernet QoS IP version 4.10 driver (GMAC) |
| 2 | 2 | ||
| 3 | This binding is deprecated, but it continues to be supported, but new | ||
| 4 | features should be preferably added to the stmmac binding document. | ||
| 5 | |||
| 3 | This binding supports the Synopsys Designware Ethernet QoS (Quality Of Service) | 6 | This binding supports the Synopsys Designware Ethernet QoS (Quality Of Service) |
| 4 | IP block. The IP supports multiple options for bus type, clocking and reset | 7 | IP block. The IP supports multiple options for bus type, clocking and reset |
| 5 | structure, and feature list. Consequently, a number of properties and list | 8 | structure, and feature list. Consequently, a number of properties and list |
diff --git a/Documentation/devicetree/bindings/net/stmmac.txt b/Documentation/devicetree/bindings/net/stmmac.txt index 128da752fec9..d3bfc2b30fb5 100644 --- a/Documentation/devicetree/bindings/net/stmmac.txt +++ b/Documentation/devicetree/bindings/net/stmmac.txt | |||
| @@ -49,6 +49,8 @@ Optional properties: | |||
| 49 | - snps,force_sf_dma_mode Force DMA to use the Store and Forward | 49 | - snps,force_sf_dma_mode Force DMA to use the Store and Forward |
| 50 | mode for both tx and rx. This flag is | 50 | mode for both tx and rx. This flag is |
| 51 | ignored if force_thresh_dma_mode is set. | 51 | ignored if force_thresh_dma_mode is set. |
| 52 | - snps,en-tx-lpi-clockgating Enable gating of the MAC TX clock during | ||
| 53 | TX low-power mode | ||
| 52 | - snps,multicast-filter-bins: Number of multicast filter hash bins | 54 | - snps,multicast-filter-bins: Number of multicast filter hash bins |
| 53 | supported by this device instance | 55 | supported by this device instance |
| 54 | - snps,perfect-filter-entries: Number of perfect filter entries supported | 56 | - snps,perfect-filter-entries: Number of perfect filter entries supported |
| @@ -65,7 +67,6 @@ Optional properties: | |||
| 65 | - snps,wr_osr_lmt: max write outstanding req. limit | 67 | - snps,wr_osr_lmt: max write outstanding req. limit |
| 66 | - snps,rd_osr_lmt: max read outstanding req. limit | 68 | - snps,rd_osr_lmt: max read outstanding req. limit |
| 67 | - snps,kbbe: do not cross 1KiB boundary. | 69 | - snps,kbbe: do not cross 1KiB boundary. |
| 68 | - snps,axi_all: align address | ||
| 69 | - snps,blen: this is a vector of supported burst length. | 70 | - snps,blen: this is a vector of supported burst length. |
| 70 | - snps,fb: fixed-burst | 71 | - snps,fb: fixed-burst |
| 71 | - snps,mb: mixed-burst | 72 | - snps,mb: mixed-burst |
diff --git a/Documentation/devicetree/bindings/net/wireless/ieee80211.txt b/Documentation/devicetree/bindings/net/wireless/ieee80211.txt new file mode 100644 index 000000000000..f6442b1397f5 --- /dev/null +++ b/Documentation/devicetree/bindings/net/wireless/ieee80211.txt | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | Common IEEE 802.11 properties | ||
| 2 | |||
| 3 | This provides documentation of common properties that are valid for all wireless | ||
| 4 | devices. | ||
| 5 | |||
| 6 | Optional properties: | ||
| 7 | - ieee80211-freq-limit : list of supported frequency ranges in KHz. This can be | ||
| 8 | used for devices that in a given config support less channels than | ||
| 9 | normally. It may happen chipset supports a wide wireless band but it is | ||
| 10 | limited to some part of it due to used antennas or power amplifier. | ||
| 11 | An example case for this can be tri-band wireless router with two | ||
| 12 | identical chipsets used for two different 5 GHz subbands. Using them | ||
| 13 | incorrectly could not work or decrease performance noticeably. | ||
| 14 | |||
| 15 | Example: | ||
| 16 | |||
| 17 | pcie@0,0 { | ||
| 18 | reg = <0x0000 0 0 0 0>; | ||
| 19 | wifi@0,0 { | ||
| 20 | reg = <0x0000 0 0 0 0>; | ||
| 21 | ieee80211-freq-limit = <2402000 2482000>, | ||
| 22 | <5170000 5250000>; | ||
| 23 | }; | ||
| 24 | }; | ||
diff --git a/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt b/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt index 383d5889e95a..966a72ecc6bd 100644 --- a/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt +++ b/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt | |||
| @@ -1,13 +1,15 @@ | |||
| 1 | Freescale i.MX6 On-Chip OTP Controller (OCOTP) device tree bindings | 1 | Freescale i.MX6 On-Chip OTP Controller (OCOTP) device tree bindings |
| 2 | 2 | ||
| 3 | This binding represents the on-chip eFuse OTP controller found on | 3 | This binding represents the on-chip eFuse OTP controller found on |
| 4 | i.MX6Q/D, i.MX6DL/S, i.MX6SL, and i.MX6SX SoCs. | 4 | i.MX6Q/D, i.MX6DL/S, i.MX6SL, i.MX6SX and i.MX6UL SoCs. |
| 5 | 5 | ||
| 6 | Required properties: | 6 | Required properties: |
| 7 | - compatible: should be one of | 7 | - compatible: should be one of |
| 8 | "fsl,imx6q-ocotp" (i.MX6Q/D/DL/S), | 8 | "fsl,imx6q-ocotp" (i.MX6Q/D/DL/S), |
| 9 | "fsl,imx6sl-ocotp" (i.MX6SL), or | 9 | "fsl,imx6sl-ocotp" (i.MX6SL), or |
| 10 | "fsl,imx6sx-ocotp" (i.MX6SX), followed by "syscon". | 10 | "fsl,imx6sx-ocotp" (i.MX6SX), |
| 11 | "fsl,imx6ul-ocotp" (i.MX6UL), | ||
| 12 | followed by "syscon". | ||
| 11 | - reg: Should contain the register base and length. | 13 | - reg: Should contain the register base and length. |
| 12 | - clocks: Should contain a phandle pointing to the gated peripheral clock. | 14 | - clocks: Should contain a phandle pointing to the gated peripheral clock. |
| 13 | 15 | ||
diff --git a/Documentation/devicetree/bindings/opp/opp.txt b/Documentation/devicetree/bindings/opp/opp.txt index 9f5ca4457b5f..63725498bd20 100644 --- a/Documentation/devicetree/bindings/opp/opp.txt +++ b/Documentation/devicetree/bindings/opp/opp.txt | |||
| @@ -136,7 +136,7 @@ Optional properties: | |||
| 136 | larger OPP table, based on what version of the hardware we are running on. We | 136 | larger OPP table, based on what version of the hardware we are running on. We |
| 137 | still can't have multiple nodes with the same opp-hz value in OPP table. | 137 | still can't have multiple nodes with the same opp-hz value in OPP table. |
| 138 | 138 | ||
| 139 | It's an user defined array containing a hierarchy of hardware version numbers, | 139 | It's a user defined array containing a hierarchy of hardware version numbers, |
| 140 | supported by the OPP. For example: a platform with hierarchy of three levels | 140 | supported by the OPP. For example: a platform with hierarchy of three levels |
| 141 | of versions (A, B and C), this field should be like <X Y Z>, where X | 141 | of versions (A, B and C), this field should be like <X Y Z>, where X |
| 142 | corresponds to Version hierarchy A, Y corresponds to version hierarchy B and Z | 142 | corresponds to Version hierarchy A, Y corresponds to version hierarchy B and Z |
| @@ -188,14 +188,14 @@ Example 1: Single cluster Dual-core ARM cortex A9, switch DVFS states together. | |||
| 188 | 188 | ||
| 189 | opp@1000000000 { | 189 | opp@1000000000 { |
| 190 | opp-hz = /bits/ 64 <1000000000>; | 190 | opp-hz = /bits/ 64 <1000000000>; |
| 191 | opp-microvolt = <970000 975000 985000>; | 191 | opp-microvolt = <975000 970000 985000>; |
| 192 | opp-microamp = <70000>; | 192 | opp-microamp = <70000>; |
| 193 | clock-latency-ns = <300000>; | 193 | clock-latency-ns = <300000>; |
| 194 | opp-suspend; | 194 | opp-suspend; |
| 195 | }; | 195 | }; |
| 196 | opp@1100000000 { | 196 | opp@1100000000 { |
| 197 | opp-hz = /bits/ 64 <1100000000>; | 197 | opp-hz = /bits/ 64 <1100000000>; |
| 198 | opp-microvolt = <980000 1000000 1010000>; | 198 | opp-microvolt = <1000000 980000 1010000>; |
| 199 | opp-microamp = <80000>; | 199 | opp-microamp = <80000>; |
| 200 | clock-latency-ns = <310000>; | 200 | clock-latency-ns = <310000>; |
| 201 | }; | 201 | }; |
| @@ -267,14 +267,14 @@ independently. | |||
| 267 | 267 | ||
| 268 | opp@1000000000 { | 268 | opp@1000000000 { |
| 269 | opp-hz = /bits/ 64 <1000000000>; | 269 | opp-hz = /bits/ 64 <1000000000>; |
| 270 | opp-microvolt = <970000 975000 985000>; | 270 | opp-microvolt = <975000 970000 985000>; |
| 271 | opp-microamp = <70000>; | 271 | opp-microamp = <70000>; |
| 272 | clock-latency-ns = <300000>; | 272 | clock-latency-ns = <300000>; |
| 273 | opp-suspend; | 273 | opp-suspend; |
| 274 | }; | 274 | }; |
| 275 | opp@1100000000 { | 275 | opp@1100000000 { |
| 276 | opp-hz = /bits/ 64 <1100000000>; | 276 | opp-hz = /bits/ 64 <1100000000>; |
| 277 | opp-microvolt = <980000 1000000 1010000>; | 277 | opp-microvolt = <1000000 980000 1010000>; |
| 278 | opp-microamp = <80000>; | 278 | opp-microamp = <80000>; |
| 279 | clock-latency-ns = <310000>; | 279 | clock-latency-ns = <310000>; |
| 280 | }; | 280 | }; |
| @@ -343,14 +343,14 @@ DVFS state together. | |||
| 343 | 343 | ||
| 344 | opp@1000000000 { | 344 | opp@1000000000 { |
| 345 | opp-hz = /bits/ 64 <1000000000>; | 345 | opp-hz = /bits/ 64 <1000000000>; |
| 346 | opp-microvolt = <970000 975000 985000>; | 346 | opp-microvolt = <975000 970000 985000>; |
| 347 | opp-microamp = <70000>; | 347 | opp-microamp = <70000>; |
| 348 | clock-latency-ns = <300000>; | 348 | clock-latency-ns = <300000>; |
| 349 | opp-suspend; | 349 | opp-suspend; |
| 350 | }; | 350 | }; |
| 351 | opp@1100000000 { | 351 | opp@1100000000 { |
| 352 | opp-hz = /bits/ 64 <1100000000>; | 352 | opp-hz = /bits/ 64 <1100000000>; |
| 353 | opp-microvolt = <980000 1000000 1010000>; | 353 | opp-microvolt = <1000000 980000 1010000>; |
| 354 | opp-microamp = <80000>; | 354 | opp-microamp = <80000>; |
| 355 | clock-latency-ns = <310000>; | 355 | clock-latency-ns = <310000>; |
| 356 | }; | 356 | }; |
| @@ -369,7 +369,7 @@ DVFS state together. | |||
| 369 | 369 | ||
| 370 | opp@1300000000 { | 370 | opp@1300000000 { |
| 371 | opp-hz = /bits/ 64 <1300000000>; | 371 | opp-hz = /bits/ 64 <1300000000>; |
| 372 | opp-microvolt = <1045000 1050000 1055000>; | 372 | opp-microvolt = <1050000 1045000 1055000>; |
| 373 | opp-microamp = <95000>; | 373 | opp-microamp = <95000>; |
| 374 | clock-latency-ns = <400000>; | 374 | clock-latency-ns = <400000>; |
| 375 | opp-suspend; | 375 | opp-suspend; |
| @@ -382,7 +382,7 @@ DVFS state together. | |||
| 382 | }; | 382 | }; |
| 383 | opp@1500000000 { | 383 | opp@1500000000 { |
| 384 | opp-hz = /bits/ 64 <1500000000>; | 384 | opp-hz = /bits/ 64 <1500000000>; |
| 385 | opp-microvolt = <1010000 1100000 1110000>; | 385 | opp-microvolt = <1100000 1010000 1110000>; |
| 386 | opp-microamp = <95000>; | 386 | opp-microamp = <95000>; |
| 387 | clock-latency-ns = <400000>; | 387 | clock-latency-ns = <400000>; |
| 388 | turbo-mode; | 388 | turbo-mode; |
| @@ -424,9 +424,9 @@ Example 4: Handling multiple regulators | |||
| 424 | 424 | ||
| 425 | opp@1000000000 { | 425 | opp@1000000000 { |
| 426 | opp-hz = /bits/ 64 <1000000000>; | 426 | opp-hz = /bits/ 64 <1000000000>; |
| 427 | opp-microvolt = <970000 975000 985000>, /* Supply 0 */ | 427 | opp-microvolt = <975000 970000 985000>, /* Supply 0 */ |
| 428 | <960000 965000 975000>, /* Supply 1 */ | 428 | <965000 960000 975000>, /* Supply 1 */ |
| 429 | <960000 965000 975000>; /* Supply 2 */ | 429 | <965000 960000 975000>; /* Supply 2 */ |
| 430 | opp-microamp = <70000>, /* Supply 0 */ | 430 | opp-microamp = <70000>, /* Supply 0 */ |
| 431 | <70000>, /* Supply 1 */ | 431 | <70000>, /* Supply 1 */ |
| 432 | <70000>; /* Supply 2 */ | 432 | <70000>; /* Supply 2 */ |
| @@ -437,9 +437,9 @@ Example 4: Handling multiple regulators | |||
| 437 | 437 | ||
| 438 | opp@1000000000 { | 438 | opp@1000000000 { |
| 439 | opp-hz = /bits/ 64 <1000000000>; | 439 | opp-hz = /bits/ 64 <1000000000>; |
| 440 | opp-microvolt = <970000 975000 985000>, /* Supply 0 */ | 440 | opp-microvolt = <975000 970000 985000>, /* Supply 0 */ |
| 441 | <960000 965000 975000>, /* Supply 1 */ | 441 | <965000 960000 975000>, /* Supply 1 */ |
| 442 | <960000 965000 975000>; /* Supply 2 */ | 442 | <965000 960000 975000>; /* Supply 2 */ |
| 443 | opp-microamp = <70000>, /* Supply 0 */ | 443 | opp-microamp = <70000>, /* Supply 0 */ |
| 444 | <0>, /* Supply 1 doesn't need this */ | 444 | <0>, /* Supply 1 doesn't need this */ |
| 445 | <70000>; /* Supply 2 */ | 445 | <70000>; /* Supply 2 */ |
| @@ -474,7 +474,7 @@ Example 5: opp-supported-hw | |||
| 474 | */ | 474 | */ |
| 475 | opp-supported-hw = <0xF 0xFFFFFFFF 0xFFFFFFFF> | 475 | opp-supported-hw = <0xF 0xFFFFFFFF 0xFFFFFFFF> |
| 476 | opp-hz = /bits/ 64 <600000000>; | 476 | opp-hz = /bits/ 64 <600000000>; |
| 477 | opp-microvolt = <900000 915000 925000>; | 477 | opp-microvolt = <915000 900000 925000>; |
| 478 | ... | 478 | ... |
| 479 | }; | 479 | }; |
| 480 | 480 | ||
| @@ -487,7 +487,7 @@ Example 5: opp-supported-hw | |||
| 487 | */ | 487 | */ |
| 488 | opp-supported-hw = <0x20 0xff0000ff 0x0000f4f0> | 488 | opp-supported-hw = <0x20 0xff0000ff 0x0000f4f0> |
| 489 | opp-hz = /bits/ 64 <800000000>; | 489 | opp-hz = /bits/ 64 <800000000>; |
| 490 | opp-microvolt = <900000 915000 925000>; | 490 | opp-microvolt = <915000 900000 925000>; |
| 491 | ... | 491 | ... |
| 492 | }; | 492 | }; |
| 493 | }; | 493 | }; |
| @@ -512,18 +512,18 @@ Example 6: opp-microvolt-<name>, opp-microamp-<name>: | |||
| 512 | 512 | ||
| 513 | opp@1000000000 { | 513 | opp@1000000000 { |
| 514 | opp-hz = /bits/ 64 <1000000000>; | 514 | opp-hz = /bits/ 64 <1000000000>; |
| 515 | opp-microvolt-slow = <900000 915000 925000>; | 515 | opp-microvolt-slow = <915000 900000 925000>; |
| 516 | opp-microvolt-fast = <970000 975000 985000>; | 516 | opp-microvolt-fast = <975000 970000 985000>; |
| 517 | opp-microamp-slow = <70000>; | 517 | opp-microamp-slow = <70000>; |
| 518 | opp-microamp-fast = <71000>; | 518 | opp-microamp-fast = <71000>; |
| 519 | }; | 519 | }; |
| 520 | 520 | ||
| 521 | opp@1200000000 { | 521 | opp@1200000000 { |
| 522 | opp-hz = /bits/ 64 <1200000000>; | 522 | opp-hz = /bits/ 64 <1200000000>; |
| 523 | opp-microvolt-slow = <900000 915000 925000>, /* Supply vcc0 */ | 523 | opp-microvolt-slow = <915000 900000 925000>, /* Supply vcc0 */ |
| 524 | <910000 925000 935000>; /* Supply vcc1 */ | 524 | <925000 910000 935000>; /* Supply vcc1 */ |
| 525 | opp-microvolt-fast = <970000 975000 985000>, /* Supply vcc0 */ | 525 | opp-microvolt-fast = <975000 970000 985000>, /* Supply vcc0 */ |
| 526 | <960000 965000 975000>; /* Supply vcc1 */ | 526 | <965000 960000 975000>; /* Supply vcc1 */ |
| 527 | opp-microamp = <70000>; /* Will be used for both slow/fast */ | 527 | opp-microamp = <70000>; /* Will be used for both slow/fast */ |
| 528 | }; | 528 | }; |
| 529 | }; | 529 | }; |
diff --git a/Documentation/devicetree/bindings/pci/hisilicon-pcie.txt b/Documentation/devicetree/bindings/pci/hisilicon-pcie.txt index 59c2f47aa303..b7fa3b97986d 100644 --- a/Documentation/devicetree/bindings/pci/hisilicon-pcie.txt +++ b/Documentation/devicetree/bindings/pci/hisilicon-pcie.txt | |||
| @@ -42,3 +42,40 @@ Hip05 Example (note that Hip06 is the same except compatible): | |||
| 42 | 0x0 0 0 4 &mbigen_pcie 4 13>; | 42 | 0x0 0 0 4 &mbigen_pcie 4 13>; |
| 43 | status = "ok"; | 43 | status = "ok"; |
| 44 | }; | 44 | }; |
| 45 | |||
| 46 | HiSilicon Hip06/Hip07 PCIe host bridge DT (almost-ECAM) description. | ||
| 47 | The properties and their meanings are identical to those described in | ||
| 48 | host-generic-pci.txt except as listed below. | ||
| 49 | |||
| 50 | Properties of the host controller node that differ from | ||
| 51 | host-generic-pci.txt: | ||
| 52 | |||
| 53 | - compatible : Must be "hisilicon,pcie-almost-ecam" | ||
| 54 | |||
| 55 | - reg : Two entries: First the ECAM configuration space for any | ||
| 56 | other bus underneath the root bus. Second, the base | ||
| 57 | and size of the HiSilicon host bridge registers include | ||
| 58 | the RC's own config space. | ||
| 59 | |||
| 60 | Example: | ||
| 61 | pcie0: pcie@a0090000 { | ||
| 62 | compatible = "hisilicon,pcie-almost-ecam"; | ||
| 63 | reg = <0 0xb0000000 0 0x2000000>, /* ECAM configuration space */ | ||
| 64 | <0 0xa0090000 0 0x10000>; /* host bridge registers */ | ||
| 65 | bus-range = <0 31>; | ||
| 66 | msi-map = <0x0000 &its_dsa 0x0000 0x2000>; | ||
| 67 | msi-map-mask = <0xffff>; | ||
| 68 | #address-cells = <3>; | ||
| 69 | #size-cells = <2>; | ||
| 70 | device_type = "pci"; | ||
| 71 | dma-coherent; | ||
| 72 | ranges = <0x02000000 0 0xb2000000 0x0 0xb2000000 0 0x5ff0000 | ||
| 73 | 0x01000000 0 0 0 0xb7ff0000 0 0x10000>; | ||
| 74 | #interrupt-cells = <1>; | ||
| 75 | interrupt-map-mask = <0xf800 0 0 7>; | ||
| 76 | interrupt-map = <0x0 0 0 1 &mbigen_pcie0 650 4 | ||
| 77 | 0x0 0 0 2 &mbigen_pcie0 650 4 | ||
| 78 | 0x0 0 0 3 &mbigen_pcie0 650 4 | ||
| 79 | 0x0 0 0 4 &mbigen_pcie0 650 4>; | ||
| 80 | status = "ok"; | ||
| 81 | }; | ||
diff --git a/Documentation/devicetree/bindings/pci/mvebu-pci.txt b/Documentation/devicetree/bindings/pci/mvebu-pci.txt index 08c716b2c6b6..2de6f65ecfb1 100644 --- a/Documentation/devicetree/bindings/pci/mvebu-pci.txt +++ b/Documentation/devicetree/bindings/pci/mvebu-pci.txt | |||
| @@ -78,7 +78,8 @@ and the following optional properties: | |||
| 78 | multiple lanes. If this property is not found, we assume that the | 78 | multiple lanes. If this property is not found, we assume that the |
| 79 | value is 0. | 79 | value is 0. |
| 80 | - reset-gpios: optional gpio to PERST# | 80 | - reset-gpios: optional gpio to PERST# |
| 81 | - reset-delay-us: delay in us to wait after reset de-assertion | 81 | - reset-delay-us: delay in us to wait after reset de-assertion, if not |
| 82 | specified will default to 100ms, as required by the PCIe specification. | ||
| 82 | 83 | ||
| 83 | Example: | 84 | Example: |
| 84 | 85 | ||
diff --git a/Documentation/devicetree/bindings/pci/pci-iommu.txt b/Documentation/devicetree/bindings/pci/pci-iommu.txt index 56c829621b9a..0def586fdcdf 100644 --- a/Documentation/devicetree/bindings/pci/pci-iommu.txt +++ b/Documentation/devicetree/bindings/pci/pci-iommu.txt | |||
| @@ -32,17 +32,17 @@ PCI root complex | |||
| 32 | Optional properties | 32 | Optional properties |
| 33 | ------------------- | 33 | ------------------- |
| 34 | 34 | ||
| 35 | - iommu-map: Maps a Requester ID to an IOMMU and associated iommu-specifier | 35 | - iommu-map: Maps a Requester ID to an IOMMU and associated IOMMU specifier |
| 36 | data. | 36 | data. |
| 37 | 37 | ||
| 38 | The property is an arbitrary number of tuples of | 38 | The property is an arbitrary number of tuples of |
| 39 | (rid-base,iommu,iommu-base,length). | 39 | (rid-base,iommu,iommu-base,length). |
| 40 | 40 | ||
| 41 | Any RID r in the interval [rid-base, rid-base + length) is associated with | 41 | Any RID r in the interval [rid-base, rid-base + length) is associated with |
| 42 | the listed IOMMU, with the iommu-specifier (r - rid-base + iommu-base). | 42 | the listed IOMMU, with the IOMMU specifier (r - rid-base + iommu-base). |
| 43 | 43 | ||
| 44 | - iommu-map-mask: A mask to be applied to each Requester ID prior to being | 44 | - iommu-map-mask: A mask to be applied to each Requester ID prior to being |
| 45 | mapped to an iommu-specifier per the iommu-map property. | 45 | mapped to an IOMMU specifier per the iommu-map property. |
| 46 | 46 | ||
| 47 | 47 | ||
| 48 | Example (1) | 48 | Example (1) |
diff --git a/Documentation/devicetree/bindings/pci/rcar-pci.txt b/Documentation/devicetree/bindings/pci/rcar-pci.txt index eee518db90b9..34712d6fd253 100644 --- a/Documentation/devicetree/bindings/pci/rcar-pci.txt +++ b/Documentation/devicetree/bindings/pci/rcar-pci.txt | |||
| @@ -6,6 +6,7 @@ compatible: "renesas,pcie-r8a7779" for the R8A7779 SoC; | |||
| 6 | "renesas,pcie-r8a7791" for the R8A7791 SoC; | 6 | "renesas,pcie-r8a7791" for the R8A7791 SoC; |
| 7 | "renesas,pcie-r8a7793" for the R8A7793 SoC; | 7 | "renesas,pcie-r8a7793" for the R8A7793 SoC; |
| 8 | "renesas,pcie-r8a7795" for the R8A7795 SoC; | 8 | "renesas,pcie-r8a7795" for the R8A7795 SoC; |
| 9 | "renesas,pcie-r8a7796" for the R8A7796 SoC; | ||
| 9 | "renesas,pcie-rcar-gen2" for a generic R-Car Gen2 compatible device. | 10 | "renesas,pcie-rcar-gen2" for a generic R-Car Gen2 compatible device. |
| 10 | "renesas,pcie-rcar-gen3" for a generic R-Car Gen3 compatible device. | 11 | "renesas,pcie-rcar-gen3" for a generic R-Car Gen3 compatible device. |
| 11 | 12 | ||
diff --git a/Documentation/devicetree/bindings/pci/rockchip-pcie.txt b/Documentation/devicetree/bindings/pci/rockchip-pcie.txt index 71aeda1ca055..1453a734c2f5 100644 --- a/Documentation/devicetree/bindings/pci/rockchip-pcie.txt +++ b/Documentation/devicetree/bindings/pci/rockchip-pcie.txt | |||
| @@ -43,6 +43,8 @@ Required properties: | |||
| 43 | - interrupt-map-mask and interrupt-map: standard PCI properties | 43 | - interrupt-map-mask and interrupt-map: standard PCI properties |
| 44 | 44 | ||
| 45 | Optional Property: | 45 | Optional Property: |
| 46 | - aspm-no-l0s: RC won't support ASPM L0s. This property is needed if | ||
| 47 | using 24MHz OSC for RC's PHY. | ||
| 46 | - ep-gpios: contain the entry for pre-reset gpio | 48 | - ep-gpios: contain the entry for pre-reset gpio |
| 47 | - num-lanes: number of lanes to use | 49 | - num-lanes: number of lanes to use |
| 48 | - vpcie3v3-supply: The phandle to the 3.3v regulator to use for PCIe. | 50 | - vpcie3v3-supply: The phandle to the 3.3v regulator to use for PCIe. |
diff --git a/Documentation/devicetree/bindings/pci/samsung,exynos5440-pcie.txt b/Documentation/devicetree/bindings/pci/samsung,exynos5440-pcie.txt index 4f9d23d2ed67..7d3b09474657 100644 --- a/Documentation/devicetree/bindings/pci/samsung,exynos5440-pcie.txt +++ b/Documentation/devicetree/bindings/pci/samsung,exynos5440-pcie.txt | |||
| @@ -7,8 +7,19 @@ Required properties: | |||
| 7 | - compatible: "samsung,exynos5440-pcie" | 7 | - compatible: "samsung,exynos5440-pcie" |
| 8 | - reg: base addresses and lengths of the pcie controller, | 8 | - reg: base addresses and lengths of the pcie controller, |
| 9 | the phy controller, additional register for the phy controller. | 9 | the phy controller, additional register for the phy controller. |
| 10 | (Registers for the phy controller are DEPRECATED. | ||
| 11 | Use the PHY framework.) | ||
| 12 | - reg-names : First name should be set to "elbi". | ||
| 13 | And use the "config" instead of getting the confgiruation address space | ||
| 14 | from "ranges". | ||
| 15 | NOTE: When use the "config" property, reg-names must be set. | ||
| 10 | - interrupts: A list of interrupt outputs for level interrupt, | 16 | - interrupts: A list of interrupt outputs for level interrupt, |
| 11 | pulse interrupt, special interrupt. | 17 | pulse interrupt, special interrupt. |
| 18 | - phys: From PHY binding. Phandle for the Generic PHY. | ||
| 19 | Refer to Documentation/devicetree/bindings/phy/samsung-phy.txt | ||
| 20 | |||
| 21 | Other common properties refer to | ||
| 22 | Documentation/devicetree/binding/pci/designware-pcie.txt | ||
| 12 | 23 | ||
| 13 | Example: | 24 | Example: |
| 14 | 25 | ||
| @@ -54,6 +65,24 @@ SoC specific DT Entry: | |||
| 54 | num-lanes = <4>; | 65 | num-lanes = <4>; |
| 55 | }; | 66 | }; |
| 56 | 67 | ||
| 68 | With using PHY framework: | ||
| 69 | pcie_phy0: pcie-phy@270000 { | ||
| 70 | ... | ||
| 71 | reg = <0x270000 0x1000>, <0x271000 0x40>; | ||
| 72 | reg-names = "phy", "block"; | ||
| 73 | ... | ||
| 74 | }; | ||
| 75 | |||
| 76 | pcie@290000 { | ||
| 77 | ... | ||
| 78 | reg = <0x290000 0x1000>, <0x40000000 0x1000>; | ||
| 79 | reg-names = "elbi", "config"; | ||
| 80 | phys = <&pcie_phy0>; | ||
| 81 | ranges = <0x81000000 0 0 0x60001000 0 0x00010000 | ||
| 82 | 0x82000000 0 0x60011000 0x60011000 0 0x1ffef000>; | ||
| 83 | ... | ||
| 84 | }; | ||
| 85 | |||
| 57 | Board specific DT Entry: | 86 | Board specific DT Entry: |
| 58 | 87 | ||
| 59 | pcie@290000 { | 88 | pcie@290000 { |
diff --git a/Documentation/devicetree/bindings/phy/brcm,nsp-usb3-phy.txt b/Documentation/devicetree/bindings/phy/brcm,nsp-usb3-phy.txt new file mode 100644 index 000000000000..e68ae5dec9c9 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/brcm,nsp-usb3-phy.txt | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | Broadcom USB3 phy binding for northstar plus SoC | ||
| 2 | The USB3 phy is internal to the SoC and is accessed using mdio interface. | ||
| 3 | |||
| 4 | Required mdio bus properties: | ||
| 5 | - reg: Should be 0x0 for SoC internal USB3 phy | ||
| 6 | - #address-cells: must be 1 | ||
| 7 | - #size-cells: must be 0 | ||
| 8 | |||
| 9 | Required USB3 PHY properties: | ||
| 10 | - compatible: should be "brcm,nsp-usb3-phy" | ||
| 11 | - reg: USB3 Phy address on SoC internal MDIO bus and it should be 0x10. | ||
| 12 | - usb3-ctrl-syscon: handler of syscon node defining physical address | ||
| 13 | of usb3 control register. | ||
| 14 | - #phy-cells: must be 0 | ||
| 15 | |||
| 16 | Required usb3 control properties: | ||
| 17 | - compatible: should be "brcm,nsp-usb3-ctrl" | ||
| 18 | - reg: offset and length of the control registers | ||
| 19 | |||
| 20 | Example: | ||
| 21 | |||
| 22 | mdio@0 { | ||
| 23 | reg = <0x0>; | ||
| 24 | #address-cells = <1>; | ||
| 25 | #size-cells = <0>; | ||
| 26 | |||
| 27 | usb3_phy: usb-phy@10 { | ||
| 28 | compatible = "brcm,nsp-usb3-phy"; | ||
| 29 | reg = <0x10>; | ||
| 30 | usb3-ctrl-syscon = <&usb3_ctrl>; | ||
| 31 | #phy-cells = <0>; | ||
| 32 | status = "disabled"; | ||
| 33 | }; | ||
| 34 | }; | ||
| 35 | |||
| 36 | usb3_ctrl: syscon@104408 { | ||
| 37 | compatible = "brcm,nsp-usb3-ctrl", "syscon"; | ||
| 38 | reg = <0x104408 0x3fc>; | ||
| 39 | }; | ||
diff --git a/Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.txt b/Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.txt new file mode 100644 index 000000000000..b3b75c1e6285 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.txt | |||
| @@ -0,0 +1,84 @@ | |||
| 1 | Qualcomm's USB HS PHY | ||
| 2 | |||
| 3 | PROPERTIES | ||
| 4 | |||
| 5 | - compatible: | ||
| 6 | Usage: required | ||
| 7 | Value type: <string> | ||
| 8 | Definition: Should contain "qcom,usb-hs-phy" and more specifically one of the | ||
| 9 | following: | ||
| 10 | |||
| 11 | "qcom,usb-hs-phy-apq8064" | ||
| 12 | "qcom,usb-hs-phy-msm8916" | ||
| 13 | "qcom,usb-hs-phy-msm8974" | ||
| 14 | |||
| 15 | - #phy-cells: | ||
| 16 | Usage: required | ||
| 17 | Value type: <u32> | ||
| 18 | Definition: Should contain 0 | ||
| 19 | |||
| 20 | - clocks: | ||
| 21 | Usage: required | ||
| 22 | Value type: <prop-encoded-array> | ||
| 23 | Definition: Should contain clock specifier for the reference and sleep | ||
| 24 | clocks | ||
| 25 | |||
| 26 | - clock-names: | ||
| 27 | Usage: required | ||
| 28 | Value type: <stringlist> | ||
| 29 | Definition: Should contain "ref" and "sleep" for the reference and sleep | ||
| 30 | clocks respectively | ||
| 31 | |||
| 32 | - resets: | ||
| 33 | Usage: required | ||
| 34 | Value type: <prop-encoded-array> | ||
| 35 | Definition: Should contain the phy and POR resets | ||
| 36 | |||
| 37 | - reset-names: | ||
| 38 | Usage: required | ||
| 39 | Value type: <stringlist> | ||
| 40 | Definition: Should contain "phy" and "por" for the phy and POR resets | ||
| 41 | respectively | ||
| 42 | |||
| 43 | - v3p3-supply: | ||
| 44 | Usage: required | ||
| 45 | Value type: <phandle> | ||
| 46 | Definition: Should contain a reference to the 3.3V supply | ||
| 47 | |||
| 48 | - v1p8-supply: | ||
| 49 | Usage: required | ||
| 50 | Value type: <phandle> | ||
| 51 | Definition: Should contain a reference to the 1.8V supply | ||
| 52 | |||
| 53 | - extcon: | ||
| 54 | Usage: optional | ||
| 55 | Value type: <prop-encoded-array> | ||
| 56 | Definition: Should contain the vbus extcon | ||
| 57 | |||
| 58 | - qcom,init-seq: | ||
| 59 | Usage: optional | ||
| 60 | Value type: <u8 array> | ||
| 61 | Definition: Should contain a sequence of ULPI address and value pairs to | ||
| 62 | program into the ULPI_EXT_VENDOR_SPECIFIC area. This is related | ||
| 63 | to Device Mode Eye Diagram test. The addresses are offsets | ||
| 64 | from the ULPI_EXT_VENDOR_SPECIFIC address, for example, | ||
| 65 | <0x1 0x53> would mean "write the value 0x53 to address 0x81". | ||
| 66 | |||
| 67 | EXAMPLE | ||
| 68 | |||
| 69 | otg: usb-controller { | ||
| 70 | ulpi { | ||
| 71 | phy { | ||
| 72 | compatible = "qcom,usb-hs-phy-msm8974", "qcom,usb-hs-phy"; | ||
| 73 | #phy-cells = <0>; | ||
| 74 | clocks = <&xo_board>, <&gcc GCC_USB2A_PHY_SLEEP_CLK>; | ||
| 75 | clock-names = "ref", "sleep"; | ||
| 76 | resets = <&gcc GCC_USB2A_PHY_BCR>, <&otg 0>; | ||
| 77 | reset-names = "phy", "por"; | ||
| 78 | v3p3-supply = <&pm8941_l24>; | ||
| 79 | v1p8-supply = <&pm8941_l6>; | ||
| 80 | extcon = <&smbb>; | ||
| 81 | qcom,init-seq = /bits/ 8 <0x1 0x63>; | ||
| 82 | }; | ||
| 83 | }; | ||
| 84 | }; | ||
diff --git a/Documentation/devicetree/bindings/phy/qcom,usb-hsic-phy.txt b/Documentation/devicetree/bindings/phy/qcom,usb-hsic-phy.txt new file mode 100644 index 000000000000..3c7cb2be4b12 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/qcom,usb-hsic-phy.txt | |||
| @@ -0,0 +1,65 @@ | |||
| 1 | Qualcomm's USB HSIC PHY | ||
| 2 | |||
| 3 | PROPERTIES | ||
| 4 | |||
| 5 | - compatible: | ||
| 6 | Usage: required | ||
| 7 | Value type: <string> | ||
| 8 | Definition: Should contain "qcom,usb-hsic-phy" and more specifically one of the | ||
| 9 | following: | ||
| 10 | |||
| 11 | "qcom,usb-hsic-phy-mdm9615" | ||
| 12 | "qcom,usb-hsic-phy-msm8974" | ||
| 13 | |||
| 14 | - #phy-cells: | ||
| 15 | Usage: required | ||
| 16 | Value type: <u32> | ||
| 17 | Definition: Should contain 0 | ||
| 18 | |||
| 19 | - clocks: | ||
| 20 | Usage: required | ||
| 21 | Value type: <prop-encoded-array> | ||
| 22 | Definition: Should contain clock specifier for phy, calibration and | ||
| 23 | a calibration sleep clock | ||
| 24 | |||
| 25 | - clock-names: | ||
| 26 | Usage: required | ||
| 27 | Value type: <stringlist> | ||
| 28 | Definition: Should contain "phy, "cal" and "cal_sleep" | ||
| 29 | |||
| 30 | - pinctrl-names: | ||
| 31 | Usage: required | ||
| 32 | Value type: <stringlist> | ||
| 33 | Definition: Should contain "init" and "default" in that order | ||
| 34 | |||
| 35 | - pinctrl-0: | ||
| 36 | Usage: required | ||
| 37 | Value type: <prop-encoded-array> | ||
| 38 | Definition: List of pinctrl settings to apply to keep HSIC pins in a glitch | ||
| 39 | free state | ||
| 40 | |||
| 41 | - pinctrl-1: | ||
| 42 | Usage: required | ||
| 43 | Value type: <prop-encoded-array> | ||
| 44 | Definition: List of pinctrl settings to apply to mux out the HSIC pins | ||
| 45 | |||
| 46 | EXAMPLE | ||
| 47 | |||
| 48 | usb-controller { | ||
| 49 | ulpi { | ||
| 50 | phy { | ||
| 51 | compatible = "qcom,usb-hsic-phy-msm8974", | ||
| 52 | "qcom,usb-hsic-phy"; | ||
| 53 | #phy-cells = <0>; | ||
| 54 | pinctrl-names = "init", "default"; | ||
| 55 | pinctrl-0 = <&hsic_sleep>; | ||
| 56 | pinctrl-1 = <&hsic_default>; | ||
| 57 | clocks = <&gcc GCC_USB_HSIC_CLK>, | ||
| 58 | <&gcc GCC_USB_HSIC_IO_CAL_CLK>, | ||
| 59 | <&gcc GCC_USB_HSIC_IO_CAL_SLEEP_CLK>; | ||
| 60 | clock-names = "phy", "cal", "cal_sleep"; | ||
| 61 | assigned-clocks = <&gcc GCC_USB_HSIC_IO_CAL_CLK>; | ||
| 62 | assigned-clock-rates = <960000>; | ||
| 63 | }; | ||
| 64 | }; | ||
| 65 | }; | ||
diff --git a/Documentation/devicetree/bindings/phy/samsung-phy.txt b/Documentation/devicetree/bindings/phy/samsung-phy.txt index 9872ba8546bd..ab80bfe31cb3 100644 --- a/Documentation/devicetree/bindings/phy/samsung-phy.txt +++ b/Documentation/devicetree/bindings/phy/samsung-phy.txt | |||
| @@ -191,3 +191,20 @@ Example: | |||
| 191 | usbdrdphy0 = &usb3_phy0; | 191 | usbdrdphy0 = &usb3_phy0; |
| 192 | usbdrdphy1 = &usb3_phy1; | 192 | usbdrdphy1 = &usb3_phy1; |
| 193 | }; | 193 | }; |
| 194 | |||
| 195 | Samsung Exynos SoC series PCIe PHY controller | ||
| 196 | -------------------------------------------------- | ||
| 197 | Required properties: | ||
| 198 | - compatible : Should be set to "samsung,exynos5440-pcie-phy" | ||
| 199 | - #phy-cells : Must be zero | ||
| 200 | - reg : a register used by phy driver. | ||
| 201 | - First is for phy register, second is for block register. | ||
| 202 | - reg-names : Must be set to "phy" and "block". | ||
| 203 | |||
| 204 | Example: | ||
| 205 | pcie_phy0: pcie-phy@270000 { | ||
| 206 | #phy-cells = <0>; | ||
| 207 | compatible = "samsung,exynos5440-pcie-phy"; | ||
| 208 | reg = <0x270000 0x1000>, <0x271000 0x40>; | ||
| 209 | reg-names = "phy", "block"; | ||
| 210 | }; | ||
diff --git a/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt b/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt index 287150db6db4..e42334258185 100644 --- a/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt +++ b/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt | |||
| @@ -10,6 +10,7 @@ Required properties: | |||
| 10 | * allwinner,sun8i-a23-usb-phy | 10 | * allwinner,sun8i-a23-usb-phy |
| 11 | * allwinner,sun8i-a33-usb-phy | 11 | * allwinner,sun8i-a33-usb-phy |
| 12 | * allwinner,sun8i-h3-usb-phy | 12 | * allwinner,sun8i-h3-usb-phy |
| 13 | * allwinner,sun8i-v3s-usb-phy | ||
| 13 | * allwinner,sun50i-a64-usb-phy | 14 | * allwinner,sun50i-a64-usb-phy |
| 14 | - reg : a list of offset + length pairs | 15 | - reg : a list of offset + length pairs |
| 15 | - reg-names : | 16 | - reg-names : |
diff --git a/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt index 7c85dca4221a..2fd688c8dbdb 100644 --- a/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt +++ b/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt | |||
| @@ -6,7 +6,7 @@ the first two functions being GPIO in and out. The configuration on | |||
| 6 | the pins includes drive strength and pull-up. | 6 | the pins includes drive strength and pull-up. |
| 7 | 7 | ||
| 8 | Required properties: | 8 | Required properties: |
| 9 | - compatible: Should be one of the followings (depending on you SoC): | 9 | - compatible: Should be one of the following (depending on your SoC): |
| 10 | "allwinner,sun4i-a10-pinctrl" | 10 | "allwinner,sun4i-a10-pinctrl" |
| 11 | "allwinner,sun5i-a10s-pinctrl" | 11 | "allwinner,sun5i-a10s-pinctrl" |
| 12 | "allwinner,sun5i-a13-pinctrl" | 12 | "allwinner,sun5i-a13-pinctrl" |
diff --git a/Documentation/devicetree/bindings/power/pd-samsung.txt b/Documentation/devicetree/bindings/power/pd-samsung.txt index 4e947372a693..549f7dee9b9d 100644 --- a/Documentation/devicetree/bindings/power/pd-samsung.txt +++ b/Documentation/devicetree/bindings/power/pd-samsung.txt | |||
| @@ -6,12 +6,15 @@ to gate power to one or more peripherals on the processor. | |||
| 6 | Required Properties: | 6 | Required Properties: |
| 7 | - compatible: should be one of the following. | 7 | - compatible: should be one of the following. |
| 8 | * samsung,exynos4210-pd - for exynos4210 type power domain. | 8 | * samsung,exynos4210-pd - for exynos4210 type power domain. |
| 9 | * samsung,exynos5433-pd - for exynos5433 type power domain. | ||
| 9 | - reg: physical base address of the controller and length of memory mapped | 10 | - reg: physical base address of the controller and length of memory mapped |
| 10 | region. | 11 | region. |
| 11 | - #power-domain-cells: number of cells in power domain specifier; | 12 | - #power-domain-cells: number of cells in power domain specifier; |
| 12 | must be 0. | 13 | must be 0. |
| 13 | 14 | ||
| 14 | Optional Properties: | 15 | Optional Properties: |
| 16 | - label: Human readable string with domain name. Will be visible in userspace | ||
| 17 | to let user to distinguish between multiple domains in SoC. | ||
| 15 | - clocks: List of clock handles. The parent clocks of the input clocks to the | 18 | - clocks: List of clock handles. The parent clocks of the input clocks to the |
| 16 | devices in this power domain are set to oscclk before power gating | 19 | devices in this power domain are set to oscclk before power gating |
| 17 | and restored back after powering on a domain. This is required for | 20 | and restored back after powering on a domain. This is required for |
| @@ -20,7 +23,7 @@ Optional Properties: | |||
| 20 | - clock-names: The following clocks can be specified: | 23 | - clock-names: The following clocks can be specified: |
| 21 | - oscclk: Oscillator clock. | 24 | - oscclk: Oscillator clock. |
| 22 | - clkN: Input clocks to the devices in this power domain. These clocks | 25 | - clkN: Input clocks to the devices in this power domain. These clocks |
| 23 | will be reparented to oscclk before swithing power domain off. | 26 | will be reparented to oscclk before switching power domain off. |
| 24 | Their original parent will be brought back after turning on | 27 | Their original parent will be brought back after turning on |
| 25 | the domain. Maximum of 4 clocks (N = 0 to 3) are supported. | 28 | the domain. Maximum of 4 clocks (N = 0 to 3) are supported. |
| 26 | - asbN: Clocks required by asynchronous bridges (ASB) present in | 29 | - asbN: Clocks required by asynchronous bridges (ASB) present in |
| @@ -38,6 +41,7 @@ Example: | |||
| 38 | compatible = "samsung,exynos4210-pd"; | 41 | compatible = "samsung,exynos4210-pd"; |
| 39 | reg = <0x10023C00 0x10>; | 42 | reg = <0x10023C00 0x10>; |
| 40 | #power-domain-cells = <0>; | 43 | #power-domain-cells = <0>; |
| 44 | label = "LCD0"; | ||
| 41 | }; | 45 | }; |
| 42 | 46 | ||
| 43 | mfc_pd: power-domain@10044060 { | 47 | mfc_pd: power-domain@10044060 { |
| @@ -46,6 +50,7 @@ Example: | |||
| 46 | clocks = <&clock CLK_FIN_PLL>, <&clock CLK_MOUT_USER_ACLK333>; | 50 | clocks = <&clock CLK_FIN_PLL>, <&clock CLK_MOUT_USER_ACLK333>; |
| 47 | clock-names = "oscclk", "clk0"; | 51 | clock-names = "oscclk", "clk0"; |
| 48 | #power-domain-cells = <0>; | 52 | #power-domain-cells = <0>; |
| 53 | label = "MFC"; | ||
| 49 | }; | 54 | }; |
| 50 | 55 | ||
| 51 | See Documentation/devicetree/bindings/power/power_domain.txt for description | 56 | See Documentation/devicetree/bindings/power/power_domain.txt for description |
diff --git a/Documentation/devicetree/bindings/power/reset/gpio-poweroff.txt b/Documentation/devicetree/bindings/power/reset/gpio-poweroff.txt index d4eab9227ea4..e62d53d844cc 100644 --- a/Documentation/devicetree/bindings/power/reset/gpio-poweroff.txt +++ b/Documentation/devicetree/bindings/power/reset/gpio-poweroff.txt | |||
| @@ -2,12 +2,12 @@ Driver a GPIO line that can be used to turn the power off. | |||
| 2 | 2 | ||
| 3 | The driver supports both level triggered and edge triggered power off. | 3 | The driver supports both level triggered and edge triggered power off. |
| 4 | At driver load time, the driver will request the given gpio line and | 4 | At driver load time, the driver will request the given gpio line and |
| 5 | install a pm_power_off handler. If the optional properties 'input' is | 5 | install a handler to power off the system. If the optional properties |
| 6 | not found, the GPIO line will be driven in the inactive | 6 | 'input' is not found, the GPIO line will be driven in the inactive |
| 7 | state. Otherwise its configured as an input. | 7 | state. Otherwise its configured as an input. |
| 8 | 8 | ||
| 9 | When the pm_power_off is called, the gpio is configured as an output, | 9 | When the power-off handler is called, the gpio is configured as an |
| 10 | and drive active, so triggering a level triggered power off | 10 | output, and drive active, so triggering a level triggered power off |
| 11 | condition. This will also cause an inactive->active edge condition, so | 11 | condition. This will also cause an inactive->active edge condition, so |
| 12 | triggering positive edge triggered power off. After a delay of 100ms, | 12 | triggering positive edge triggered power off. After a delay of 100ms, |
| 13 | the GPIO is set to inactive, thus causing an active->inactive edge, | 13 | the GPIO is set to inactive, thus causing an active->inactive edge, |
| @@ -24,7 +24,7 @@ Required properties: | |||
| 24 | 24 | ||
| 25 | Optional properties: | 25 | Optional properties: |
| 26 | - input : Initially configure the GPIO line as an input. Only reconfigure | 26 | - input : Initially configure the GPIO line as an input. Only reconfigure |
| 27 | it to an output when the pm_power_off function is called. If this optional | 27 | it to an output when the power-off handler is called. If this optional |
| 28 | property is not specified, the GPIO is initialized as an output in its | 28 | property is not specified, the GPIO is initialized as an output in its |
| 29 | inactive state. | 29 | inactive state. |
| 30 | 30 | ||
diff --git a/Documentation/devicetree/bindings/power/reset/qnap-poweroff.txt b/Documentation/devicetree/bindings/power/reset/qnap-poweroff.txt index af25e77c0e0c..c363d7173129 100644 --- a/Documentation/devicetree/bindings/power/reset/qnap-poweroff.txt +++ b/Documentation/devicetree/bindings/power/reset/qnap-poweroff.txt | |||
| @@ -3,8 +3,7 @@ | |||
| 3 | QNAP NAS devices have a microcontroller controlling the main power | 3 | QNAP NAS devices have a microcontroller controlling the main power |
| 4 | supply. This microcontroller is connected to UART1 of the Kirkwood and | 4 | supply. This microcontroller is connected to UART1 of the Kirkwood and |
| 5 | Orion5x SoCs. Sending the character 'A', at 19200 baud, tells the | 5 | Orion5x SoCs. Sending the character 'A', at 19200 baud, tells the |
| 6 | microcontroller to turn the power off. This driver adds a handler to | 6 | microcontroller to turn the power off. |
| 7 | pm_power_off which is called to turn the power off. | ||
| 8 | 7 | ||
| 9 | Synology NAS devices use a similar scheme, but a different baud rate, | 8 | Synology NAS devices use a similar scheme, but a different baud rate, |
| 10 | 9600, and a different character, '1'. | 9 | 9600, and a different character, '1'. |
diff --git a/Documentation/devicetree/bindings/powerpc/4xx/emac.txt b/Documentation/devicetree/bindings/powerpc/4xx/emac.txt index 712baf6c3e24..44b842b6ca15 100644 --- a/Documentation/devicetree/bindings/powerpc/4xx/emac.txt +++ b/Documentation/devicetree/bindings/powerpc/4xx/emac.txt | |||
| @@ -71,6 +71,9 @@ | |||
| 71 | For Axon it can be absent, though my current driver | 71 | For Axon it can be absent, though my current driver |
| 72 | doesn't handle phy-address yet so for now, keep | 72 | doesn't handle phy-address yet so for now, keep |
| 73 | 0x00ffffff in it. | 73 | 0x00ffffff in it. |
| 74 | - phy-handle : Used to describe configurations where a external PHY | ||
| 75 | is used. Please refer to: | ||
| 76 | Documentation/devicetree/bindings/net/ethernet.txt | ||
| 74 | - rx-fifo-size-gige : 1 cell, Rx fifo size in bytes for 1000 Mb/sec | 77 | - rx-fifo-size-gige : 1 cell, Rx fifo size in bytes for 1000 Mb/sec |
| 75 | operations (if absent the value is the same as | 78 | operations (if absent the value is the same as |
| 76 | rx-fifo-size). For Axon, either absent or 2048. | 79 | rx-fifo-size). For Axon, either absent or 2048. |
| @@ -81,8 +84,22 @@ | |||
| 81 | offload, phandle of the TAH device node. | 84 | offload, phandle of the TAH device node. |
| 82 | - tah-channel : 1 cell, optional. If appropriate, channel used on the | 85 | - tah-channel : 1 cell, optional. If appropriate, channel used on the |
| 83 | TAH engine. | 86 | TAH engine. |
| 87 | - fixed-link : Fixed-link subnode describing a link to a non-MDIO | ||
| 88 | managed entity. See | ||
| 89 | Documentation/devicetree/bindings/net/fixed-link.txt | ||
| 90 | for details. | ||
| 91 | - mdio subnode : When the EMAC has a phy connected to its local | ||
| 92 | mdio, which us supported by the kernel's network | ||
| 93 | PHY library in drivers/net/phy, there must be device | ||
| 94 | tree subnode with the following required properties: | ||
| 95 | - #address-cells: Must be <1>. | ||
| 96 | - #size-cells: Must be <0>. | ||
| 84 | 97 | ||
| 85 | Example: | 98 | For PHY definitions: Please refer to |
| 99 | Documentation/devicetree/bindings/net/phy.txt and | ||
| 100 | Documentation/devicetree/bindings/net/ethernet.txt | ||
| 101 | |||
| 102 | Examples: | ||
| 86 | 103 | ||
| 87 | EMAC0: ethernet@40000800 { | 104 | EMAC0: ethernet@40000800 { |
| 88 | device_type = "network"; | 105 | device_type = "network"; |
| @@ -104,6 +121,48 @@ | |||
| 104 | zmii-channel = <0>; | 121 | zmii-channel = <0>; |
| 105 | }; | 122 | }; |
| 106 | 123 | ||
| 124 | EMAC1: ethernet@ef600c00 { | ||
| 125 | device_type = "network"; | ||
| 126 | compatible = "ibm,emac-apm821xx", "ibm,emac4sync"; | ||
| 127 | interrupt-parent = <&EMAC1>; | ||
| 128 | interrupts = <0 1>; | ||
| 129 | #interrupt-cells = <1>; | ||
| 130 | #address-cells = <0>; | ||
| 131 | #size-cells = <0>; | ||
| 132 | interrupt-map = <0 &UIC2 0x10 IRQ_TYPE_LEVEL_HIGH /* Status */ | ||
| 133 | 1 &UIC2 0x14 IRQ_TYPE_LEVEL_HIGH /* Wake */>; | ||
| 134 | reg = <0xef600c00 0x000000c4>; | ||
| 135 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ | ||
| 136 | mal-device = <&MAL0>; | ||
| 137 | mal-tx-channel = <0>; | ||
| 138 | mal-rx-channel = <0>; | ||
| 139 | cell-index = <0>; | ||
| 140 | max-frame-size = <9000>; | ||
| 141 | rx-fifo-size = <16384>; | ||
| 142 | tx-fifo-size = <2048>; | ||
| 143 | fifo-entry-size = <10>; | ||
| 144 | phy-mode = "rgmii"; | ||
| 145 | phy-handle = <&phy0>; | ||
| 146 | phy-map = <0x00000000>; | ||
| 147 | rgmii-device = <&RGMII0>; | ||
| 148 | rgmii-channel = <0>; | ||
| 149 | tah-device = <&TAH0>; | ||
| 150 | tah-channel = <0>; | ||
| 151 | has-inverted-stacr-oc; | ||
| 152 | has-new-stacr-staopc; | ||
| 153 | |||
| 154 | mdio { | ||
| 155 | #address-cells = <1>; | ||
| 156 | #size-cells = <0>; | ||
| 157 | |||
| 158 | phy0: ethernet-phy@0 { | ||
| 159 | compatible = "ethernet-phy-ieee802.3-c22"; | ||
| 160 | reg = <0>; | ||
| 161 | }; | ||
| 162 | }; | ||
| 163 | }; | ||
| 164 | |||
| 165 | |||
| 107 | ii) McMAL node | 166 | ii) McMAL node |
| 108 | 167 | ||
| 109 | Required properties: | 168 | Required properties: |
| @@ -145,4 +204,3 @@ | |||
| 145 | - revision : as provided by the RGMII new version register if | 204 | - revision : as provided by the RGMII new version register if |
| 146 | available. | 205 | available. |
| 147 | For Axon: 0x0000012a | 206 | For Axon: 0x0000012a |
| 148 | |||
diff --git a/Documentation/devicetree/bindings/powerpc/fsl/l2cache.txt b/Documentation/devicetree/bindings/powerpc/fsl/l2cache.txt index c41b2187eaa8..dc9bb3182525 100644 --- a/Documentation/devicetree/bindings/powerpc/fsl/l2cache.txt +++ b/Documentation/devicetree/bindings/powerpc/fsl/l2cache.txt | |||
| @@ -5,8 +5,46 @@ The cache bindings explained below are ePAPR compliant | |||
| 5 | 5 | ||
| 6 | Required Properties: | 6 | Required Properties: |
| 7 | 7 | ||
| 8 | - compatible : Should include "fsl,chip-l2-cache-controller" and "cache" | 8 | - compatible : Should include one of the following: |
| 9 | where chip is the processor (bsc9132, npc8572 etc.) | 9 | "fsl,8540-l2-cache-controller" |
| 10 | "fsl,8541-l2-cache-controller" | ||
| 11 | "fsl,8544-l2-cache-controller" | ||
| 12 | "fsl,8548-l2-cache-controller" | ||
| 13 | "fsl,8555-l2-cache-controller" | ||
| 14 | "fsl,8568-l2-cache-controller" | ||
| 15 | "fsl,b4420-l2-cache-controller" | ||
| 16 | "fsl,b4860-l2-cache-controller" | ||
| 17 | "fsl,bsc9131-l2-cache-controller" | ||
| 18 | "fsl,bsc9132-l2-cache-controller" | ||
| 19 | "fsl,c293-l2-cache-controller" | ||
| 20 | "fsl,mpc8536-l2-cache-controller" | ||
| 21 | "fsl,mpc8540-l2-cache-controller" | ||
| 22 | "fsl,mpc8541-l2-cache-controller" | ||
| 23 | "fsl,mpc8544-l2-cache-controller" | ||
| 24 | "fsl,mpc8548-l2-cache-controller" | ||
| 25 | "fsl,mpc8555-l2-cache-controller" | ||
| 26 | "fsl,mpc8560-l2-cache-controller" | ||
| 27 | "fsl,mpc8568-l2-cache-controller" | ||
| 28 | "fsl,mpc8569-l2-cache-controller" | ||
| 29 | "fsl,mpc8572-l2-cache-controller" | ||
| 30 | "fsl,p1010-l2-cache-controller" | ||
| 31 | "fsl,p1011-l2-cache-controller" | ||
| 32 | "fsl,p1012-l2-cache-controller" | ||
| 33 | "fsl,p1013-l2-cache-controller" | ||
| 34 | "fsl,p1014-l2-cache-controller" | ||
| 35 | "fsl,p1015-l2-cache-controller" | ||
| 36 | "fsl,p1016-l2-cache-controller" | ||
| 37 | "fsl,p1020-l2-cache-controller" | ||
| 38 | "fsl,p1021-l2-cache-controller" | ||
| 39 | "fsl,p1022-l2-cache-controller" | ||
| 40 | "fsl,p1023-l2-cache-controller" | ||
| 41 | "fsl,p1024-l2-cache-controller" | ||
| 42 | "fsl,p1025-l2-cache-controller" | ||
| 43 | "fsl,p2010-l2-cache-controller" | ||
| 44 | "fsl,p2020-l2-cache-controller" | ||
| 45 | "fsl,t2080-l2-cache-controller" | ||
| 46 | "fsl,t4240-l2-cache-controller" | ||
| 47 | and "cache". | ||
| 10 | - reg : Address and size of L2 cache controller registers | 48 | - reg : Address and size of L2 cache controller registers |
| 11 | - cache-size : Size of the entire L2 cache | 49 | - cache-size : Size of the entire L2 cache |
| 12 | - interrupts : Error interrupt of L2 controller | 50 | - interrupts : Error interrupt of L2 controller |
diff --git a/Documentation/devicetree/bindings/powerpc/opal/power-mgt.txt b/Documentation/devicetree/bindings/powerpc/opal/power-mgt.txt new file mode 100644 index 000000000000..9d619e955576 --- /dev/null +++ b/Documentation/devicetree/bindings/powerpc/opal/power-mgt.txt | |||
| @@ -0,0 +1,118 @@ | |||
| 1 | IBM Power-Management Bindings | ||
| 2 | ============================= | ||
| 3 | |||
| 4 | Linux running on baremetal POWER machines has access to the processor | ||
| 5 | idle states. The description of these idle states is exposed via the | ||
| 6 | node @power-mgt in the device-tree by the firmware. | ||
| 7 | |||
| 8 | Definitions: | ||
| 9 | ---------------- | ||
| 10 | Typically each idle state has the following associated properties: | ||
| 11 | |||
| 12 | - name: The name of the idle state as defined by the firmware. | ||
| 13 | |||
| 14 | - flags: indicating some aspects of this idle states such as the | ||
| 15 | extent of state-loss, whether timebase is stopped on this | ||
| 16 | idle states and so on. The flag bits are as follows: | ||
| 17 | |||
| 18 | - exit-latency: The latency involved in transitioning the state of the | ||
| 19 | CPU from idle to running. | ||
| 20 | |||
| 21 | - target-residency: The minimum time that the CPU needs to reside in | ||
| 22 | this idle state in order to accrue power-savings | ||
| 23 | benefit. | ||
| 24 | |||
| 25 | Properties | ||
| 26 | ---------------- | ||
| 27 | The following properties provide details about the idle states. These | ||
| 28 | properties are exposed as arrays. Each entry in the property array | ||
| 29 | provides the value of that property for the idle state associated with | ||
| 30 | the array index of that entry. | ||
| 31 | |||
| 32 | If idle-states are defined, then the properties | ||
| 33 | "ibm,cpu-idle-state-names" and "ibm,cpu-idle-state-flags" are | ||
| 34 | required. The other properties are required unless mentioned | ||
| 35 | otherwise. The length of all the property arrays must be the same. | ||
| 36 | |||
| 37 | - ibm,cpu-idle-state-names: | ||
| 38 | Array of strings containing the names of the idle states. | ||
| 39 | |||
| 40 | - ibm,cpu-idle-state-flags: | ||
| 41 | Array of unsigned 32-bit values containing the values of the | ||
| 42 | flags associated with the the aforementioned idle-states. The | ||
| 43 | flag bits are as follows: | ||
| 44 | 0x00000001 /* Decrementer would stop */ | ||
| 45 | 0x00000002 /* Needs timebase restore */ | ||
| 46 | 0x00001000 /* Restore GPRs like nap */ | ||
| 47 | 0x00002000 /* Restore hypervisor resource from PACA pointer */ | ||
| 48 | 0x00004000 /* Program PORE to restore PACA pointer */ | ||
| 49 | 0x00010000 /* This is a nap state (POWER7,POWER8) */ | ||
| 50 | 0x00020000 /* This is a fast-sleep state (POWER8)*/ | ||
| 51 | 0x00040000 /* This is a winkle state (POWER8) */ | ||
| 52 | 0x00080000 /* This is a fast-sleep state which requires a */ | ||
| 53 | /* software workaround for restoring the */ | ||
| 54 | /* timebase (POWER8) */ | ||
| 55 | 0x00800000 /* This state uses SPR PMICR instruction */ | ||
| 56 | /* (POWER8)*/ | ||
| 57 | 0x00100000 /* This is a fast stop state (POWER9) */ | ||
| 58 | 0x00200000 /* This is a deep-stop state (POWER9) */ | ||
| 59 | |||
| 60 | - ibm,cpu-idle-state-latencies-ns: | ||
| 61 | Array of unsigned 32-bit values containing the values of the | ||
| 62 | exit-latencies (in ns) for the idle states in | ||
| 63 | ibm,cpu-idle-state-names. | ||
| 64 | |||
| 65 | - ibm,cpu-idle-state-residency-ns: | ||
| 66 | Array of unsigned 32-bit values containing the values of the | ||
| 67 | target-residency (in ns) for the idle states in | ||
| 68 | ibm,cpu-idle-state-names. On POWER8 this is an optional | ||
| 69 | property. If the property is absent, the target residency for | ||
| 70 | the "Nap", "FastSleep" are defined to 10000 and 300000000 | ||
| 71 | respectively by the kernel. On POWER9 this property is required. | ||
| 72 | |||
| 73 | - ibm,cpu-idle-state-psscr: | ||
| 74 | Array of unsigned 64-bit values containing the values for the | ||
| 75 | PSSCR for each of the idle states in ibm,cpu-idle-state-names. | ||
| 76 | This property is required on POWER9 and absent on POWER8. | ||
| 77 | |||
| 78 | - ibm,cpu-idle-state-psscr-mask: | ||
| 79 | Array of unsigned 64-bit values containing the masks | ||
| 80 | indicating which psscr fields are set in the corresponding | ||
| 81 | entries of ibm,cpu-idle-state-psscr. This property is | ||
| 82 | required on POWER9 and absent on POWER8. | ||
| 83 | |||
| 84 | Whenever the firmware sets an entry in | ||
| 85 | ibm,cpu-idle-state-psscr-mask value to 0xf, it implies that | ||
| 86 | only the Requested Level (RL) field of the corresponding entry | ||
| 87 | in ibm,cpu-idle-state-psscr should be considered by the | ||
| 88 | kernel. For such idle states, the kernel would set the | ||
| 89 | remaining fields of the psscr to the following sane-default | ||
| 90 | values. | ||
| 91 | |||
| 92 | - ESL and EC bits are to 1. So wakeup from any stop | ||
| 93 | state will be at vector 0x100. | ||
| 94 | |||
| 95 | - MTL and PSLL are set to the maximum allowed value as | ||
| 96 | per the ISA, i.e. 15. | ||
| 97 | |||
| 98 | - The Transition Rate, TR is set to the Maximum value | ||
| 99 | 3. | ||
| 100 | |||
| 101 | For all the other values of the entry in | ||
| 102 | ibm,cpu-idle-state-psscr-mask, the kernel expects all the | ||
| 103 | psscr fields of the corresponding entry in | ||
| 104 | ibm,cpu-idle-state-psscr to be correctly set by the firmware. | ||
| 105 | |||
| 106 | - ibm,cpu-idle-state-pmicr: | ||
| 107 | Array of unsigned 64-bit values containing the pmicr values | ||
| 108 | for the idle states in ibm,cpu-idle-state-names. This 64-bit | ||
| 109 | register value is to be set in pmicr for the corresponding | ||
| 110 | state if the flag indicates that pmicr SPR should be set. This | ||
| 111 | is an optional property on POWER8 and is absent on | ||
| 112 | POWER9. | ||
| 113 | |||
| 114 | - ibm,cpu-idle-state-pmicr-mask: | ||
| 115 | Array of unsigned 64-bit values containing the mask indicating | ||
| 116 | which of the fields of the PMICR are set in the corresponding | ||
| 117 | entries in ibm,cpu-idle-state-pmicr. This is an optional | ||
| 118 | property on POWER8 and is absent on POWER9. | ||
diff --git a/Documentation/devicetree/bindings/pwm/imx-pwm.txt b/Documentation/devicetree/bindings/pwm/imx-pwm.txt index e00c2e9f484d..c61bdf8cd41b 100644 --- a/Documentation/devicetree/bindings/pwm/imx-pwm.txt +++ b/Documentation/devicetree/bindings/pwm/imx-pwm.txt | |||
| @@ -6,8 +6,8 @@ Required properties: | |||
| 6 | - "fsl,imx1-pwm" for PWM compatible with the one integrated on i.MX1 | 6 | - "fsl,imx1-pwm" for PWM compatible with the one integrated on i.MX1 |
| 7 | - "fsl,imx27-pwm" for PWM compatible with the one integrated on i.MX27 | 7 | - "fsl,imx27-pwm" for PWM compatible with the one integrated on i.MX27 |
| 8 | - reg: physical base address and length of the controller's registers | 8 | - reg: physical base address and length of the controller's registers |
| 9 | - #pwm-cells: should be 2. See pwm.txt in this directory for a description of | 9 | - #pwm-cells: 2 for i.MX1 and 3 for i.MX27 and newer SoCs. See pwm.txt |
| 10 | the cells format. | 10 | in this directory for a description of the cells format. |
| 11 | - clocks : Clock specifiers for both ipg and per clocks. | 11 | - clocks : Clock specifiers for both ipg and per clocks. |
| 12 | - clock-names : Clock names should include both "ipg" and "per" | 12 | - clock-names : Clock names should include both "ipg" and "per" |
| 13 | See the clock consumer binding, | 13 | See the clock consumer binding, |
| @@ -17,7 +17,7 @@ See the clock consumer binding, | |||
| 17 | Example: | 17 | Example: |
| 18 | 18 | ||
| 19 | pwm1: pwm@53fb4000 { | 19 | pwm1: pwm@53fb4000 { |
| 20 | #pwm-cells = <2>; | 20 | #pwm-cells = <3>; |
| 21 | compatible = "fsl,imx53-pwm", "fsl,imx27-pwm"; | 21 | compatible = "fsl,imx53-pwm", "fsl,imx27-pwm"; |
| 22 | reg = <0x53fb4000 0x4000>; | 22 | reg = <0x53fb4000 0x4000>; |
| 23 | clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>, | 23 | clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>, |
diff --git a/Documentation/devicetree/bindings/pwm/pwm-stm32.txt b/Documentation/devicetree/bindings/pwm/pwm-stm32.txt new file mode 100644 index 000000000000..6dd040363e5e --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/pwm-stm32.txt | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | STMicroelectronics STM32 Timers PWM bindings | ||
| 2 | |||
| 3 | Must be a sub-node of an STM32 Timers device tree node. | ||
| 4 | See ../mfd/stm32-timers.txt for details about the parent node. | ||
| 5 | |||
| 6 | Required parameters: | ||
| 7 | - compatible: Must be "st,stm32-pwm". | ||
| 8 | - pinctrl-names: Set to "default". | ||
| 9 | - pinctrl-0: List of phandles pointing to pin configuration nodes for PWM module. | ||
| 10 | For Pinctrl properties see ../pinctrl/pinctrl-bindings.txt | ||
| 11 | |||
| 12 | Optional parameters: | ||
| 13 | - st,breakinput: One or two <index level filter> to describe break input configurations. | ||
| 14 | "index" indicates on which break input (0 or 1) the configuration | ||
| 15 | should be applied. | ||
| 16 | "level" gives the active level (0=low or 1=high) of the input signal | ||
| 17 | for this configuration. | ||
| 18 | "filter" gives the filtering value to be applied. | ||
| 19 | |||
| 20 | Example: | ||
| 21 | timers@40010000 { | ||
| 22 | #address-cells = <1>; | ||
| 23 | #size-cells = <0>; | ||
| 24 | compatible = "st,stm32-timers"; | ||
| 25 | reg = <0x40010000 0x400>; | ||
| 26 | clocks = <&rcc 0 160>; | ||
| 27 | clock-names = "clk_int"; | ||
| 28 | |||
| 29 | pwm { | ||
| 30 | compatible = "st,stm32-pwm"; | ||
| 31 | pinctrl-0 = <&pwm1_pins>; | ||
| 32 | pinctrl-names = "default"; | ||
| 33 | st,breakinput = <0 1 5>; | ||
| 34 | }; | ||
| 35 | }; | ||
diff --git a/Documentation/devicetree/bindings/regulator/ti-abb-regulator.txt b/Documentation/devicetree/bindings/regulator/ti-abb-regulator.txt index c3f6546ebac7..6a23ad9ac53a 100644 --- a/Documentation/devicetree/bindings/regulator/ti-abb-regulator.txt +++ b/Documentation/devicetree/bindings/regulator/ti-abb-regulator.txt | |||
| @@ -45,7 +45,7 @@ Required Properties: | |||
| 45 | Optional Properties: | 45 | Optional Properties: |
| 46 | - reg-names: In addition to the required properties, the following are optional | 46 | - reg-names: In addition to the required properties, the following are optional |
| 47 | - "efuse-address" - Contains efuse base address used to pick up ABB info. | 47 | - "efuse-address" - Contains efuse base address used to pick up ABB info. |
| 48 | - "ldo-address" - Contains address of ABB LDO overide register address. | 48 | - "ldo-address" - Contains address of ABB LDO override register. |
| 49 | "efuse-address" is required for this. | 49 | "efuse-address" is required for this. |
| 50 | - ti,ldovbb-vset-mask - Required if ldo-address is set, mask for LDO override | 50 | - ti,ldovbb-vset-mask - Required if ldo-address is set, mask for LDO override |
| 51 | register to provide override vset value. | 51 | register to provide override vset value. |
diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt index b85885a298d8..75ad7b8df0b1 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt | |||
| @@ -9,6 +9,7 @@ on the Qualcomm ADSP Hexagon core. | |||
| 9 | Definition: must be one of: | 9 | Definition: must be one of: |
| 10 | "qcom,msm8974-adsp-pil" | 10 | "qcom,msm8974-adsp-pil" |
| 11 | "qcom,msm8996-adsp-pil" | 11 | "qcom,msm8996-adsp-pil" |
| 12 | "qcom,msm8996-slpi-pil" | ||
| 12 | 13 | ||
| 13 | - interrupts-extended: | 14 | - interrupts-extended: |
| 14 | Usage: required | 15 | Usage: required |
| @@ -24,13 +25,13 @@ on the Qualcomm ADSP Hexagon core. | |||
| 24 | - clocks: | 25 | - clocks: |
| 25 | Usage: required | 26 | Usage: required |
| 26 | Value type: <prop-encoded-array> | 27 | Value type: <prop-encoded-array> |
| 27 | Definition: reference to the xo clock to be held on behalf of the | 28 | Definition: reference to the xo clock and optionally aggre2 clock to be |
| 28 | booting Hexagon core | 29 | held on behalf of the booting Hexagon core |
| 29 | 30 | ||
| 30 | - clock-names: | 31 | - clock-names: |
| 31 | Usage: required | 32 | Usage: required |
| 32 | Value type: <stringlist> | 33 | Value type: <stringlist> |
| 33 | Definition: must be "xo" | 34 | Definition: must be "xo" and optionally include "aggre2" |
| 34 | 35 | ||
| 35 | - cx-supply: | 36 | - cx-supply: |
| 36 | Usage: required | 37 | Usage: required |
| @@ -38,6 +39,12 @@ on the Qualcomm ADSP Hexagon core. | |||
| 38 | Definition: reference to the regulator to be held on behalf of the | 39 | Definition: reference to the regulator to be held on behalf of the |
| 39 | booting Hexagon core | 40 | booting Hexagon core |
| 40 | 41 | ||
| 42 | - px-supply: | ||
| 43 | Usage: required | ||
| 44 | Value type: <phandle> | ||
| 45 | Definition: reference to the px regulator to be held on behalf of the | ||
| 46 | booting Hexagon core | ||
| 47 | |||
| 41 | - memory-region: | 48 | - memory-region: |
| 42 | Usage: required | 49 | Usage: required |
| 43 | Value type: <phandle> | 50 | Value type: <phandle> |
| @@ -96,3 +103,31 @@ ADSP, as it is found on MSM8974 boards. | |||
| 96 | qcom,smd-edge = <1>; | 103 | qcom,smd-edge = <1>; |
| 97 | }; | 104 | }; |
| 98 | }; | 105 | }; |
| 106 | |||
| 107 | The following example describes the resources needed to boot control the | ||
| 108 | SLPI, as it is found on MSM8996 boards. | ||
| 109 | |||
| 110 | slpi { | ||
| 111 | compatible = "qcom,msm8996-slpi-pil"; | ||
| 112 | interrupts-extended = <&intc 0 390 IRQ_TYPE_EDGE_RISING>, | ||
| 113 | <&slpi_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, | ||
| 114 | <&slpi_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, | ||
| 115 | <&slpi_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, | ||
| 116 | <&slpi_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; | ||
| 117 | interrupt-names = "wdog", | ||
| 118 | "fatal", | ||
| 119 | "ready", | ||
| 120 | "handover", | ||
| 121 | "stop-ack"; | ||
| 122 | |||
| 123 | clocks = <&rpmcc MSM8996_RPM_SMD_XO_CLK_SRC>, | ||
| 124 | <&rpmcc MSM8996_RPM_SMD_AGGR2_NOC_CLK>; | ||
| 125 | clock-names = "xo", "aggre2"; | ||
| 126 | |||
| 127 | cx-supply = <&pm8994_l26>; | ||
| 128 | px-supply = <&pm8994_lvs2>; | ||
| 129 | |||
| 130 | memory-region = <&slpi_region>; | ||
| 131 | qcom,smem-states = <&slpi_smp2p_out 0>; | ||
| 132 | qcom,smem-state-names = "stop"; | ||
| 133 | }; | ||
diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt index 57cb49ec55ca..92347fe6890e 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt +++ b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt | |||
| @@ -7,7 +7,9 @@ on the Qualcomm Hexagon core. | |||
| 7 | Usage: required | 7 | Usage: required |
| 8 | Value type: <string> | 8 | Value type: <string> |
| 9 | Definition: must be one of: | 9 | Definition: must be one of: |
| 10 | "qcom,q6v5-pil" | 10 | "qcom,q6v5-pil", |
| 11 | "qcom,msm8916-mss-pil", | ||
| 12 | "qcom,msm8974-mss-pil" | ||
| 11 | 13 | ||
| 12 | - reg: | 14 | - reg: |
| 13 | Usage: required | 15 | Usage: required |
diff --git a/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.txt b/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.txt new file mode 100644 index 000000000000..2bf3344b2a02 --- /dev/null +++ b/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.txt | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | Hisilicon System Reset Controller | ||
| 2 | ====================================== | ||
| 3 | |||
| 4 | Please also refer to reset.txt in this directory for common reset | ||
| 5 | controller binding usage. | ||
| 6 | |||
| 7 | The reset controller registers are part of the system-ctl block on | ||
| 8 | hi3660 SoC. | ||
| 9 | |||
| 10 | Required properties: | ||
| 11 | - compatible: should be | ||
| 12 | "hisilicon,hi3660-reset" | ||
| 13 | - hisi,rst-syscon: phandle of the reset's syscon. | ||
| 14 | - #reset-cells : Specifies the number of cells needed to encode a | ||
| 15 | reset source. The type shall be a <u32> and the value shall be 2. | ||
| 16 | |||
| 17 | Cell #1 : offset of the reset assert control | ||
| 18 | register from the syscon register base | ||
| 19 | offset + 4: deassert control register | ||
| 20 | offset + 8: status control register | ||
| 21 | Cell #2 : bit position of the reset in the reset control register | ||
| 22 | |||
| 23 | Example: | ||
| 24 | iomcu: iomcu@ffd7e000 { | ||
| 25 | compatible = "hisilicon,hi3660-iomcu", "syscon"; | ||
| 26 | reg = <0x0 0xffd7e000 0x0 0x1000>; | ||
| 27 | }; | ||
| 28 | |||
| 29 | iomcu_rst: iomcu_rst_controller { | ||
| 30 | compatible = "hisilicon,hi3660-reset"; | ||
| 31 | hisi,rst-syscon = <&iomcu>; | ||
| 32 | #reset-cells = <2>; | ||
| 33 | }; | ||
| 34 | |||
| 35 | Specifying reset lines connected to IP modules | ||
| 36 | ============================================== | ||
| 37 | example: | ||
| 38 | |||
| 39 | i2c0: i2c@..... { | ||
| 40 | ... | ||
| 41 | resets = <&iomcu_rst 0x20 3>; /* offset: 0x20; bit: 3 */ | ||
| 42 | ... | ||
| 43 | }; | ||
diff --git a/Documentation/devicetree/bindings/reset/ti-syscon-reset.txt b/Documentation/devicetree/bindings/reset/ti-syscon-reset.txt index 164c7f34c451..c516d24959f2 100644 --- a/Documentation/devicetree/bindings/reset/ti-syscon-reset.txt +++ b/Documentation/devicetree/bindings/reset/ti-syscon-reset.txt | |||
| @@ -63,7 +63,7 @@ Example: | |||
| 63 | -------- | 63 | -------- |
| 64 | The following example demonstrates a syscon node, the reset controller node | 64 | The following example demonstrates a syscon node, the reset controller node |
| 65 | using the syscon node, and a consumer (a DSP device) on the TI Keystone 2 | 65 | using the syscon node, and a consumer (a DSP device) on the TI Keystone 2 |
| 66 | Edison SoC. | 66 | 66AK2E SoC. |
| 67 | 67 | ||
| 68 | / { | 68 | / { |
| 69 | soc { | 69 | soc { |
| @@ -71,13 +71,13 @@ Edison SoC. | |||
| 71 | compatible = "syscon", "simple-mfd"; | 71 | compatible = "syscon", "simple-mfd"; |
| 72 | reg = <0x02350000 0x1000>; | 72 | reg = <0x02350000 0x1000>; |
| 73 | 73 | ||
| 74 | pscrst: psc-reset { | 74 | pscrst: reset-controller { |
| 75 | compatible = "ti,k2e-pscrst", "ti,syscon-reset"; | 75 | compatible = "ti,k2e-pscrst", "ti,syscon-reset"; |
| 76 | #reset-cells = <1>; | 76 | #reset-cells = <1>; |
| 77 | 77 | ||
| 78 | ti,reset-bits = < | 78 | ti,reset-bits = < |
| 79 | 0xa3c 8 0xa3c 8 0x83c 8 (ASSERT_SET|DEASSERT_CLEAR|STATUS_SET) /* 0: pcrst-dsp0 */ | 79 | 0xa3c 8 0xa3c 8 0x83c 8 (ASSERT_CLEAR | DEASSERT_SET | STATUS_CLEAR) /* 0: dsp0 */ |
| 80 | 0xa40 5 0xa44 3 0 0 (ASSERT_SET|DEASSERT_CLEAR|STATUS_NONE) /* 1: pcrst-example */ | 80 | 0xa40 5 0xa44 3 0 0 (ASSERT_SET | DEASSERT_CLEAR | STATUS_NONE) /* 1: example */ |
| 81 | >; | 81 | >; |
| 82 | }; | 82 | }; |
| 83 | }; | 83 | }; |
diff --git a/Documentation/devicetree/bindings/reset/uniphier-reset.txt b/Documentation/devicetree/bindings/reset/uniphier-reset.txt index 5020524cddeb..83ab0f599c40 100644 --- a/Documentation/devicetree/bindings/reset/uniphier-reset.txt +++ b/Documentation/devicetree/bindings/reset/uniphier-reset.txt | |||
| @@ -6,14 +6,14 @@ System reset | |||
| 6 | 6 | ||
| 7 | Required properties: | 7 | Required properties: |
| 8 | - compatible: should be one of the following: | 8 | - compatible: should be one of the following: |
| 9 | "socionext,uniphier-sld3-reset" - for sLD3 SoC. | 9 | "socionext,uniphier-sld3-reset" - for sLD3 SoC |
| 10 | "socionext,uniphier-ld4-reset" - for LD4 SoC. | 10 | "socionext,uniphier-ld4-reset" - for LD4 SoC |
| 11 | "socionext,uniphier-pro4-reset" - for Pro4 SoC. | 11 | "socionext,uniphier-pro4-reset" - for Pro4 SoC |
| 12 | "socionext,uniphier-sld8-reset" - for sLD8 SoC. | 12 | "socionext,uniphier-sld8-reset" - for sLD8 SoC |
| 13 | "socionext,uniphier-pro5-reset" - for Pro5 SoC. | 13 | "socionext,uniphier-pro5-reset" - for Pro5 SoC |
| 14 | "socionext,uniphier-pxs2-reset" - for PXs2/LD6b SoC. | 14 | "socionext,uniphier-pxs2-reset" - for PXs2/LD6b SoC |
| 15 | "socionext,uniphier-ld11-reset" - for LD11 SoC. | 15 | "socionext,uniphier-ld11-reset" - for LD11 SoC |
| 16 | "socionext,uniphier-ld20-reset" - for LD20 SoC. | 16 | "socionext,uniphier-ld20-reset" - for LD20 SoC |
| 17 | - #reset-cells: should be 1. | 17 | - #reset-cells: should be 1. |
| 18 | 18 | ||
| 19 | Example: | 19 | Example: |
| @@ -37,14 +37,15 @@ Media I/O (MIO) reset, SD reset | |||
| 37 | 37 | ||
| 38 | Required properties: | 38 | Required properties: |
| 39 | - compatible: should be one of the following: | 39 | - compatible: should be one of the following: |
| 40 | "socionext,uniphier-sld3-mio-reset" - for sLD3 SoC. | 40 | "socionext,uniphier-sld3-mio-reset" - for sLD3 SoC |
| 41 | "socionext,uniphier-ld4-mio-reset" - for LD4 SoC. | 41 | "socionext,uniphier-ld4-mio-reset" - for LD4 SoC |
| 42 | "socionext,uniphier-pro4-mio-reset" - for Pro4 SoC. | 42 | "socionext,uniphier-pro4-mio-reset" - for Pro4 SoC |
| 43 | "socionext,uniphier-sld8-mio-reset" - for sLD8 SoC. | 43 | "socionext,uniphier-sld8-mio-reset" - for sLD8 SoC |
| 44 | "socionext,uniphier-pro5-sd-reset" - for Pro5 SoC. | 44 | "socionext,uniphier-pro5-sd-reset" - for Pro5 SoC |
| 45 | "socionext,uniphier-pxs2-sd-reset" - for PXs2/LD6b SoC. | 45 | "socionext,uniphier-pxs2-sd-reset" - for PXs2/LD6b SoC |
| 46 | "socionext,uniphier-ld11-mio-reset" - for LD11 SoC. | 46 | "socionext,uniphier-ld11-mio-reset" - for LD11 SoC (MIO) |
| 47 | "socionext,uniphier-ld20-sd-reset" - for LD20 SoC. | 47 | "socionext,uniphier-ld11-sd-reset" - for LD11 SoC (SD) |
| 48 | "socionext,uniphier-ld20-sd-reset" - for LD20 SoC | ||
| 48 | - #reset-cells: should be 1. | 49 | - #reset-cells: should be 1. |
| 49 | 50 | ||
| 50 | Example: | 51 | Example: |
| @@ -68,13 +69,13 @@ Peripheral reset | |||
| 68 | 69 | ||
| 69 | Required properties: | 70 | Required properties: |
| 70 | - compatible: should be one of the following: | 71 | - compatible: should be one of the following: |
| 71 | "socionext,uniphier-ld4-peri-reset" - for LD4 SoC. | 72 | "socionext,uniphier-ld4-peri-reset" - for LD4 SoC |
| 72 | "socionext,uniphier-pro4-peri-reset" - for Pro4 SoC. | 73 | "socionext,uniphier-pro4-peri-reset" - for Pro4 SoC |
| 73 | "socionext,uniphier-sld8-peri-reset" - for sLD8 SoC. | 74 | "socionext,uniphier-sld8-peri-reset" - for sLD8 SoC |
| 74 | "socionext,uniphier-pro5-peri-reset" - for Pro5 SoC. | 75 | "socionext,uniphier-pro5-peri-reset" - for Pro5 SoC |
| 75 | "socionext,uniphier-pxs2-peri-reset" - for PXs2/LD6b SoC. | 76 | "socionext,uniphier-pxs2-peri-reset" - for PXs2/LD6b SoC |
| 76 | "socionext,uniphier-ld11-peri-reset" - for LD11 SoC. | 77 | "socionext,uniphier-ld11-peri-reset" - for LD11 SoC |
| 77 | "socionext,uniphier-ld20-peri-reset" - for LD20 SoC. | 78 | "socionext,uniphier-ld20-peri-reset" - for LD20 SoC |
| 78 | - #reset-cells: should be 1. | 79 | - #reset-cells: should be 1. |
| 79 | 80 | ||
| 80 | Example: | 81 | Example: |
diff --git a/Documentation/devicetree/bindings/reset/zte,zx2967-reset.txt b/Documentation/devicetree/bindings/reset/zte,zx2967-reset.txt new file mode 100644 index 000000000000..b015508f9780 --- /dev/null +++ b/Documentation/devicetree/bindings/reset/zte,zx2967-reset.txt | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | ZTE zx2967 SoCs Reset Controller | ||
| 2 | ======================================= | ||
| 3 | |||
| 4 | Please also refer to reset.txt in this directory for common reset | ||
| 5 | controller binding usage. | ||
| 6 | |||
| 7 | Required properties: | ||
| 8 | - compatible: should be one of the following. | ||
| 9 | * zte,zx296718-reset | ||
| 10 | - reg: physical base address of the controller and length of memory mapped | ||
| 11 | region. | ||
| 12 | - #reset-cells: must be 1. | ||
| 13 | |||
| 14 | example: | ||
| 15 | |||
| 16 | reset: reset-controller@1461060 { | ||
| 17 | compatible = "zte,zx296718-reset"; | ||
| 18 | reg = <0x01461060 0x8>; | ||
| 19 | #reset-cells = <1>; | ||
| 20 | }; | ||
diff --git a/Documentation/devicetree/bindings/rtc/armada-380-rtc.txt b/Documentation/devicetree/bindings/rtc/armada-380-rtc.txt index 2eb9d4ee7dc0..c3c9a1226f9a 100644 --- a/Documentation/devicetree/bindings/rtc/armada-380-rtc.txt +++ b/Documentation/devicetree/bindings/rtc/armada-380-rtc.txt | |||
| @@ -1,9 +1,11 @@ | |||
| 1 | * Real Time Clock of the Armada 38x SoCs | 1 | * Real Time Clock of the Armada 38x/7K/8K SoCs |
| 2 | 2 | ||
| 3 | RTC controller for the Armada 38x SoCs | 3 | RTC controller for the Armada 38x, 7K and 8K SoCs |
| 4 | 4 | ||
| 5 | Required properties: | 5 | Required properties: |
| 6 | - compatible : Should be "marvell,armada-380-rtc" | 6 | - compatible : Should be one of the following: |
| 7 | "marvell,armada-380-rtc" for Armada 38x SoC | ||
| 8 | "marvell,armada-8k-rtc" for Aramda 7K/8K SoCs | ||
| 7 | - reg: a list of base address and size pairs, one for each entry in | 9 | - reg: a list of base address and size pairs, one for each entry in |
| 8 | reg-names | 10 | reg-names |
| 9 | - reg names: should contain: | 11 | - reg names: should contain: |
diff --git a/Documentation/devicetree/bindings/rtc/cortina,gemini.txt b/Documentation/devicetree/bindings/rtc/cortina,gemini.txt new file mode 100644 index 000000000000..4ce4e794ddbb --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/cortina,gemini.txt | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | * Cortina Systems Gemini RTC | ||
| 2 | |||
| 3 | Gemini SoC real-time clock. | ||
| 4 | |||
| 5 | Required properties: | ||
| 6 | - compatible : Should be "cortina,gemini-rtc" | ||
| 7 | |||
| 8 | Examples: | ||
| 9 | |||
| 10 | rtc@45000000 { | ||
| 11 | compatible = "cortina,gemini-rtc"; | ||
| 12 | reg = <0x45000000 0x100>; | ||
| 13 | interrupts = <17 IRQ_TYPE_LEVEL_HIGH>; | ||
| 14 | }; | ||
diff --git a/Documentation/devicetree/bindings/rtc/imxdi-rtc.txt b/Documentation/devicetree/bindings/rtc/imxdi-rtc.txt index c9d80d7da141..323cf26374cb 100644 --- a/Documentation/devicetree/bindings/rtc/imxdi-rtc.txt +++ b/Documentation/devicetree/bindings/rtc/imxdi-rtc.txt | |||
| @@ -8,10 +8,13 @@ Required properties: | |||
| 8 | region. | 8 | region. |
| 9 | - interrupts: rtc alarm interrupt | 9 | - interrupts: rtc alarm interrupt |
| 10 | 10 | ||
| 11 | Optional properties: | ||
| 12 | - interrupts: dryice security violation interrupt | ||
| 13 | |||
| 11 | Example: | 14 | Example: |
| 12 | 15 | ||
| 13 | rtc@80056000 { | 16 | rtc@80056000 { |
| 14 | compatible = "fsl,imx53-rtc", "fsl,imx25-rtc"; | 17 | compatible = "fsl,imx53-rtc", "fsl,imx25-rtc"; |
| 15 | reg = <0x80056000 2000>; | 18 | reg = <0x80056000 2000>; |
| 16 | interrupts = <29>; | 19 | interrupts = <29 56>; |
| 17 | }; | 20 | }; |
diff --git a/Documentation/devicetree/bindings/rtc/maxim,ds3231.txt b/Documentation/devicetree/bindings/rtc/maxim,ds3231.txt index 1ad4c1c2b3b3..85be53a42180 100644 --- a/Documentation/devicetree/bindings/rtc/maxim,ds3231.txt +++ b/Documentation/devicetree/bindings/rtc/maxim,ds3231.txt | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | * Maxim DS3231 Real Time Clock | 1 | * Maxim DS3231 Real Time Clock |
| 2 | 2 | ||
| 3 | Required properties: | 3 | Required properties: |
| 4 | see: Documentation/devicetree/bindings/i2c/trivial-admin-guide/devices.rst | 4 | - compatible: Should contain "maxim,ds3231". |
| 5 | - reg: I2C address for chip. | ||
| 5 | 6 | ||
| 6 | Optional property: | 7 | Optional property: |
| 7 | - #clock-cells: Should be 1. | 8 | - #clock-cells: Should be 1. |
diff --git a/Documentation/devicetree/bindings/rtc/pcf8563.txt b/Documentation/devicetree/bindings/rtc/pcf8563.txt index 086c998c5561..36984acbb383 100644 --- a/Documentation/devicetree/bindings/rtc/pcf8563.txt +++ b/Documentation/devicetree/bindings/rtc/pcf8563.txt | |||
| @@ -3,7 +3,8 @@ | |||
| 3 | Philips PCF8563/Epson RTC8564 Real Time Clock | 3 | Philips PCF8563/Epson RTC8564 Real Time Clock |
| 4 | 4 | ||
| 5 | Required properties: | 5 | Required properties: |
| 6 | see: Documentation/devicetree/bindings/i2c/trivial-admin-guide/devices.rst | 6 | - compatible: Should contain "nxp,pcf8563". |
| 7 | - reg: I2C address for chip. | ||
| 7 | 8 | ||
| 8 | Optional property: | 9 | Optional property: |
| 9 | - #clock-cells: Should be 0. | 10 | - #clock-cells: Should be 0. |
diff --git a/Documentation/devicetree/bindings/rtc/st,stm32-rtc.txt b/Documentation/devicetree/bindings/rtc/st,stm32-rtc.txt new file mode 100644 index 000000000000..e2837b951237 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/st,stm32-rtc.txt | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | STM32 Real Time Clock | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: "st,stm32-rtc". | ||
| 5 | - reg: address range of rtc register set. | ||
| 6 | - clocks: reference to the clock entry ck_rtc. | ||
| 7 | - interrupt-parent: phandle for the interrupt controller. | ||
| 8 | - interrupts: rtc alarm interrupt. | ||
| 9 | - st,syscfg: phandle for pwrcfg, mandatory to disable/enable backup domain | ||
| 10 | (RTC registers) write protection. | ||
| 11 | |||
| 12 | Optional properties (to override default ck_rtc parent clock): | ||
| 13 | - assigned-clocks: reference to the ck_rtc clock entry. | ||
| 14 | - assigned-clock-parents: phandle of the new parent clock of ck_rtc. | ||
| 15 | |||
| 16 | Example: | ||
| 17 | |||
| 18 | rtc: rtc@40002800 { | ||
| 19 | compatible = "st,stm32-rtc"; | ||
| 20 | reg = <0x40002800 0x400>; | ||
| 21 | clocks = <&rcc 1 CLK_RTC>; | ||
| 22 | assigned-clocks = <&rcc 1 CLK_RTC>; | ||
| 23 | assigned-clock-parents = <&rcc 1 CLK_LSE>; | ||
| 24 | interrupt-parent = <&exti>; | ||
| 25 | interrupts = <17 1>; | ||
| 26 | st,syscfg = <&pwrcfg>; | ||
| 27 | }; | ||
diff --git a/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt b/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt index f007e428a1ab..945934918b71 100644 --- a/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt +++ b/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt | |||
| @@ -8,10 +8,20 @@ Required properties: | |||
| 8 | memory mapped region. | 8 | memory mapped region. |
| 9 | - interrupts : IRQ lines for the RTC alarm 0 and alarm 1, in that order. | 9 | - interrupts : IRQ lines for the RTC alarm 0 and alarm 1, in that order. |
| 10 | 10 | ||
| 11 | Required properties for new device trees | ||
| 12 | - clocks : phandle to the 32kHz external oscillator | ||
| 13 | - clock-output-names : name of the LOSC clock created | ||
| 14 | - #clock-cells : must be equals to 1. The RTC provides two clocks: the | ||
| 15 | LOSC and its external output, with index 0 and 1 | ||
| 16 | respectively. | ||
| 17 | |||
| 11 | Example: | 18 | Example: |
| 12 | 19 | ||
| 13 | rtc: rtc@01f00000 { | 20 | rtc: rtc@01f00000 { |
| 14 | compatible = "allwinner,sun6i-a31-rtc"; | 21 | compatible = "allwinner,sun6i-a31-rtc"; |
| 15 | reg = <0x01f00000 0x54>; | 22 | reg = <0x01f00000 0x54>; |
| 16 | interrupts = <0 40 4>, <0 41 4>; | 23 | interrupts = <0 40 4>, <0 41 4>; |
| 24 | clock-output-names = "osc32k"; | ||
| 25 | clocks = <&ext_osc32k>; | ||
| 26 | #clock-cells = <1>; | ||
| 17 | }; | 27 | }; |
diff --git a/Documentation/devicetree/bindings/serial/8250.txt b/Documentation/devicetree/bindings/serial/8250.txt index f86bb06c39e9..10276a46ecef 100644 --- a/Documentation/devicetree/bindings/serial/8250.txt +++ b/Documentation/devicetree/bindings/serial/8250.txt | |||
| @@ -19,6 +19,7 @@ Required properties: | |||
| 19 | - "altr,16550-FIFO128" | 19 | - "altr,16550-FIFO128" |
| 20 | - "fsl,16550-FIFO64" | 20 | - "fsl,16550-FIFO64" |
| 21 | - "fsl,ns16550" | 21 | - "fsl,ns16550" |
| 22 | - "ti,da830-uart" | ||
| 22 | - "serial" if the port type is unknown. | 23 | - "serial" if the port type is unknown. |
| 23 | - reg : offset and length of the register set for the device. | 24 | - reg : offset and length of the register set for the device. |
| 24 | - interrupts : should contain uart interrupt. | 25 | - interrupts : should contain uart interrupt. |
diff --git a/Documentation/devicetree/bindings/serial/fsl-imx-uart.txt b/Documentation/devicetree/bindings/serial/fsl-imx-uart.txt index 1e82802d8e32..574c3a2c77d5 100644 --- a/Documentation/devicetree/bindings/serial/fsl-imx-uart.txt +++ b/Documentation/devicetree/bindings/serial/fsl-imx-uart.txt | |||
| @@ -6,11 +6,13 @@ Required properties: | |||
| 6 | - interrupts : Should contain uart interrupt | 6 | - interrupts : Should contain uart interrupt |
| 7 | 7 | ||
| 8 | Optional properties: | 8 | Optional properties: |
| 9 | - uart-has-rtscts : Indicate the uart has rts and cts | ||
| 10 | - fsl,irda-mode : Indicate the uart supports irda mode | 9 | - fsl,irda-mode : Indicate the uart supports irda mode |
| 11 | - fsl,dte-mode : Indicate the uart works in DTE mode. The uart works | 10 | - fsl,dte-mode : Indicate the uart works in DTE mode. The uart works |
| 12 | in DCE mode by default. | 11 | in DCE mode by default. |
| 13 | 12 | ||
| 13 | Please check Documentation/devicetree/bindings/serial/serial.txt | ||
| 14 | for the complete list of generic properties. | ||
| 15 | |||
| 14 | Note: Each uart controller should have an alias correctly numbered | 16 | Note: Each uart controller should have an alias correctly numbered |
| 15 | in "aliases" node. | 17 | in "aliases" node. |
| 16 | 18 | ||
diff --git a/Documentation/devicetree/bindings/serial/serial.txt b/Documentation/devicetree/bindings/serial/serial.txt index fd970f76a7b8..b542a0ecf06e 100644 --- a/Documentation/devicetree/bindings/serial/serial.txt +++ b/Documentation/devicetree/bindings/serial/serial.txt | |||
| @@ -23,7 +23,8 @@ Optional properties: | |||
| 23 | they are available for use (wired and enabled by pinmux configuration). | 23 | they are available for use (wired and enabled by pinmux configuration). |
| 24 | This depends on both the UART hardware and the board wiring. | 24 | This depends on both the UART hardware and the board wiring. |
| 25 | Note that this property is mutually-exclusive with "cts-gpios" and | 25 | Note that this property is mutually-exclusive with "cts-gpios" and |
| 26 | "rts-gpios" above. | 26 | "rts-gpios" above, unless support is provided to switch between modes |
| 27 | dynamically. | ||
| 27 | 28 | ||
| 28 | 29 | ||
| 29 | Examples: | 30 | Examples: |
diff --git a/Documentation/devicetree/bindings/serial/slave-device.txt b/Documentation/devicetree/bindings/serial/slave-device.txt new file mode 100644 index 000000000000..f66037928f5f --- /dev/null +++ b/Documentation/devicetree/bindings/serial/slave-device.txt | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | Serial Slave Device DT binding | ||
| 2 | |||
| 3 | This documents the binding structure and common properties for serial | ||
| 4 | attached devices. Common examples include Bluetooth, WiFi, NFC and GPS | ||
| 5 | devices. | ||
| 6 | |||
| 7 | Serial attached devices shall be a child node of the host UART device the | ||
| 8 | slave device is attached to. It is expected that the attached device is | ||
| 9 | the only child node of the UART device. The slave device node name shall | ||
| 10 | reflect the generic type of device for the node. | ||
| 11 | |||
| 12 | Required Properties: | ||
| 13 | |||
| 14 | - compatible : A string reflecting the vendor and specific device the node | ||
| 15 | represents. | ||
| 16 | |||
| 17 | Optional Properties: | ||
| 18 | |||
| 19 | - max-speed : The maximum baud rate the device operates at. This should | ||
| 20 | only be present if the maximum is less than the slave device | ||
| 21 | can support. For example, a particular board has some signal | ||
| 22 | quality issue or the host processor can't support higher | ||
| 23 | baud rates. | ||
| 24 | |||
| 25 | Example: | ||
| 26 | |||
| 27 | serial@1234 { | ||
| 28 | compatible = "ns16550a"; | ||
| 29 | interrupts = <1>; | ||
| 30 | |||
| 31 | bluetooth { | ||
| 32 | compatible = "brcm,bcm43341-bt"; | ||
| 33 | interrupt-parent = <&gpio>; | ||
| 34 | interrupts = <10>; | ||
| 35 | }; | ||
| 36 | }; | ||
diff --git a/Documentation/devicetree/bindings/soc/fsl/qman-portals.txt b/Documentation/devicetree/bindings/soc/fsl/qman-portals.txt index 47e46ccbc170..5a34f3ab7bea 100644 --- a/Documentation/devicetree/bindings/soc/fsl/qman-portals.txt +++ b/Documentation/devicetree/bindings/soc/fsl/qman-portals.txt | |||
| @@ -5,7 +5,6 @@ Copyright (C) 2008 - 2014 Freescale Semiconductor Inc. | |||
| 5 | CONTENTS | 5 | CONTENTS |
| 6 | 6 | ||
| 7 | - QMan Portal | 7 | - QMan Portal |
| 8 | - QMan Pool Channel | ||
| 9 | - Example | 8 | - Example |
| 10 | 9 | ||
| 11 | QMan Portal Node | 10 | QMan Portal Node |
| @@ -82,25 +81,6 @@ These subnodes should have the following properties: | |||
| 82 | Definition: The phandle to the particular hardware device that this | 81 | Definition: The phandle to the particular hardware device that this |
| 83 | portal is connected to. | 82 | portal is connected to. |
| 84 | 83 | ||
| 85 | DPAA QMan Pool Channel Nodes | ||
| 86 | |||
| 87 | Pool Channels are defined with the following properties. | ||
| 88 | |||
| 89 | PROPERTIES | ||
| 90 | |||
| 91 | - compatible | ||
| 92 | Usage: Required | ||
| 93 | Value type: <stringlist> | ||
| 94 | Definition: Must include "fsl,qman-pool-channel" | ||
| 95 | May include "fsl,<SoC>-qman-pool-channel" | ||
| 96 | |||
| 97 | - fsl,qman-channel-id | ||
| 98 | Usage: Required | ||
| 99 | Value type: <u32> | ||
| 100 | Definition: The hardware index of the channel. This can also be | ||
| 101 | determined by dividing any of the channel's 8 work queue | ||
| 102 | IDs by 8 | ||
| 103 | |||
| 104 | EXAMPLE | 84 | EXAMPLE |
| 105 | 85 | ||
| 106 | The example below shows a (P4080) QMan portals container/bus node with two portals | 86 | The example below shows a (P4080) QMan portals container/bus node with two portals |
diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.txt b/Documentation/devicetree/bindings/soc/rockchip/grf.txt index 013e71a2cdc7..a0685c209218 100644 --- a/Documentation/devicetree/bindings/soc/rockchip/grf.txt +++ b/Documentation/devicetree/bindings/soc/rockchip/grf.txt | |||
| @@ -5,20 +5,24 @@ is composed of many registers for system control. | |||
| 5 | 5 | ||
| 6 | From RK3368 SoCs, the GRF is divided into two sections, | 6 | From RK3368 SoCs, the GRF is divided into two sections, |
| 7 | - GRF, used for general non-secure system, | 7 | - GRF, used for general non-secure system, |
| 8 | - SGRF, used for general secure system, | ||
| 8 | - PMUGRF, used for always on system | 9 | - PMUGRF, used for always on system |
| 9 | 10 | ||
| 10 | Required Properties: | 11 | Required Properties: |
| 11 | 12 | ||
| 12 | - compatible: GRF should be one of the followings | 13 | - compatible: GRF should be one of the following: |
| 14 | - "rockchip,rk3036-grf", "syscon": for rk3036 | ||
| 13 | - "rockchip,rk3066-grf", "syscon": for rk3066 | 15 | - "rockchip,rk3066-grf", "syscon": for rk3066 |
| 14 | - "rockchip,rk3188-grf", "syscon": for rk3188 | 16 | - "rockchip,rk3188-grf", "syscon": for rk3188 |
| 15 | - "rockchip,rk3228-grf", "syscon": for rk3228 | 17 | - "rockchip,rk3228-grf", "syscon": for rk3228 |
| 16 | - "rockchip,rk3288-grf", "syscon": for rk3288 | 18 | - "rockchip,rk3288-grf", "syscon": for rk3288 |
| 17 | - "rockchip,rk3368-grf", "syscon": for rk3368 | 19 | - "rockchip,rk3368-grf", "syscon": for rk3368 |
| 18 | - "rockchip,rk3399-grf", "syscon": for rk3399 | 20 | - "rockchip,rk3399-grf", "syscon": for rk3399 |
| 19 | - compatible: PMUGRF should be one of the followings | 21 | - compatible: PMUGRF should be one of the following: |
| 20 | - "rockchip,rk3368-pmugrf", "syscon": for rk3368 | 22 | - "rockchip,rk3368-pmugrf", "syscon": for rk3368 |
| 21 | - "rockchip,rk3399-pmugrf", "syscon": for rk3399 | 23 | - "rockchip,rk3399-pmugrf", "syscon": for rk3399 |
| 24 | - compatible: SGRF should be one of the following | ||
| 25 | - "rockchip,rk3288-sgrf", "syscon": for rk3288 | ||
| 22 | - reg: physical base address of the controller and length of memory mapped | 26 | - reg: physical base address of the controller and length of memory mapped |
| 23 | region. | 27 | region. |
| 24 | 28 | ||
diff --git a/Documentation/devicetree/bindings/soc/rockchip/power_domain.txt b/Documentation/devicetree/bindings/soc/rockchip/power_domain.txt index f909ce06afc4..01bfb6745fbd 100644 --- a/Documentation/devicetree/bindings/soc/rockchip/power_domain.txt +++ b/Documentation/devicetree/bindings/soc/rockchip/power_domain.txt | |||
| @@ -6,6 +6,7 @@ powered up/down by software based on different application scenes to save power. | |||
| 6 | Required properties for power domain controller: | 6 | Required properties for power domain controller: |
| 7 | - compatible: Should be one of the following. | 7 | - compatible: Should be one of the following. |
| 8 | "rockchip,rk3288-power-controller" - for RK3288 SoCs. | 8 | "rockchip,rk3288-power-controller" - for RK3288 SoCs. |
| 9 | "rockchip,rk3328-power-controller" - for RK3328 SoCs. | ||
| 9 | "rockchip,rk3368-power-controller" - for RK3368 SoCs. | 10 | "rockchip,rk3368-power-controller" - for RK3368 SoCs. |
| 10 | "rockchip,rk3399-power-controller" - for RK3399 SoCs. | 11 | "rockchip,rk3399-power-controller" - for RK3399 SoCs. |
| 11 | - #power-domain-cells: Number of cells in a power-domain specifier. | 12 | - #power-domain-cells: Number of cells in a power-domain specifier. |
| @@ -16,6 +17,7 @@ Required properties for power domain controller: | |||
| 16 | Required properties for power domain sub nodes: | 17 | Required properties for power domain sub nodes: |
| 17 | - reg: index of the power domain, should use macros in: | 18 | - reg: index of the power domain, should use macros in: |
| 18 | "include/dt-bindings/power/rk3288-power.h" - for RK3288 type power domain. | 19 | "include/dt-bindings/power/rk3288-power.h" - for RK3288 type power domain. |
| 20 | "include/dt-bindings/power/rk3328-power.h" - for RK3328 type power domain. | ||
| 19 | "include/dt-bindings/power/rk3368-power.h" - for RK3368 type power domain. | 21 | "include/dt-bindings/power/rk3368-power.h" - for RK3368 type power domain. |
| 20 | "include/dt-bindings/power/rk3399-power.h" - for RK3399 type power domain. | 22 | "include/dt-bindings/power/rk3399-power.h" - for RK3399 type power domain. |
| 21 | - clocks (optional): phandles to clocks which need to be enabled while power domain | 23 | - clocks (optional): phandles to clocks which need to be enabled while power domain |
| @@ -90,6 +92,7 @@ containing a phandle to the power device node and an index specifying which | |||
| 90 | power domain to use. | 92 | power domain to use. |
| 91 | The index should use macros in: | 93 | The index should use macros in: |
| 92 | "include/dt-bindings/power/rk3288-power.h" - for rk3288 type power domain. | 94 | "include/dt-bindings/power/rk3288-power.h" - for rk3288 type power domain. |
| 95 | "include/dt-bindings/power/rk3328-power.h" - for rk3328 type power domain. | ||
| 93 | "include/dt-bindings/power/rk3368-power.h" - for rk3368 type power domain. | 96 | "include/dt-bindings/power/rk3368-power.h" - for rk3368 type power domain. |
| 94 | "include/dt-bindings/power/rk3399-power.h" - for rk3399 type power domain. | 97 | "include/dt-bindings/power/rk3399-power.h" - for rk3399 type power domain. |
| 95 | 98 | ||
diff --git a/Documentation/devicetree/bindings/soc/zte/pd-2967xx.txt b/Documentation/devicetree/bindings/soc/zte/pd-2967xx.txt new file mode 100644 index 000000000000..7629de1c2c72 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/zte/pd-2967xx.txt | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | * ZTE zx2967 family Power Domains | ||
| 2 | |||
| 3 | zx2967 family includes support for multiple power domains which are used | ||
| 4 | to gate power to one or more peripherals on the processor. | ||
| 5 | |||
| 6 | Required Properties: | ||
| 7 | - compatible: should be one of the following. | ||
| 8 | * zte,zx296718-pcu - for zx296718 power domain. | ||
| 9 | - reg: physical base address of the controller and length of memory mapped | ||
| 10 | region. | ||
| 11 | - #power-domain-cells: Must be 1. | ||
| 12 | |||
| 13 | Example: | ||
| 14 | |||
| 15 | pcu_domain: pcu@117000 { | ||
| 16 | compatible = "zte,zx296718-pcu"; | ||
| 17 | reg = <0x00117000 0x1000>; | ||
| 18 | #power-domain-cells = <1>; | ||
| 19 | }; | ||
diff --git a/Documentation/devicetree/bindings/sound/axentia,tse850-pcm5142.txt b/Documentation/devicetree/bindings/sound/axentia,tse850-pcm5142.txt index 5b9b38f578bb..fdb25b492514 100644 --- a/Documentation/devicetree/bindings/sound/axentia,tse850-pcm5142.txt +++ b/Documentation/devicetree/bindings/sound/axentia,tse850-pcm5142.txt | |||
| @@ -2,8 +2,7 @@ Devicetree bindings for the Axentia TSE-850 audio complex | |||
| 2 | 2 | ||
| 3 | Required properties: | 3 | Required properties: |
| 4 | - compatible: "axentia,tse850-pcm5142" | 4 | - compatible: "axentia,tse850-pcm5142" |
| 5 | - axentia,ssc-controller: The phandle of the atmel SSC controller used as | 5 | - axentia,cpu-dai: The phandle of the cpu dai. |
| 6 | cpu dai. | ||
| 7 | - axentia,audio-codec: The phandle of the PCM5142 codec. | 6 | - axentia,audio-codec: The phandle of the PCM5142 codec. |
| 8 | - axentia,add-gpios: gpio specifier that controls the mixer. | 7 | - axentia,add-gpios: gpio specifier that controls the mixer. |
| 9 | - axentia,loop1-gpios: gpio specifier that controls loop relays on channel 1. | 8 | - axentia,loop1-gpios: gpio specifier that controls loop relays on channel 1. |
| @@ -43,6 +42,12 @@ the PCM5142 codec. | |||
| 43 | 42 | ||
| 44 | Example: | 43 | Example: |
| 45 | 44 | ||
| 45 | &ssc0 { | ||
| 46 | #sound-dai-cells = <0>; | ||
| 47 | |||
| 48 | status = "okay"; | ||
| 49 | }; | ||
| 50 | |||
| 46 | &i2c { | 51 | &i2c { |
| 47 | codec: pcm5142@4c { | 52 | codec: pcm5142@4c { |
| 48 | compatible = "ti,pcm5142"; | 53 | compatible = "ti,pcm5142"; |
| @@ -77,7 +82,7 @@ Example: | |||
| 77 | sound { | 82 | sound { |
| 78 | compatible = "axentia,tse850-pcm5142"; | 83 | compatible = "axentia,tse850-pcm5142"; |
| 79 | 84 | ||
| 80 | axentia,ssc-controller = <&ssc0>; | 85 | axentia,cpu-dai = <&ssc0>; |
| 81 | axentia,audio-codec = <&codec>; | 86 | axentia,audio-codec = <&codec>; |
| 82 | 87 | ||
| 83 | axentia,add-gpios = <&pioA 8 GPIO_ACTIVE_LOW>; | 88 | axentia,add-gpios = <&pioA 8 GPIO_ACTIVE_LOW>; |
diff --git a/Documentation/devicetree/bindings/sound/es8328.txt b/Documentation/devicetree/bindings/sound/es8328.txt index 30ea8a318ae9..33fbf058c997 100644 --- a/Documentation/devicetree/bindings/sound/es8328.txt +++ b/Documentation/devicetree/bindings/sound/es8328.txt | |||
| @@ -4,7 +4,7 @@ This device supports both I2C and SPI. | |||
| 4 | 4 | ||
| 5 | Required properties: | 5 | Required properties: |
| 6 | 6 | ||
| 7 | - compatible : "everest,es8328" | 7 | - compatible : Should be "everest,es8328" or "everest,es8388" |
| 8 | - DVDD-supply : Regulator providing digital core supply voltage 1.8 - 3.6V | 8 | - DVDD-supply : Regulator providing digital core supply voltage 1.8 - 3.6V |
| 9 | - AVDD-supply : Regulator providing analog supply voltage 3.3V | 9 | - AVDD-supply : Regulator providing analog supply voltage 3.3V |
| 10 | - PVDD-supply : Regulator providing digital IO supply voltage 1.8 - 3.6V | 10 | - PVDD-supply : Regulator providing digital IO supply voltage 1.8 - 3.6V |
diff --git a/Documentation/devicetree/bindings/sound/mt2701-afe-pcm.txt b/Documentation/devicetree/bindings/sound/mt2701-afe-pcm.txt index 3e623a724e55..9800a560e0c2 100644 --- a/Documentation/devicetree/bindings/sound/mt2701-afe-pcm.txt +++ b/Documentation/devicetree/bindings/sound/mt2701-afe-pcm.txt | |||
| @@ -4,6 +4,7 @@ Required properties: | |||
| 4 | - compatible = "mediatek,mt2701-audio"; | 4 | - compatible = "mediatek,mt2701-audio"; |
| 5 | - reg: register location and size | 5 | - reg: register location and size |
| 6 | - interrupts: Should contain AFE interrupt | 6 | - interrupts: Should contain AFE interrupt |
| 7 | - power-domains: should define the power domain | ||
| 7 | - clock-names: should have these clock names: | 8 | - clock-names: should have these clock names: |
| 8 | "infra_sys_audio_clk", | 9 | "infra_sys_audio_clk", |
| 9 | "top_audio_mux1_sel", | 10 | "top_audio_mux1_sel", |
| @@ -58,6 +59,7 @@ Example: | |||
| 58 | <0 0x112A0000 0 0x20000>; | 59 | <0 0x112A0000 0 0x20000>; |
| 59 | interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_LOW>, | 60 | interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_LOW>, |
| 60 | <GIC_SPI 132 IRQ_TYPE_LEVEL_LOW>; | 61 | <GIC_SPI 132 IRQ_TYPE_LEVEL_LOW>; |
| 62 | power-domains = <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>; | ||
| 61 | clocks = <&infracfg CLK_INFRA_AUDIO>, | 63 | clocks = <&infracfg CLK_INFRA_AUDIO>, |
| 62 | <&topckgen CLK_TOP_AUD_MUX1_SEL>, | 64 | <&topckgen CLK_TOP_AUD_MUX1_SEL>, |
| 63 | <&topckgen CLK_TOP_AUD_MUX2_SEL>, | 65 | <&topckgen CLK_TOP_AUD_MUX2_SEL>, |
diff --git a/Documentation/devicetree/bindings/sound/nau8540.txt b/Documentation/devicetree/bindings/sound/nau8540.txt new file mode 100644 index 000000000000..307a76528320 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/nau8540.txt | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | NAU85L40 audio CODEC | ||
| 2 | |||
| 3 | This device supports I2C only. | ||
| 4 | |||
| 5 | Required properties: | ||
| 6 | |||
| 7 | - compatible : "nuvoton,nau8540" | ||
| 8 | |||
| 9 | - reg : the I2C address of the device. | ||
| 10 | |||
| 11 | Example: | ||
| 12 | |||
| 13 | codec: nau8540@1c { | ||
| 14 | compatible = "nuvoton,nau8540"; | ||
| 15 | reg = <0x1c>; | ||
| 16 | }; | ||
diff --git a/Documentation/devicetree/bindings/sound/rockchip,rk3288-hdmi-analog.txt b/Documentation/devicetree/bindings/sound/rockchip,rk3288-hdmi-analog.txt new file mode 100644 index 000000000000..2539e1d68107 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/rockchip,rk3288-hdmi-analog.txt | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | ROCKCHIP RK3288 with HDMI and analog audio | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: "rockchip,rk3288-hdmi-analog" | ||
| 5 | - rockchip,model: The user-visible name of this sound complex | ||
| 6 | - rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's | ||
| 7 | connected to the CODEC | ||
| 8 | - rockchip,audio-codec: The phandle of the analog audio codec. | ||
| 9 | - rockchip,routing: A list of the connections between audio components. | ||
| 10 | Each entry is a pair of strings, the first being the | ||
| 11 | connection's sink, the second being the connection's | ||
| 12 | source. For this driver the first string should always be | ||
| 13 | "Analog". | ||
| 14 | |||
| 15 | Optionnal properties: | ||
| 16 | - rockchip,hp-en-gpios = The phandle of the GPIO that power up/down the | ||
| 17 | headphone (when the analog output is an headphone). | ||
| 18 | - rockchip,hp-det-gpios = The phandle of the GPIO that detects the headphone | ||
| 19 | (when the analog output is an headphone). | ||
| 20 | - pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt | ||
| 21 | |||
| 22 | Example: | ||
| 23 | |||
| 24 | sound { | ||
| 25 | compatible = "rockchip,rockchip-audio-es8388"; | ||
| 26 | rockchip,model = "Analog audio output"; | ||
| 27 | rockchip,i2s-controller = <&i2s>; | ||
| 28 | rockchip,audio-codec = <&es8388>; | ||
| 29 | rockchip,routing = "Analog", "LOUT2", | ||
| 30 | "Analog", "ROUT2"; | ||
| 31 | rockchip,hp-en-gpios = <&gpio8 0 GPIO_ACTIVE_HIGH>; | ||
| 32 | rockchip,hp-det-gpios = <&gpio7 7 GPIO_ACTIVE_HIGH>; | ||
| 33 | pinctrl-names = "default"; | ||
| 34 | pinctrl-0 = <&headphone>; | ||
| 35 | }; | ||
| 36 | |||
diff --git a/Documentation/devicetree/bindings/sound/rockchip-i2s.txt b/Documentation/devicetree/bindings/sound/rockchip-i2s.txt index 4ea29aa9af59..a6600f6dea64 100644 --- a/Documentation/devicetree/bindings/sound/rockchip-i2s.txt +++ b/Documentation/devicetree/bindings/sound/rockchip-i2s.txt | |||
| @@ -5,7 +5,7 @@ audio data transfer between devices in the system. | |||
| 5 | 5 | ||
| 6 | Required properties: | 6 | Required properties: |
| 7 | 7 | ||
| 8 | - compatible: should be one of the followings | 8 | - compatible: should be one of the following: |
| 9 | - "rockchip,rk3066-i2s": for rk3066 | 9 | - "rockchip,rk3066-i2s": for rk3066 |
| 10 | - "rockchip,rk3188-i2s", "rockchip,rk3066-i2s": for rk3188 | 10 | - "rockchip,rk3188-i2s", "rockchip,rk3066-i2s": for rk3188 |
| 11 | - "rockchip,rk3288-i2s", "rockchip,rk3066-i2s": for rk3288 | 11 | - "rockchip,rk3288-i2s", "rockchip,rk3066-i2s": for rk3288 |
| @@ -17,7 +17,7 @@ Required properties: | |||
| 17 | Documentation/devicetree/bindings/dma/dma.txt | 17 | Documentation/devicetree/bindings/dma/dma.txt |
| 18 | - dma-names: should include "tx" and "rx". | 18 | - dma-names: should include "tx" and "rx". |
| 19 | - clocks: a list of phandle + clock-specifer pairs, one for each entry in clock-names. | 19 | - clocks: a list of phandle + clock-specifer pairs, one for each entry in clock-names. |
| 20 | - clock-names: should contain followings: | 20 | - clock-names: should contain the following: |
| 21 | - "i2s_hclk": clock for I2S BUS | 21 | - "i2s_hclk": clock for I2S BUS |
| 22 | - "i2s_clk" : clock for I2S controller | 22 | - "i2s_clk" : clock for I2S controller |
| 23 | - rockchip,playback-channels: max playback channels, if not set, 8 channels default. | 23 | - rockchip,playback-channels: max playback channels, if not set, 8 channels default. |
diff --git a/Documentation/devicetree/bindings/sound/rt5665.txt b/Documentation/devicetree/bindings/sound/rt5665.txt index 419c89219681..419c89219681 100755..100644 --- a/Documentation/devicetree/bindings/sound/rt5665.txt +++ b/Documentation/devicetree/bindings/sound/rt5665.txt | |||
diff --git a/Documentation/devicetree/bindings/sound/sun4i-codec.txt b/Documentation/devicetree/bindings/sound/sun4i-codec.txt index 3033bd8aab0f..3863531d1e6d 100644 --- a/Documentation/devicetree/bindings/sound/sun4i-codec.txt +++ b/Documentation/devicetree/bindings/sound/sun4i-codec.txt | |||
| @@ -14,7 +14,7 @@ Required properties: | |||
| 14 | - dma-names: should include "tx" and "rx". | 14 | - dma-names: should include "tx" and "rx". |
| 15 | - clocks: a list of phandle + clock-specifer pairs, one for each entry | 15 | - clocks: a list of phandle + clock-specifer pairs, one for each entry |
| 16 | in clock-names. | 16 | in clock-names. |
| 17 | - clock-names: should contain followings: | 17 | - clock-names: should contain the following: |
| 18 | - "apb": the parent APB clock for this controller | 18 | - "apb": the parent APB clock for this controller |
| 19 | - "codec": the parent module clock | 19 | - "codec": the parent module clock |
| 20 | 20 | ||
diff --git a/Documentation/devicetree/bindings/sound/sun4i-i2s.txt b/Documentation/devicetree/bindings/sound/sun4i-i2s.txt index 7b526ec64991..ee21da865771 100644 --- a/Documentation/devicetree/bindings/sound/sun4i-i2s.txt +++ b/Documentation/devicetree/bindings/sound/sun4i-i2s.txt | |||
| @@ -5,8 +5,9 @@ audio data transfer between devices in the system. | |||
| 5 | 5 | ||
| 6 | Required properties: | 6 | Required properties: |
| 7 | 7 | ||
| 8 | - compatible: should be one of the followings | 8 | - compatible: should be one of the following: |
| 9 | - "allwinner,sun4i-a10-i2s" | 9 | - "allwinner,sun4i-a10-i2s" |
| 10 | - "allwinner,sun6i-a31-i2s" | ||
| 10 | - reg: physical base address of the controller and length of memory mapped | 11 | - reg: physical base address of the controller and length of memory mapped |
| 11 | region. | 12 | region. |
| 12 | - interrupts: should contain the I2S interrupt. | 13 | - interrupts: should contain the I2S interrupt. |
| @@ -14,11 +15,15 @@ Required properties: | |||
| 14 | Documentation/devicetree/bindings/dma/dma.txt | 15 | Documentation/devicetree/bindings/dma/dma.txt |
| 15 | - dma-names: should include "tx" and "rx". | 16 | - dma-names: should include "tx" and "rx". |
| 16 | - clocks: a list of phandle + clock-specifer pairs, one for each entry in clock-names. | 17 | - clocks: a list of phandle + clock-specifer pairs, one for each entry in clock-names. |
| 17 | - clock-names: should contain followings: | 18 | - clock-names: should contain the following: |
| 18 | - "apb" : clock for the I2S bus interface | 19 | - "apb" : clock for the I2S bus interface |
| 19 | - "mod" : module clock for the I2S controller | 20 | - "mod" : module clock for the I2S controller |
| 20 | - #sound-dai-cells : Must be equal to 0 | 21 | - #sound-dai-cells : Must be equal to 0 |
| 21 | 22 | ||
| 23 | Required properties for the following compatibles: | ||
| 24 | - "allwinner,sun6i-a31-i2s" | ||
| 25 | - resets: phandle to the reset line for this codec | ||
| 26 | |||
| 22 | Example: | 27 | Example: |
| 23 | 28 | ||
| 24 | i2s0: i2s@01c22400 { | 29 | i2s0: i2s@01c22400 { |
diff --git a/Documentation/devicetree/bindings/sound/sun8i-a33-codec.txt b/Documentation/devicetree/bindings/sound/sun8i-a33-codec.txt new file mode 100644 index 000000000000..399b1b4bae22 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/sun8i-a33-codec.txt | |||
| @@ -0,0 +1,63 @@ | |||
| 1 | Allwinner SUN8I audio codec | ||
| 2 | ------------------------------------ | ||
| 3 | |||
| 4 | On Sun8i-A33 SoCs, the audio is separated in different parts: | ||
| 5 | - A DAI driver. It uses the "sun4i-i2s" driver which is | ||
| 6 | documented here: | ||
| 7 | Documentation/devicetree/bindings/sound/sun4i-i2s.txt | ||
| 8 | - An analog part of the codec which is handled as PRCM registers. | ||
| 9 | See Documentation/devicetree/bindings/sound/sun8i-codec-analog.txt | ||
| 10 | - An digital part of the codec which is documented in this current | ||
| 11 | binding documentation. | ||
| 12 | - And finally, an audio card which links all the above components. | ||
| 13 | The simple-audio card will be used. | ||
| 14 | See Documentation/devicetree/bindings/sound/simple-card.txt | ||
| 15 | |||
| 16 | This bindings documentation exposes Sun8i codec (digital part). | ||
| 17 | |||
| 18 | Required properties: | ||
| 19 | - compatible: must be "allwinner,sun8i-a33-codec" | ||
| 20 | - reg: must contain the registers location and length | ||
| 21 | - interrupts: must contain the codec interrupt | ||
| 22 | - clocks: a list of phandle + clock-specifer pairs, one for each entry | ||
| 23 | in clock-names. | ||
| 24 | - clock-names: should contain followings: | ||
| 25 | - "bus": the parent APB clock for this controller | ||
| 26 | - "mod": the parent module clock | ||
| 27 | |||
| 28 | Here is an example to add a sound card and the codec binding on sun8i SoCs that | ||
| 29 | are similar to A33 using simple-card: | ||
| 30 | |||
| 31 | sound { | ||
| 32 | compatible = "simple-audio-card"; | ||
| 33 | simple-audio-card,name = "sun8i-a33-audio"; | ||
| 34 | simple-audio-card,format = "i2s"; | ||
| 35 | simple-audio-card,frame-master = <&link_codec>; | ||
| 36 | simple-audio-card,bitclock-master = <&link_codec>; | ||
| 37 | simple-audio-card,mclk-fs = <512>; | ||
| 38 | simple-audio-card,aux-devs = <&codec_analog>; | ||
| 39 | simple-audio-card,routing = | ||
| 40 | "Left DAC", "Digital Left DAC", | ||
| 41 | "Right DAC", "Digital Right DAC"; | ||
| 42 | |||
| 43 | simple-audio-card,cpu { | ||
| 44 | sound-dai = <&dai>; | ||
| 45 | }; | ||
| 46 | |||
| 47 | link_codec: simple-audio-card,codec { | ||
| 48 | sound-dai = <&codec>; | ||
| 49 | }; | ||
| 50 | |||
| 51 | soc@01c00000 { | ||
| 52 | [...] | ||
| 53 | |||
| 54 | audio-codec@1c22e00 { | ||
| 55 | #sound-dai-cells = <0>; | ||
| 56 | compatible = "allwinner,sun8i-a33-codec"; | ||
| 57 | reg = <0x01c22e00 0x400>; | ||
| 58 | interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; | ||
| 59 | clocks = <&ccu CLK_BUS_CODEC>, <&ccu CLK_AC_DIG>; | ||
| 60 | clock-names = "bus", "mod"; | ||
| 61 | }; | ||
| 62 | }; | ||
| 63 | |||
diff --git a/Documentation/devicetree/bindings/sound/sunxi,sun4i-spdif.txt b/Documentation/devicetree/bindings/sound/sunxi,sun4i-spdif.txt index 0230c4d20506..fe0a65e6d629 100644 --- a/Documentation/devicetree/bindings/sound/sunxi,sun4i-spdif.txt +++ b/Documentation/devicetree/bindings/sound/sunxi,sun4i-spdif.txt | |||
| @@ -10,6 +10,7 @@ Required properties: | |||
| 10 | - compatible : should be one of the following: | 10 | - compatible : should be one of the following: |
| 11 | - "allwinner,sun4i-a10-spdif": for the Allwinner A10 SoC | 11 | - "allwinner,sun4i-a10-spdif": for the Allwinner A10 SoC |
| 12 | - "allwinner,sun6i-a31-spdif": for the Allwinner A31 SoC | 12 | - "allwinner,sun6i-a31-spdif": for the Allwinner A31 SoC |
| 13 | - "allwinner,sun8i-h3-spdif": for the Allwinner H3 SoC | ||
| 13 | 14 | ||
| 14 | - reg : Offset and length of the register set for the device. | 15 | - reg : Offset and length of the register set for the device. |
| 15 | 16 | ||
diff --git a/Documentation/devicetree/bindings/sound/zte,zx-i2s.txt b/Documentation/devicetree/bindings/sound/zte,zx-i2s.txt index 7e5aa6f6b5a1..292ad5083704 100644 --- a/Documentation/devicetree/bindings/sound/zte,zx-i2s.txt +++ b/Documentation/devicetree/bindings/sound/zte,zx-i2s.txt | |||
| @@ -1,10 +1,12 @@ | |||
| 1 | ZTE ZX296702 I2S controller | 1 | ZTE ZX296702 I2S controller |
| 2 | 2 | ||
| 3 | Required properties: | 3 | Required properties: |
| 4 | - compatible : Must be "zte,zx296702-i2s" | 4 | - compatible : Must be one of: |
| 5 | "zte,zx296718-i2s", "zte,zx296702-i2s" | ||
| 6 | "zte,zx296702-i2s" | ||
| 5 | - reg : Must contain I2S core's registers location and length | 7 | - reg : Must contain I2S core's registers location and length |
| 6 | - clocks : Pairs of phandle and specifier referencing the controller's clocks. | 8 | - clocks : Pairs of phandle and specifier referencing the controller's clocks. |
| 7 | - clock-names: "tx" for the clock to the I2S interface. | 9 | - clock-names: "wclk" for the wclk, "pclk" for the pclk to the I2S interface. |
| 8 | - dmas: Pairs of phandle and specifier for the DMA channel that is used by | 10 | - dmas: Pairs of phandle and specifier for the DMA channel that is used by |
| 9 | the core. The core expects two dma channels for transmit. | 11 | the core. The core expects two dma channels for transmit. |
| 10 | - dma-names : Must be "tx" and "rx" | 12 | - dma-names : Must be "tx" and "rx" |
| @@ -16,12 +18,12 @@ please check: | |||
| 16 | * dma/dma.txt | 18 | * dma/dma.txt |
| 17 | 19 | ||
| 18 | Example: | 20 | Example: |
| 19 | i2s0: i2s0@0b005000 { | 21 | i2s0: i2s@b005000 { |
| 20 | #sound-dai-cells = <0>; | 22 | #sound-dai-cells = <0>; |
| 21 | compatible = "zte,zx296702-i2s"; | 23 | compatible = "zte,zx296718-i2s", "zte,zx296702-i2s"; |
| 22 | reg = <0x0b005000 0x1000>; | 24 | reg = <0x0b005000 0x1000>; |
| 23 | clocks = <&lsp0clk ZX296702_I2S0_DIV>; | 25 | clocks = <&audiocrm AUDIO_I2S0_WCLK>, <&audiocrm AUDIO_I2S0_PCLK>; |
| 24 | clock-names = "tx"; | 26 | clock-names = "wclk", "pclk"; |
| 25 | interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; | 27 | interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; |
| 26 | dmas = <&dma 5>, <&dma 6>; | 28 | dmas = <&dma 5>, <&dma 6>; |
| 27 | dma-names = "tx", "rx"; | 29 | dma-names = "tx", "rx"; |
diff --git a/Documentation/devicetree/bindings/sram/sram.txt b/Documentation/devicetree/bindings/sram/sram.txt index 068c2c03c38f..267da4410aef 100644 --- a/Documentation/devicetree/bindings/sram/sram.txt +++ b/Documentation/devicetree/bindings/sram/sram.txt | |||
| @@ -42,6 +42,12 @@ Optional properties in the area nodes: | |||
| 42 | and in use by another device or devices | 42 | and in use by another device or devices |
| 43 | - export : indicates that the reserved SRAM area may be accessed outside | 43 | - export : indicates that the reserved SRAM area may be accessed outside |
| 44 | of the kernel, e.g. by bootloader or userspace | 44 | of the kernel, e.g. by bootloader or userspace |
| 45 | - protect-exec : Same as 'pool' above but with the additional | ||
| 46 | constraint that code wil be run from the region and | ||
| 47 | that the memory is maintained as read-only, executable | ||
| 48 | during code execution. NOTE: This region must be page | ||
| 49 | aligned on start and end in order to properly allow | ||
| 50 | manipulation of the page attributes. | ||
| 45 | - label : the name for the reserved partition, if omitted, the label | 51 | - label : the name for the reserved partition, if omitted, the label |
| 46 | is taken from the node name excluding the unit address. | 52 | is taken from the node name excluding the unit address. |
| 47 | 53 | ||
diff --git a/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt b/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt index 66223d561972..20ca4ef9d776 100644 --- a/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt +++ b/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt | |||
| @@ -17,6 +17,12 @@ Required properties: | |||
| 17 | calibration data, as specified by the SoC reference manual. | 17 | calibration data, as specified by the SoC reference manual. |
| 18 | The first cell of each pair is the value to be written to TTCFGR, | 18 | The first cell of each pair is the value to be written to TTCFGR, |
| 19 | and the second is the value to be written to TSCFGR. | 19 | and the second is the value to be written to TSCFGR. |
| 20 | - #thermal-sensor-cells : Must be 1. The sensor specifier is the monitoring | ||
| 21 | site ID, and represents the "n" in TRITSRn and TRATSRn. | ||
| 22 | |||
| 23 | Optional property: | ||
| 24 | - little-endian : If present, the TMU registers are little endian. If absent, | ||
| 25 | the default is big endian. | ||
| 20 | 26 | ||
| 21 | Example: | 27 | Example: |
| 22 | 28 | ||
| @@ -60,4 +66,5 @@ tmu@f0000 { | |||
| 60 | 66 | ||
| 61 | 0x00030000 0x00000012 | 67 | 0x00030000 0x00000012 |
| 62 | 0x00030001 0x0000001d>; | 68 | 0x00030001 0x0000001d>; |
| 69 | #thermal-sensor-cells = <1>; | ||
| 63 | }; | 70 | }; |
diff --git a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt new file mode 100644 index 000000000000..07a9713ae6a7 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt | |||
| @@ -0,0 +1,56 @@ | |||
| 1 | * DT bindings for Renesas R-Car Gen3 Thermal Sensor driver | ||
| 2 | |||
| 3 | On R-Car Gen3 SoCs, the thermal sensor controllers (TSC) control the thermal | ||
| 4 | sensors (THS) which are the analog circuits for measuring temperature (Tj) | ||
| 5 | inside the LSI. | ||
| 6 | |||
| 7 | Required properties: | ||
| 8 | - compatible : "renesas,<soctype>-thermal", | ||
| 9 | Examples with soctypes are: | ||
| 10 | - "renesas,r8a7795-thermal" (R-Car H3) | ||
| 11 | - "renesas,r8a7796-thermal" (R-Car M3-W) | ||
| 12 | - reg : Address ranges of the thermal registers. Each sensor | ||
| 13 | needs one address range. Sorting must be done in | ||
| 14 | increasing order according to datasheet, i.e. | ||
| 15 | TSC1, TSC2, ... | ||
| 16 | - clocks : Must contain a reference to the functional clock. | ||
| 17 | - #thermal-sensor-cells : must be <1>. | ||
| 18 | |||
| 19 | Optional properties: | ||
| 20 | |||
| 21 | - interrupts : interrupts routed to the TSC (3 for H3 and M3-W) | ||
| 22 | - power-domain : Must contain a reference to the power domain. This | ||
| 23 | property is mandatory if the thermal sensor instance | ||
| 24 | is part of a controllable power domain. | ||
| 25 | |||
| 26 | Example: | ||
| 27 | |||
| 28 | tsc: thermal@e6198000 { | ||
| 29 | compatible = "renesas,r8a7795-thermal"; | ||
| 30 | reg = <0 0xe6198000 0 0x68>, | ||
| 31 | <0 0xe61a0000 0 0x5c>, | ||
| 32 | <0 0xe61a8000 0 0x5c>; | ||
| 33 | interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>, | ||
| 34 | <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, | ||
| 35 | <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; | ||
| 36 | clocks = <&cpg CPG_MOD 522>; | ||
| 37 | power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; | ||
| 38 | #thermal-sensor-cells = <1>; | ||
| 39 | status = "okay"; | ||
| 40 | }; | ||
| 41 | |||
| 42 | thermal-zones { | ||
| 43 | sensor_thermal1: sensor-thermal1 { | ||
| 44 | polling-delay-passive = <250>; | ||
| 45 | polling-delay = <1000>; | ||
| 46 | thermal-sensors = <&tsc 0>; | ||
| 47 | |||
| 48 | trips { | ||
| 49 | sensor1_crit: sensor1-crit { | ||
| 50 | temperature = <90000>; | ||
| 51 | hysteresis = <2000>; | ||
| 52 | type = "critical"; | ||
| 53 | }; | ||
| 54 | }; | ||
| 55 | }; | ||
| 56 | }; | ||
diff --git a/Documentation/devicetree/bindings/thermal/zx2967-thermal.txt b/Documentation/devicetree/bindings/thermal/zx2967-thermal.txt new file mode 100644 index 000000000000..3dc1c6bf0478 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/zx2967-thermal.txt | |||
| @@ -0,0 +1,116 @@ | |||
| 1 | * ZTE zx2967 family Thermal | ||
| 2 | |||
| 3 | Required Properties: | ||
| 4 | - compatible: should be one of the following. | ||
| 5 | * zte,zx296718-thermal | ||
| 6 | - reg: physical base address of the controller and length of memory mapped | ||
| 7 | region. | ||
| 8 | - clocks : Pairs of phandle and specifier referencing the controller's clocks. | ||
| 9 | - clock-names: "topcrm" for the topcrm clock. | ||
| 10 | "apb" for the apb clock. | ||
| 11 | - #thermal-sensor-cells: must be 0. | ||
| 12 | |||
| 13 | Please note: slope coefficient defined in thermal-zones section need to be | ||
| 14 | multiplied by 1000. | ||
| 15 | |||
| 16 | Example for tempsensor: | ||
| 17 | |||
| 18 | tempsensor: tempsensor@148a000 { | ||
| 19 | compatible = "zte,zx296718-thermal"; | ||
| 20 | reg = <0x0148a000 0x20>; | ||
| 21 | clocks = <&topcrm TEMPSENSOR_GATE>, <&audiocrm AUDIO_TS_PCLK>; | ||
| 22 | clock-names = "topcrm", "apb"; | ||
| 23 | #thermal-sensor-cells = <0>; | ||
| 24 | }; | ||
| 25 | |||
| 26 | Example for cooling device: | ||
| 27 | |||
| 28 | cooling_dev: cooling_dev { | ||
| 29 | cluster0_cooling_dev: cluster0-cooling-dev { | ||
| 30 | #cooling-cells = <2>; | ||
| 31 | cpumask = <0xf>; | ||
| 32 | capacitance = <1500>; | ||
| 33 | }; | ||
| 34 | |||
| 35 | cluster1_cooling_dev: cluster1-cooling-dev { | ||
| 36 | #cooling-cells = <2>; | ||
| 37 | cpumask = <0x30>; | ||
| 38 | capacitance = <2000>; | ||
| 39 | }; | ||
| 40 | }; | ||
| 41 | |||
| 42 | Example for thermal zones: | ||
| 43 | |||
| 44 | thermal-zones { | ||
| 45 | zx296718_thermal: zx296718_thermal { | ||
| 46 | polling-delay-passive = <500>; | ||
| 47 | polling-delay = <1000>; | ||
| 48 | sustainable-power = <6500>; | ||
| 49 | |||
| 50 | thermal-sensors = <&tempsensor 0>; | ||
| 51 | /* | ||
| 52 | * slope need to be multiplied by 1000. | ||
| 53 | */ | ||
| 54 | coefficients = <1951 (-922)>; | ||
| 55 | |||
| 56 | trips { | ||
| 57 | trip0: switch_on_temperature { | ||
| 58 | temperature = <90000>; | ||
| 59 | hysteresis = <2000>; | ||
| 60 | type = "passive"; | ||
| 61 | }; | ||
| 62 | |||
| 63 | trip1: desired_temperature { | ||
| 64 | temperature = <100000>; | ||
| 65 | hysteresis = <2000>; | ||
| 66 | type = "passive"; | ||
| 67 | }; | ||
| 68 | |||
| 69 | crit: critical_temperature { | ||
| 70 | temperature = <110000>; | ||
| 71 | hysteresis = <2000>; | ||
| 72 | type = "critical"; | ||
| 73 | }; | ||
| 74 | }; | ||
| 75 | |||
| 76 | cooling-maps { | ||
| 77 | map0 { | ||
| 78 | trip = <&trip0>; | ||
| 79 | cooling-device = <&gpu 2 5>; | ||
| 80 | }; | ||
| 81 | |||
| 82 | map1 { | ||
| 83 | trip = <&trip0>; | ||
| 84 | cooling-device = <&cluster0_cooling_dev 1 2>; | ||
| 85 | }; | ||
| 86 | |||
| 87 | map2 { | ||
| 88 | trip = <&trip1>; | ||
| 89 | cooling-device = <&cluster0_cooling_dev 1 2>; | ||
| 90 | }; | ||
| 91 | |||
| 92 | map3 { | ||
| 93 | trip = <&crit>; | ||
| 94 | cooling-device = <&cluster0_cooling_dev 1 2>; | ||
| 95 | }; | ||
| 96 | |||
| 97 | map4 { | ||
| 98 | trip = <&trip0>; | ||
| 99 | cooling-device = <&cluster1_cooling_dev 1 2>; | ||
| 100 | contribution = <9000>; | ||
| 101 | }; | ||
| 102 | |||
| 103 | map5 { | ||
| 104 | trip = <&trip1>; | ||
| 105 | cooling-device = <&cluster1_cooling_dev 1 2>; | ||
| 106 | contribution = <4096>; | ||
| 107 | }; | ||
| 108 | |||
| 109 | map6 { | ||
| 110 | trip = <&crit>; | ||
| 111 | cooling-device = <&cluster1_cooling_dev 1 2>; | ||
| 112 | contribution = <4096>; | ||
| 113 | }; | ||
| 114 | }; | ||
| 115 | }; | ||
| 116 | }; | ||
diff --git a/Documentation/devicetree/bindings/ufs/ufs-qcom.txt b/Documentation/devicetree/bindings/ufs/ufs-qcom.txt index b6b5130e5f65..1f69ee1a61ea 100644 --- a/Documentation/devicetree/bindings/ufs/ufs-qcom.txt +++ b/Documentation/devicetree/bindings/ufs/ufs-qcom.txt | |||
| @@ -29,7 +29,6 @@ Optional properties: | |||
| 29 | - vdda-pll-max-microamp : specifies max. load that can be drawn from pll supply | 29 | - vdda-pll-max-microamp : specifies max. load that can be drawn from pll supply |
| 30 | - vddp-ref-clk-supply : phandle to UFS device ref_clk pad power supply | 30 | - vddp-ref-clk-supply : phandle to UFS device ref_clk pad power supply |
| 31 | - vddp-ref-clk-max-microamp : specifies max. load that can be drawn from this supply | 31 | - vddp-ref-clk-max-microamp : specifies max. load that can be drawn from this supply |
| 32 | - vddp-ref-clk-always-on : specifies if this supply needs to be kept always on | ||
| 33 | 32 | ||
| 34 | Example: | 33 | Example: |
| 35 | 34 | ||
diff --git a/Documentation/devicetree/bindings/usb/allwinner,sun4i-a10-musb.txt b/Documentation/devicetree/bindings/usb/allwinner,sun4i-a10-musb.txt index 862cd7c79805..d9b42da016f3 100644 --- a/Documentation/devicetree/bindings/usb/allwinner,sun4i-a10-musb.txt +++ b/Documentation/devicetree/bindings/usb/allwinner,sun4i-a10-musb.txt | |||
| @@ -2,8 +2,8 @@ Allwinner sun4i A10 musb DRC/OTG controller | |||
| 2 | ------------------------------------------- | 2 | ------------------------------------------- |
| 3 | 3 | ||
| 4 | Required properties: | 4 | Required properties: |
| 5 | - compatible : "allwinner,sun4i-a10-musb", "allwinner,sun6i-a31-musb" | 5 | - compatible : "allwinner,sun4i-a10-musb", "allwinner,sun6i-a31-musb", |
| 6 | or "allwinner,sun8i-a33-musb" | 6 | "allwinner,sun8i-a33-musb" or "allwinner,sun8i-h3-musb" |
| 7 | - reg : mmio address range of the musb controller | 7 | - reg : mmio address range of the musb controller |
| 8 | - clocks : clock specifier for the musb controller ahb gate clock | 8 | - clocks : clock specifier for the musb controller ahb gate clock |
| 9 | - reset : reset specifier for the ahb reset (A31 and newer only) | 9 | - reset : reset specifier for the ahb reset (A31 and newer only) |
diff --git a/Documentation/devicetree/bindings/usb/dwc3-st.txt b/Documentation/devicetree/bindings/usb/dwc3-st.txt index 01c71b1258f4..50dee3b44665 100644 --- a/Documentation/devicetree/bindings/usb/dwc3-st.txt +++ b/Documentation/devicetree/bindings/usb/dwc3-st.txt | |||
| @@ -20,10 +20,10 @@ See: Documentation/devicetree/bindings/reset/reset.txt | |||
| 20 | with 'reg' property | 20 | with 'reg' property |
| 21 | 21 | ||
| 22 | - pinctl-names : A pinctrl state named "default" must be defined | 22 | - pinctl-names : A pinctrl state named "default" must be defined |
| 23 | See: Documentation/devicetree/bindings/pinctrl/pinctrl-binding.txt | 23 | See: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt |
| 24 | 24 | ||
| 25 | - pinctrl-0 : Pin control group | 25 | - pinctrl-0 : Pin control group |
| 26 | See: Documentation/devicetree/bindings/pinctrl/pinctrl-binding.txt | 26 | See: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt |
| 27 | 27 | ||
| 28 | - ranges : allows valid 1:1 translation between child's address space and | 28 | - ranges : allows valid 1:1 translation between child's address space and |
| 29 | parent's address space | 29 | parent's address space |
diff --git a/Documentation/devicetree/bindings/usb/dwc3.txt b/Documentation/devicetree/bindings/usb/dwc3.txt index e3e6983288e3..f658f394c2d3 100644 --- a/Documentation/devicetree/bindings/usb/dwc3.txt +++ b/Documentation/devicetree/bindings/usb/dwc3.txt | |||
| @@ -56,6 +56,10 @@ Optional properties: | |||
| 56 | 56 | ||
| 57 | - <DEPRECATED> tx-fifo-resize: determines if the FIFO *has* to be reallocated. | 57 | - <DEPRECATED> tx-fifo-resize: determines if the FIFO *has* to be reallocated. |
| 58 | 58 | ||
| 59 | - in addition all properties from usb-xhci.txt from the current directory are | ||
| 60 | supported as well | ||
| 61 | |||
| 62 | |||
| 59 | This is usually a subnode to DWC3 glue to which it is connected. | 63 | This is usually a subnode to DWC3 glue to which it is connected. |
| 60 | 64 | ||
| 61 | dwc3@4a030000 { | 65 | dwc3@4a030000 { |
diff --git a/Documentation/devicetree/bindings/usb/ehci-omap.txt b/Documentation/devicetree/bindings/usb/ehci-omap.txt index 3dc231c832b0..d77e11a975a2 100644 --- a/Documentation/devicetree/bindings/usb/ehci-omap.txt +++ b/Documentation/devicetree/bindings/usb/ehci-omap.txt | |||
| @@ -29,4 +29,3 @@ usbhsehci: ehci@4a064c00 { | |||
| 29 | &usbhsehci { | 29 | &usbhsehci { |
| 30 | phys = <&hsusb1_phy 0 &hsusb3_phy>; | 30 | phys = <&hsusb1_phy 0 &hsusb3_phy>; |
| 31 | }; | 31 | }; |
| 32 | |||
diff --git a/Documentation/devicetree/bindings/usb/ehci-st.txt b/Documentation/devicetree/bindings/usb/ehci-st.txt index fb45fa5770bb..410d922cfdd7 100644 --- a/Documentation/devicetree/bindings/usb/ehci-st.txt +++ b/Documentation/devicetree/bindings/usb/ehci-st.txt | |||
| @@ -7,7 +7,7 @@ Required properties: | |||
| 7 | - interrupts : one EHCI interrupt should be described here | 7 | - interrupts : one EHCI interrupt should be described here |
| 8 | - pinctrl-names : a pinctrl state named "default" must be defined | 8 | - pinctrl-names : a pinctrl state named "default" must be defined |
| 9 | - pinctrl-0 : phandle referencing pin configuration of the USB controller | 9 | - pinctrl-0 : phandle referencing pin configuration of the USB controller |
| 10 | See: Documentation/devicetree/bindings/pinctrl/pinctrl-binding.txt | 10 | See: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt |
| 11 | - clocks : phandle list of usb clocks | 11 | - clocks : phandle list of usb clocks |
| 12 | - clock-names : should be "ic" for interconnect clock and "clk48" | 12 | - clock-names : should be "ic" for interconnect clock and "clk48" |
| 13 | See: Documentation/devicetree/bindings/clock/clock-bindings.txt | 13 | See: Documentation/devicetree/bindings/clock/clock-bindings.txt |
diff --git a/Documentation/devicetree/bindings/usb/mt8173-mtu3.txt b/Documentation/devicetree/bindings/usb/mt8173-mtu3.txt index e049d199bf0d..1d7c3bc677f7 100644 --- a/Documentation/devicetree/bindings/usb/mt8173-mtu3.txt +++ b/Documentation/devicetree/bindings/usb/mt8173-mtu3.txt | |||
| @@ -10,7 +10,7 @@ Required properties: | |||
| 10 | - vusb33-supply : regulator of USB avdd3.3v | 10 | - vusb33-supply : regulator of USB avdd3.3v |
| 11 | - clocks : a list of phandle + clock-specifier pairs, one for each | 11 | - clocks : a list of phandle + clock-specifier pairs, one for each |
| 12 | entry in clock-names | 12 | entry in clock-names |
| 13 | - clock-names : must contain "sys_ck" for clock of controller; | 13 | - clock-names : must contain "sys_ck" and "ref_ck" for clock of controller; |
| 14 | "wakeup_deb_p0" and "wakeup_deb_p1" are optional, they are | 14 | "wakeup_deb_p0" and "wakeup_deb_p1" are optional, they are |
| 15 | depends on "mediatek,enable-wakeup" | 15 | depends on "mediatek,enable-wakeup" |
| 16 | - phys : a list of phandle + phy specifier pairs | 16 | - phys : a list of phandle + phy specifier pairs |
| @@ -30,7 +30,7 @@ Optional properties: | |||
| 30 | "id_float" and "id_ground" are optinal which depends on | 30 | "id_float" and "id_ground" are optinal which depends on |
| 31 | "mediatek,enable-manual-drd" | 31 | "mediatek,enable-manual-drd" |
| 32 | - pinctrl-0 : pin control group | 32 | - pinctrl-0 : pin control group |
| 33 | See: Documentation/devicetree/bindings/pinctrl/pinctrl-binding.txt | 33 | See: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt |
| 34 | 34 | ||
| 35 | - maximum-speed : valid arguments are "super-speed", "high-speed" and | 35 | - maximum-speed : valid arguments are "super-speed", "high-speed" and |
| 36 | "full-speed"; refer to usb/generic.txt | 36 | "full-speed"; refer to usb/generic.txt |
| @@ -56,10 +56,10 @@ ssusb: usb@11271000 { | |||
| 56 | phys = <&phy_port0 PHY_TYPE_USB3>, | 56 | phys = <&phy_port0 PHY_TYPE_USB3>, |
| 57 | <&phy_port1 PHY_TYPE_USB2>; | 57 | <&phy_port1 PHY_TYPE_USB2>; |
| 58 | power-domains = <&scpsys MT8173_POWER_DOMAIN_USB>; | 58 | power-domains = <&scpsys MT8173_POWER_DOMAIN_USB>; |
| 59 | clocks = <&topckgen CLK_TOP_USB30_SEL>, | 59 | clocks = <&topckgen CLK_TOP_USB30_SEL>, <&clk26m>, |
| 60 | <&pericfg CLK_PERI_USB0>, | 60 | <&pericfg CLK_PERI_USB0>, |
| 61 | <&pericfg CLK_PERI_USB1>; | 61 | <&pericfg CLK_PERI_USB1>; |
| 62 | clock-names = "sys_ck", | 62 | clock-names = "sys_ck", "ref_ck", |
| 63 | "wakeup_deb_p0", | 63 | "wakeup_deb_p0", |
| 64 | "wakeup_deb_p1"; | 64 | "wakeup_deb_p1"; |
| 65 | vusb33-supply = <&mt6397_vusb_reg>; | 65 | vusb33-supply = <&mt6397_vusb_reg>; |
| @@ -79,8 +79,8 @@ ssusb: usb@11271000 { | |||
| 79 | reg-names = "mac"; | 79 | reg-names = "mac"; |
| 80 | interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_LOW>; | 80 | interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_LOW>; |
| 81 | power-domains = <&scpsys MT8173_POWER_DOMAIN_USB>; | 81 | power-domains = <&scpsys MT8173_POWER_DOMAIN_USB>; |
| 82 | clocks = <&topckgen CLK_TOP_USB30_SEL>; | 82 | clocks = <&topckgen CLK_TOP_USB30_SEL>, <&clk26m>; |
| 83 | clock-names = "sys_ck"; | 83 | clock-names = "sys_ck", "ref_ck"; |
| 84 | vusb33-supply = <&mt6397_vusb_reg>; | 84 | vusb33-supply = <&mt6397_vusb_reg>; |
| 85 | status = "disabled"; | 85 | status = "disabled"; |
| 86 | }; | 86 | }; |
diff --git a/Documentation/devicetree/bindings/usb/mt8173-xhci.txt b/Documentation/devicetree/bindings/usb/mt8173-xhci.txt index 2a930bd52b94..0acfc8acbea1 100644 --- a/Documentation/devicetree/bindings/usb/mt8173-xhci.txt +++ b/Documentation/devicetree/bindings/usb/mt8173-xhci.txt | |||
| @@ -23,6 +23,7 @@ Required properties: | |||
| 23 | entry in clock-names | 23 | entry in clock-names |
| 24 | - clock-names : must contain | 24 | - clock-names : must contain |
| 25 | "sys_ck": for clock of xHCI MAC | 25 | "sys_ck": for clock of xHCI MAC |
| 26 | "ref_ck": for reference clock of xHCI MAC | ||
| 26 | "wakeup_deb_p0": for USB wakeup debounce clock of port0 | 27 | "wakeup_deb_p0": for USB wakeup debounce clock of port0 |
| 27 | "wakeup_deb_p1": for USB wakeup debounce clock of port1 | 28 | "wakeup_deb_p1": for USB wakeup debounce clock of port1 |
| 28 | 29 | ||
| @@ -37,7 +38,7 @@ Optional properties: | |||
| 37 | - usb3-lpm-capable : supports USB3.0 LPM | 38 | - usb3-lpm-capable : supports USB3.0 LPM |
| 38 | - pinctrl-names : a pinctrl state named "default" must be defined | 39 | - pinctrl-names : a pinctrl state named "default" must be defined |
| 39 | - pinctrl-0 : pin control group | 40 | - pinctrl-0 : pin control group |
| 40 | See: Documentation/devicetree/bindings/pinctrl/pinctrl-binding.txt | 41 | See: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt |
| 41 | 42 | ||
| 42 | Example: | 43 | Example: |
| 43 | usb30: usb@11270000 { | 44 | usb30: usb@11270000 { |
| @@ -47,10 +48,10 @@ usb30: usb@11270000 { | |||
| 47 | reg-names = "mac", "ippc"; | 48 | reg-names = "mac", "ippc"; |
| 48 | interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_LOW>; | 49 | interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_LOW>; |
| 49 | power-domains = <&scpsys MT8173_POWER_DOMAIN_USB>; | 50 | power-domains = <&scpsys MT8173_POWER_DOMAIN_USB>; |
| 50 | clocks = <&topckgen CLK_TOP_USB30_SEL>, | 51 | clocks = <&topckgen CLK_TOP_USB30_SEL>, <&clk26m>, |
| 51 | <&pericfg CLK_PERI_USB0>, | 52 | <&pericfg CLK_PERI_USB0>, |
| 52 | <&pericfg CLK_PERI_USB1>; | 53 | <&pericfg CLK_PERI_USB1>; |
| 53 | clock-names = "sys_ck", | 54 | clock-names = "sys_ck", "ref_ck", |
| 54 | "wakeup_deb_p0", | 55 | "wakeup_deb_p0", |
| 55 | "wakeup_deb_p1"; | 56 | "wakeup_deb_p1"; |
| 56 | phys = <&phy_port0 PHY_TYPE_USB3>, | 57 | phys = <&phy_port0 PHY_TYPE_USB3>, |
| @@ -67,7 +68,7 @@ usb30: usb@11270000 { | |||
| 67 | 68 | ||
| 68 | In the case, xhci is added as subnode to mtu3. An example and the DT binding | 69 | In the case, xhci is added as subnode to mtu3. An example and the DT binding |
| 69 | details of mtu3 can be found in: | 70 | details of mtu3 can be found in: |
| 70 | Documentation/devicetree/bindings/usb/mtu3.txt | 71 | Documentation/devicetree/bindings/usb/mt8173-mtu3.txt |
| 71 | 72 | ||
| 72 | Required properties: | 73 | Required properties: |
| 73 | - compatible : should contain "mediatek,mt8173-xhci" | 74 | - compatible : should contain "mediatek,mt8173-xhci" |
| @@ -82,6 +83,7 @@ Required properties: | |||
| 82 | entry in clock-names | 83 | entry in clock-names |
| 83 | - clock-names : must be | 84 | - clock-names : must be |
| 84 | "sys_ck": for clock of xHCI MAC | 85 | "sys_ck": for clock of xHCI MAC |
| 86 | "ref_ck": for reference clock of xHCI MAC | ||
| 85 | 87 | ||
| 86 | Optional properties: | 88 | Optional properties: |
| 87 | - vbus-supply : reference to the VBUS regulator; | 89 | - vbus-supply : reference to the VBUS regulator; |
| @@ -94,8 +96,8 @@ usb30: usb@11270000 { | |||
| 94 | reg-names = "mac"; | 96 | reg-names = "mac"; |
| 95 | interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_LOW>; | 97 | interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_LOW>; |
| 96 | power-domains = <&scpsys MT8173_POWER_DOMAIN_USB>; | 98 | power-domains = <&scpsys MT8173_POWER_DOMAIN_USB>; |
| 97 | clocks = <&topckgen CLK_TOP_USB30_SEL>; | 99 | clocks = <&topckgen CLK_TOP_USB30_SEL>, <&clk26m>; |
| 98 | clock-names = "sys_ck"; | 100 | clock-names = "sys_ck", "ref_ck"; |
| 99 | vusb33-supply = <&mt6397_vusb_reg>; | 101 | vusb33-supply = <&mt6397_vusb_reg>; |
| 100 | usb3-lpm-capable; | 102 | usb3-lpm-capable; |
| 101 | }; | 103 | }; |
diff --git a/Documentation/devicetree/bindings/usb/qcom,dwc3.txt b/Documentation/devicetree/bindings/usb/qcom,dwc3.txt index 39acb084bce9..73cc0963e823 100644 --- a/Documentation/devicetree/bindings/usb/qcom,dwc3.txt +++ b/Documentation/devicetree/bindings/usb/qcom,dwc3.txt | |||
| @@ -18,7 +18,7 @@ A child node must exist to represent the core DWC3 IP block. The name of | |||
| 18 | the node is not important. The content of the node is defined in dwc3.txt. | 18 | the node is not important. The content of the node is defined in dwc3.txt. |
| 19 | 19 | ||
| 20 | Phy documentation is provided in the following places: | 20 | Phy documentation is provided in the following places: |
| 21 | Documentation/devicetree/bindings/phy/qcom,dwc3-usb-phy.txt | 21 | Documentation/devicetree/bindings/phy/qcom-dwc3-usb-phy.txt |
| 22 | 22 | ||
| 23 | Example device nodes: | 23 | Example device nodes: |
| 24 | 24 | ||
diff --git a/Documentation/devicetree/bindings/usb/ulpi.txt b/Documentation/devicetree/bindings/usb/ulpi.txt new file mode 100644 index 000000000000..ca179dc4bd50 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/ulpi.txt | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | ULPI bus binding | ||
| 2 | ---------------- | ||
| 3 | |||
| 4 | Phys that are behind a ULPI connection can be described with the following | ||
| 5 | binding. The host controller shall have a "ulpi" named node as a child, and | ||
| 6 | that node shall have one enabled node underneath it representing the ulpi | ||
| 7 | device on the bus. | ||
| 8 | |||
| 9 | EXAMPLE | ||
| 10 | ------- | ||
| 11 | |||
| 12 | usb { | ||
| 13 | compatible = "vendor,usb-controller"; | ||
| 14 | |||
| 15 | ulpi { | ||
| 16 | phy { | ||
| 17 | compatible = "vendor,phy"; | ||
| 18 | }; | ||
| 19 | }; | ||
| 20 | }; | ||
diff --git a/Documentation/devicetree/bindings/usb/usb-xhci.txt b/Documentation/devicetree/bindings/usb/usb-xhci.txt index 0b7d8576001c..2d80b60eeabe 100644 --- a/Documentation/devicetree/bindings/usb/usb-xhci.txt +++ b/Documentation/devicetree/bindings/usb/usb-xhci.txt | |||
| @@ -27,6 +27,7 @@ Required properties: | |||
| 27 | Optional properties: | 27 | Optional properties: |
| 28 | - clocks: reference to a clock | 28 | - clocks: reference to a clock |
| 29 | - usb3-lpm-capable: determines if platform is USB3 LPM capable | 29 | - usb3-lpm-capable: determines if platform is USB3 LPM capable |
| 30 | - quirk-broken-port-ped: set if the controller has broken port disable mechanism | ||
| 30 | 31 | ||
| 31 | Example: | 32 | Example: |
| 32 | usb@f0931000 { | 33 | usb@f0931000 { |
diff --git a/Documentation/devicetree/bindings/usb/usb251xb.txt b/Documentation/devicetree/bindings/usb/usb251xb.txt new file mode 100644 index 000000000000..3957d4edaa74 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/usb251xb.txt | |||
| @@ -0,0 +1,66 @@ | |||
| 1 | Microchip USB 2.0 Hi-Speed Hub Controller | ||
| 2 | |||
| 3 | The device node for the configuration of a Microchip USB251xB/xBi USB 2.0 | ||
| 4 | Hi-Speed Controller. | ||
| 5 | |||
| 6 | Required properties : | ||
| 7 | - compatible : Should be "microchip,usb251xb" or one of the specific types: | ||
| 8 | "microchip,usb2512b", "microchip,usb2512bi", "microchip,usb2513b", | ||
| 9 | "microchip,usb2513bi", "microchip,usb2514b", "microchip,usb2514bi" | ||
| 10 | - reset-gpios : Should specify the gpio for hub reset | ||
| 11 | - reg : I2C address on the selected bus (default is <0x2C>) | ||
| 12 | |||
| 13 | Optional properties : | ||
| 14 | - skip-config : Skip Hub configuration, but only send the USB-Attach command | ||
| 15 | - vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424) | ||
| 16 | - product-id : Set USB Product ID of the hub (16 bit, default depends on type) | ||
| 17 | - device-id : Set USB Device ID of the hub (16 bit, default is 0x0bb3) | ||
| 18 | - language-id : Set USB Language ID (16 bit, default is 0x0000) | ||
| 19 | - manufacturer : Set USB Manufacturer string (max 31 characters long) | ||
| 20 | - product : Set USB Product string (max 31 characters long) | ||
| 21 | - serial : Set USB Serial string (max 31 characters long) | ||
| 22 | - {bus,self}-powered : selects between self- and bus-powered operation (default | ||
| 23 | is self-powered) | ||
| 24 | - disable-hi-speed : disable USB Hi-Speed support | ||
| 25 | - {multi,single}-tt : selects between multi- and single-transaction-translator | ||
| 26 | (default is multi-tt) | ||
| 27 | - disable-eop : disable End of Packet generation in full-speed mode | ||
| 28 | - {ganged,individual}-sensing : select over-current sense type in self-powered | ||
| 29 | mode (default is individual) | ||
| 30 | - {ganged,individual}-port-switching : select port power switching mode | ||
| 31 | (default is individual) | ||
| 32 | - dynamic-power-switching : enable auto-switching from self- to bus-powered | ||
| 33 | operation if the local power source is removed or unavailable | ||
| 34 | - oc-delay-us : Delay time (in microseconds) for filtering the over-current | ||
| 35 | sense inputs. Valid values are 100, 4000, 8000 (default) and 16000. If | ||
| 36 | an invalid value is given, the default is used instead. | ||
| 37 | - compound-device : indicate the hub is part of a compound device | ||
| 38 | - port-mapping-mode : enable port mapping mode | ||
| 39 | - string-support : enable string descriptor support (required for manufacturer, | ||
| 40 | product and serial string configuration) | ||
| 41 | - non-removable-ports : Should specify the ports which have a non-removable | ||
| 42 | device connected. | ||
| 43 | - sp-disabled-ports : Specifies the ports which will be self-power disabled | ||
| 44 | - bp-disabled-ports : Specifies the ports which will be bus-power disabled | ||
| 45 | - power-on-time-ms : Specifies the time it takes from the time the host | ||
| 46 | initiates the power-on sequence to a port until the port has adequate | ||
| 47 | power. The value is given in ms in a 0 - 510 range (default is 100ms). | ||
| 48 | |||
| 49 | Examples: | ||
| 50 | usb2512b@2c { | ||
| 51 | compatible = "microchip,usb2512b"; | ||
| 52 | reg = <0x2c>; | ||
| 53 | reset-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; | ||
| 54 | }; | ||
| 55 | |||
| 56 | usb2514b@2c { | ||
| 57 | compatible = "microchip,usb2514b"; | ||
| 58 | reg = <0x2c>; | ||
| 59 | reset-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; | ||
| 60 | vendor-id = /bits/ 16 <0x0000>; | ||
| 61 | product-id = /bits/ 16 <0x0000>; | ||
| 62 | string-support; | ||
| 63 | manufacturer = "Foo"; | ||
| 64 | product = "Foo-Bar"; | ||
| 65 | serial = "1234567890A"; | ||
| 66 | }; | ||
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 16d3b5e7f5d1..ec0bfb9bbebd 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt | |||
| @@ -40,6 +40,7 @@ atmel Atmel Corporation | |||
| 40 | auo AU Optronics Corporation | 40 | auo AU Optronics Corporation |
| 41 | auvidea Auvidea GmbH | 41 | auvidea Auvidea GmbH |
| 42 | avago Avago Technologies | 42 | avago Avago Technologies |
| 43 | avia avia semiconductor | ||
| 43 | avic Shanghai AVIC Optoelectronics Co., Ltd. | 44 | avic Shanghai AVIC Optoelectronics Co., Ltd. |
| 44 | axentia Axentia Technologies AB | 45 | axentia Axentia Technologies AB |
| 45 | axis Axis Communications AB | 46 | axis Axis Communications AB |
| @@ -75,6 +76,7 @@ dallas Maxim Integrated Products (formerly Dallas Semiconductor) | |||
| 75 | davicom DAVICOM Semiconductor, Inc. | 76 | davicom DAVICOM Semiconductor, Inc. |
| 76 | delta Delta Electronics, Inc. | 77 | delta Delta Electronics, Inc. |
| 77 | denx Denx Software Engineering | 78 | denx Denx Software Engineering |
| 79 | devantech Devantech, Ltd. | ||
| 78 | digi Digi International Inc. | 80 | digi Digi International Inc. |
| 79 | digilent Diglent, Inc. | 81 | digilent Diglent, Inc. |
| 80 | dlg Dialog Semiconductor | 82 | dlg Dialog Semiconductor |
| @@ -102,11 +104,13 @@ everest Everest Semiconductor Co. Ltd. | |||
| 102 | everspin Everspin Technologies, Inc. | 104 | everspin Everspin Technologies, Inc. |
| 103 | excito Excito | 105 | excito Excito |
| 104 | ezchip EZchip Semiconductor | 106 | ezchip EZchip Semiconductor |
| 107 | faraday Faraday Technology Corporation | ||
| 105 | fcs Fairchild Semiconductor | 108 | fcs Fairchild Semiconductor |
| 106 | firefly Firefly | 109 | firefly Firefly |
| 107 | focaltech FocalTech Systems Co.,Ltd | 110 | focaltech FocalTech Systems Co.,Ltd |
| 108 | friendlyarm Guangzhou FriendlyARM Computer Tech Co., Ltd | 111 | friendlyarm Guangzhou FriendlyARM Computer Tech Co., Ltd |
| 109 | fsl Freescale Semiconductor | 112 | fsl Freescale Semiconductor |
| 113 | fujitsu Fujitsu Ltd. | ||
| 110 | ge General Electric Company | 114 | ge General Electric Company |
| 111 | geekbuying GeekBuying | 115 | geekbuying GeekBuying |
| 112 | gef GE Fanuc Intelligent Platforms Embedded Systems, Inc. | 116 | gef GE Fanuc Intelligent Platforms Embedded Systems, Inc. |
| @@ -118,6 +122,7 @@ gmt Global Mixed-mode Technology, Inc. | |||
| 118 | goodix Shenzhen Huiding Technology Co., Ltd. | 122 | goodix Shenzhen Huiding Technology Co., Ltd. |
| 119 | google Google, Inc. | 123 | google Google, Inc. |
| 120 | grinn Grinn | 124 | grinn Grinn |
| 125 | grmn Garmin Limited | ||
| 121 | gumstix Gumstix, Inc. | 126 | gumstix Gumstix, Inc. |
| 122 | gw Gateworks Corporation | 127 | gw Gateworks Corporation |
| 123 | hannstar HannStar Display Corporation | 128 | hannstar HannStar Display Corporation |
| @@ -159,11 +164,14 @@ kosagi Sutajio Ko-Usagi PTE Ltd. | |||
| 159 | kyo Kyocera Corporation | 164 | kyo Kyocera Corporation |
| 160 | lacie LaCie | 165 | lacie LaCie |
| 161 | lantiq Lantiq Semiconductor | 166 | lantiq Lantiq Semiconductor |
| 167 | lego LEGO Systems A/S | ||
| 162 | lenovo Lenovo Group Ltd. | 168 | lenovo Lenovo Group Ltd. |
| 163 | lg LG Corporation | 169 | lg LG Corporation |
| 170 | licheepi Lichee Pi | ||
| 164 | linux Linux-specific binding | 171 | linux Linux-specific binding |
| 165 | lltc Linear Technology Corporation | 172 | lltc Linear Technology Corporation |
| 166 | lsi LSI Corp. (LSI Logic) | 173 | lsi LSI Corp. (LSI Logic) |
| 174 | lwn Liebherr-Werk Nenzing GmbH | ||
| 167 | macnica Macnica Americas | 175 | macnica Macnica Americas |
| 168 | marvell Marvell Technology Group Ltd. | 176 | marvell Marvell Technology Group Ltd. |
| 169 | maxim Maxim Integrated Products | 177 | maxim Maxim Integrated Products |
| @@ -187,6 +195,7 @@ mpl MPL AG | |||
| 187 | mqmaker mqmaker Inc. | 195 | mqmaker mqmaker Inc. |
| 188 | msi Micro-Star International Co. Ltd. | 196 | msi Micro-Star International Co. Ltd. |
| 189 | mti Imagination Technologies Ltd. (formerly MIPS Technologies Inc.) | 197 | mti Imagination Technologies Ltd. (formerly MIPS Technologies Inc.) |
| 198 | multi-inno Multi-Inno Technology Co.,Ltd | ||
| 190 | mundoreader Mundo Reader S.L. | 199 | mundoreader Mundo Reader S.L. |
| 191 | murata Murata Manufacturing Co., Ltd. | 200 | murata Murata Manufacturing Co., Ltd. |
| 192 | mxicy Macronix International Co., Ltd. | 201 | mxicy Macronix International Co., Ltd. |
| @@ -196,6 +205,7 @@ nec NEC LCD Technologies, Ltd. | |||
| 196 | neonode Neonode Inc. | 205 | neonode Neonode Inc. |
| 197 | netgear NETGEAR | 206 | netgear NETGEAR |
| 198 | netlogic Broadcom Corporation (formerly NetLogic Microsystems) | 207 | netlogic Broadcom Corporation (formerly NetLogic Microsystems) |
| 208 | netron-dy Netron DY | ||
| 199 | netxeon Shenzhen Netxeon Technology CO., LTD | 209 | netxeon Shenzhen Netxeon Technology CO., LTD |
| 200 | nexbox Nexbox | 210 | nexbox Nexbox |
| 201 | newhaven Newhaven Display International | 211 | newhaven Newhaven Display International |
| @@ -227,6 +237,7 @@ pine64 Pine64 | |||
| 227 | pixcir PIXCIR MICROELECTRONICS Co., Ltd | 237 | pixcir PIXCIR MICROELECTRONICS Co., Ltd |
| 228 | plathome Plat'Home Co., Ltd. | 238 | plathome Plat'Home Co., Ltd. |
| 229 | plda PLDA | 239 | plda PLDA |
| 240 | poslab Poslab Technology Co., Ltd. | ||
| 230 | powervr PowerVR (deprecated, use img) | 241 | powervr PowerVR (deprecated, use img) |
| 231 | pulsedlight PulsedLight, Inc | 242 | pulsedlight PulsedLight, Inc |
| 232 | qca Qualcomm Atheros, Inc. | 243 | qca Qualcomm Atheros, Inc. |
| @@ -296,6 +307,7 @@ technologic Technologic Systems | |||
| 296 | terasic Terasic Inc. | 307 | terasic Terasic Inc. |
| 297 | thine THine Electronics, Inc. | 308 | thine THine Electronics, Inc. |
| 298 | ti Texas Instruments | 309 | ti Texas Instruments |
| 310 | tianma Tianma Micro-electronics Co., Ltd. | ||
| 299 | tlm Trusted Logic Mobility | 311 | tlm Trusted Logic Mobility |
| 300 | topeet Topeet | 312 | topeet Topeet |
| 301 | toradex Toradex AG | 313 | toradex Toradex AG |
| @@ -320,6 +332,7 @@ virtio Virtual I/O Device Specification, developed by the OASIS consortium | |||
| 320 | vivante Vivante Corporation | 332 | vivante Vivante Corporation |
| 321 | voipac Voipac Technologies s.r.o. | 333 | voipac Voipac Technologies s.r.o. |
| 322 | wd Western Digital Corp. | 334 | wd Western Digital Corp. |
| 335 | wetek WeTek Electronics, limited. | ||
| 323 | wexler Wexler | 336 | wexler Wexler |
| 324 | winbond Winbond Electronics corp. | 337 | winbond Winbond Electronics corp. |
| 325 | wlf Wolfson Microelectronics | 338 | wlf Wolfson Microelectronics |
| @@ -328,7 +341,9 @@ x-powers X-Powers | |||
| 328 | xes Extreme Engineering Solutions (X-ES) | 341 | xes Extreme Engineering Solutions (X-ES) |
| 329 | xillybus Xillybus Ltd. | 342 | xillybus Xillybus Ltd. |
| 330 | xlnx Xilinx | 343 | xlnx Xilinx |
| 344 | xunlong Shenzhen Xunlong Software CO.,Limited | ||
| 331 | zarlink Zarlink Semiconductor | 345 | zarlink Zarlink Semiconductor |
| 346 | zeitec ZEITEC Semiconductor Co., LTD. | ||
| 332 | zii Zodiac Inflight Innovations | 347 | zii Zodiac Inflight Innovations |
| 333 | zte ZTE Corp. | 348 | zte ZTE Corp. |
| 334 | zyxel ZyXEL Communications Corp. | 349 | zyxel ZyXEL Communications Corp. |
diff --git a/Documentation/devicetree/bindings/watchdog/cortina,gemin-watchdog.txt b/Documentation/devicetree/bindings/watchdog/cortina,gemin-watchdog.txt new file mode 100644 index 000000000000..bc4b865d178b --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/cortina,gemin-watchdog.txt | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | Cortina Systems Gemini SoC Watchdog | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible : must be "cortina,gemini-watchdog" | ||
| 5 | - reg : shall contain base register location and length | ||
| 6 | - interrupts : shall contain the interrupt for the watchdog | ||
| 7 | |||
| 8 | Optional properties: | ||
| 9 | - timeout-sec : the default watchdog timeout in seconds. | ||
| 10 | |||
| 11 | Example: | ||
| 12 | |||
| 13 | watchdog@41000000 { | ||
| 14 | compatible = "cortina,gemini-watchdog"; | ||
| 15 | reg = <0x41000000 0x1000>; | ||
| 16 | interrupts = <3 IRQ_TYPE_LEVEL_HIGH>; | ||
| 17 | }; | ||
diff --git a/Documentation/devicetree/bindings/watchdog/samsung-wdt.txt b/Documentation/devicetree/bindings/watchdog/samsung-wdt.txt index 8f3d96af81d7..1f6e101e299a 100644 --- a/Documentation/devicetree/bindings/watchdog/samsung-wdt.txt +++ b/Documentation/devicetree/bindings/watchdog/samsung-wdt.txt | |||
| @@ -6,10 +6,11 @@ occurred. | |||
| 6 | 6 | ||
| 7 | Required properties: | 7 | Required properties: |
| 8 | - compatible : should be one among the following | 8 | - compatible : should be one among the following |
| 9 | (a) "samsung,s3c2410-wdt" for Exynos4 and previous SoCs | 9 | - "samsung,s3c2410-wdt" for S3C2410 |
| 10 | (b) "samsung,exynos5250-wdt" for Exynos5250 | 10 | - "samsung,s3c6410-wdt" for S3C6410, S5PV210 and Exynos4 |
| 11 | (c) "samsung,exynos5420-wdt" for Exynos5420 | 11 | - "samsung,exynos5250-wdt" for Exynos5250 |
| 12 | (c) "samsung,exynos7-wdt" for Exynos7 | 12 | - "samsung,exynos5420-wdt" for Exynos5420 |
| 13 | - "samsung,exynos7-wdt" for Exynos7 | ||
| 13 | 14 | ||
| 14 | - reg : base physical address of the controller and length of memory mapped | 15 | - reg : base physical address of the controller and length of memory mapped |
| 15 | region. | 16 | region. |
diff --git a/Documentation/devicetree/bindings/watchdog/zte,zx2967-wdt.txt b/Documentation/devicetree/bindings/watchdog/zte,zx2967-wdt.txt new file mode 100644 index 000000000000..06ce67766756 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/zte,zx2967-wdt.txt | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | ZTE zx2967 Watchdog timer | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | |||
| 5 | - compatible : should be one of the following. | ||
| 6 | * zte,zx296718-wdt | ||
| 7 | - reg : Specifies base physical address and size of the registers. | ||
| 8 | - clocks : Pairs of phandle and specifier referencing the controller's clocks. | ||
| 9 | - resets : Reference to the reset controller controlling the watchdog | ||
| 10 | controller. | ||
| 11 | |||
| 12 | Optional properties: | ||
| 13 | |||
| 14 | - timeout-sec : Contains the watchdog timeout in seconds. | ||
| 15 | - zte,wdt-reset-sysctrl : Directs how to reset system by the watchdog. | ||
| 16 | if we don't want to restart system when watchdog been triggered, | ||
| 17 | it's not required, vice versa. | ||
| 18 | It should include following fields. | ||
| 19 | * phandle of aon-sysctrl. | ||
| 20 | * offset of register that be written, should be 0xb0. | ||
| 21 | * configure value that be written to aon-sysctrl. | ||
| 22 | * bit mask, corresponding bits will be affected. | ||
| 23 | |||
| 24 | Example: | ||
| 25 | |||
| 26 | wdt: watchdog@1465000 { | ||
| 27 | compatible = "zte,zx296718-wdt"; | ||
| 28 | reg = <0x1465000 0x1000>; | ||
| 29 | clocks = <&topcrm WDT_WCLK>; | ||
| 30 | resets = <&toprst 35>; | ||
| 31 | zte,wdt-reset-sysctrl = <&aon_sysctrl 0xb0 1 0x115>; | ||
| 32 | }; | ||
