diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-22 12:09:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-22 12:09:46 -0400 |
commit | 5c73cc4b6c83e88863a5de869cc5df3b913aef4a (patch) | |
tree | b7b573b58d31206c58bdee16c870d57d797ea1a6 /Documentation/devicetree | |
parent | e6c81cce5699ec6be3a7533b5ad7a062ab3357f2 (diff) | |
parent | 8b036556d68175caa9bea3fb98768f733fde33c6 (diff) |
Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM DT updates from Olof Johansson:
"As always, this tends to be one of our bigger branches. There are
lots of updates this release, but not that many jumps out as something
that needs more detailed coverage. Some of the highlights are:
- DTs for the new Annapurna Labs Alpine platform
- more graphics DT pieces falling into place on Exynos, bridges,
clocks.
- plenty of DT updates for Qualcomm platforms for various IP blocks
- some churn on Tegra due to switch-over to tool-generated pinctrl
data
- misc fixes and updates for Atmel at91 platforms
- various DT updates to add IP block support on Broadcom's Cygnus
platforms
- more updates for Renesas platforms as DT support is added for
various IP blocks (IPMMU, display, audio, etc)"
* tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (231 commits)
ARM: dts: alpine: add internal pci
Revert "ARM: dts: mt8135: Add pinctrl/GPIO/EINT node for mt8135."
ARM: mvebu: use 0xf1000000 as internal registers on Armada 370 DB
ARM: dts: qcom: Add idle state device nodes for 8064
ARM: dts: qcom: Add idle states device nodes for 8084
ARM: dts: qcom: Add idle states device nodes for 8974/8074
ARM: dts: qcom: Update power-controller device node for 8064 Krait CPUs
ARM: dts: qcom: Add power-controller device node for 8084 Krait CPUs
ARM: dts: qcom: Add power-controller device node for 8074 Krait CPUs
devicetree: bindings: Document qcom,idle-states
devicetree: bindings: Update qcom,saw2 node bindings
dt-bindings: Add #defines for MSM8916 clocks and resets
arm: dts: qcom: Add LPASS Audio HW to IPQ8064 device tree
arm: dts: qcom: Add APQ8084 chipset SPMI PMIC's nodes
arm: dts: qcom: Add 8x74 chipset SPMI PMIC's nodes
arm: dts: qcom: Add SPMI PMIC Arbiter nodes for APQ8084 and MSM8974
arm: dts: qcom: Add LCC nodes
arm: dts: qcom: Add TCSR support for MSM8960
arm: dts: qcom: Add TCSR support for MSM8660
arm: dts: qcom: Add TCSR support for IPQ8064
...
Diffstat (limited to 'Documentation/devicetree')
15 files changed, 388 insertions, 12 deletions
diff --git a/Documentation/devicetree/bindings/arm/exynos/power_domain.txt b/Documentation/devicetree/bindings/arm/exynos/power_domain.txt index 1e097037349c..5da38c5ed476 100644 --- a/Documentation/devicetree/bindings/arm/exynos/power_domain.txt +++ b/Documentation/devicetree/bindings/arm/exynos/power_domain.txt | |||
@@ -22,6 +22,9 @@ Optional Properties: | |||
22 | - pclkN, clkN: Pairs of parent of input clock and input clock to the | 22 | - pclkN, clkN: Pairs of parent of input clock and input clock to the |
23 | devices in this power domain. Maximum of 4 pairs (N = 0 to 3) | 23 | devices in this power domain. Maximum of 4 pairs (N = 0 to 3) |
24 | are supported currently. | 24 | are supported currently. |
25 | - asbN: Clocks required by asynchronous bridges (ASB) present in | ||
26 | the power domain. These clock should be enabled during power | ||
27 | domain on/off operations. | ||
25 | - power-domains: phandle pointing to the parent power domain, for more details | 28 | - power-domains: phandle pointing to the parent power domain, for more details |
26 | see Documentation/devicetree/bindings/power/power_domain.txt | 29 | see Documentation/devicetree/bindings/power/power_domain.txt |
27 | 30 | ||
diff --git a/Documentation/devicetree/bindings/arm/gic.txt b/Documentation/devicetree/bindings/arm/gic.txt index 1e0d21201d3a..2da059a4790c 100644 --- a/Documentation/devicetree/bindings/arm/gic.txt +++ b/Documentation/devicetree/bindings/arm/gic.txt | |||
@@ -18,6 +18,8 @@ Main node required properties: | |||
18 | "arm,arm11mp-gic" | 18 | "arm,arm11mp-gic" |
19 | "brcm,brahma-b15-gic" | 19 | "brcm,brahma-b15-gic" |
20 | "arm,arm1176jzf-devchip-gic" | 20 | "arm,arm1176jzf-devchip-gic" |
21 | "qcom,msm-8660-qgic" | ||
22 | "qcom,msm-qgic2" | ||
21 | - interrupt-controller : Identifies the node as an interrupt controller | 23 | - interrupt-controller : Identifies the node as an interrupt controller |
22 | - #interrupt-cells : Specifies the number of cells needed to encode an | 24 | - #interrupt-cells : Specifies the number of cells needed to encode an |
23 | interrupt source. The type shall be a <u32> and the value shall be 3. | 25 | interrupt source. The type shall be a <u32> and the value shall be 3. |
diff --git a/Documentation/devicetree/bindings/arm/marvell,kirkwood.txt b/Documentation/devicetree/bindings/arm/marvell,kirkwood.txt index 925ecbf6e7b7..4f40ff3fee4b 100644 --- a/Documentation/devicetree/bindings/arm/marvell,kirkwood.txt +++ b/Documentation/devicetree/bindings/arm/marvell,kirkwood.txt | |||
@@ -42,6 +42,7 @@ board. Currently known boards are: | |||
42 | "lacie,cloudbox" | 42 | "lacie,cloudbox" |
43 | "lacie,inetspace_v2" | 43 | "lacie,inetspace_v2" |
44 | "lacie,laplug" | 44 | "lacie,laplug" |
45 | "lacie,nas2big" | ||
45 | "lacie,netspace_lite_v2" | 46 | "lacie,netspace_lite_v2" |
46 | "lacie,netspace_max_v2" | 47 | "lacie,netspace_max_v2" |
47 | "lacie,netspace_mini_v2" | 48 | "lacie,netspace_mini_v2" |
diff --git a/Documentation/devicetree/bindings/arm/msm/qcom,idle-state.txt b/Documentation/devicetree/bindings/arm/msm/qcom,idle-state.txt new file mode 100644 index 000000000000..06df04cc827a --- /dev/null +++ b/Documentation/devicetree/bindings/arm/msm/qcom,idle-state.txt | |||
@@ -0,0 +1,84 @@ | |||
1 | QCOM Idle States for cpuidle driver | ||
2 | |||
3 | ARM provides idle-state node to define the cpuidle states, as defined in [1]. | ||
4 | cpuidle-qcom is the cpuidle driver for Qualcomm SoCs and uses these idle | ||
5 | states. Idle states have different enter/exit latency and residency values. | ||
6 | The idle states supported by the QCOM SoC are defined as - | ||
7 | |||
8 | * Standby | ||
9 | * Retention | ||
10 | * Standalone Power Collapse (Standalone PC or SPC) | ||
11 | * Power Collapse (PC) | ||
12 | |||
13 | Standby: Standby does a little more in addition to architectural clock gating. | ||
14 | When the WFI instruction is executed the ARM core would gate its internal | ||
15 | clocks. In addition to gating the clocks, QCOM cpus use this instruction as a | ||
16 | trigger to execute the SPM state machine. The SPM state machine waits for the | ||
17 | interrupt to trigger the core back in to active. This triggers the cache | ||
18 | hierarchy to enter standby states, when all cpus are idle. An interrupt brings | ||
19 | the SPM state machine out of its wait, the next step is to ensure that the | ||
20 | cache hierarchy is also out of standby, and then the cpu is allowed to resume | ||
21 | execution. This state is defined as a generic ARM WFI state by the ARM cpuidle | ||
22 | driver and is not defined in the DT. The SPM state machine should be | ||
23 | configured to execute this state by default and after executing every other | ||
24 | state below. | ||
25 | |||
26 | Retention: Retention is a low power state where the core is clock gated and | ||
27 | the memory and the registers associated with the core are retained. The | ||
28 | voltage may be reduced to the minimum value needed to keep the processor | ||
29 | registers active. The SPM should be configured to execute the retention | ||
30 | sequence and would wait for interrupt, before restoring the cpu to execution | ||
31 | state. Retention may have a slightly higher latency than Standby. | ||
32 | |||
33 | Standalone PC: A cpu can power down and warmboot if there is a sufficient time | ||
34 | between the time it enters idle and the next known wake up. SPC mode is used | ||
35 | to indicate a core entering a power down state without consulting any other | ||
36 | cpu or the system resources. This helps save power only on that core. The SPM | ||
37 | sequence for this idle state is programmed to power down the supply to the | ||
38 | core, wait for the interrupt, restore power to the core, and ensure the | ||
39 | system state including cache hierarchy is ready before allowing core to | ||
40 | resume. Applying power and resetting the core causes the core to warmboot | ||
41 | back into Elevation Level (EL) which trampolines the control back to the | ||
42 | kernel. Entering a power down state for the cpu, needs to be done by trapping | ||
43 | into a EL. Failing to do so, would result in a crash enforced by the warm boot | ||
44 | code in the EL for the SoC. On SoCs with write-back L1 cache, the cache has to | ||
45 | be flushed in s/w, before powering down the core. | ||
46 | |||
47 | Power Collapse: This state is similar to the SPC mode, but distinguishes | ||
48 | itself in that the cpu acknowledges and permits the SoC to enter deeper sleep | ||
49 | modes. In a hierarchical power domain SoC, this means L2 and other caches can | ||
50 | be flushed, system bus, clocks - lowered, and SoC main XO clock gated and | ||
51 | voltages reduced, provided all cpus enter this state. Since the span of low | ||
52 | power modes possible at this state is vast, the exit latency and the residency | ||
53 | of this low power mode would be considered high even though at a cpu level, | ||
54 | this essentially is cpu power down. The SPM in this state also may handshake | ||
55 | with the Resource power manager (RPM) processor in the SoC to indicate a | ||
56 | complete application processor subsystem shut down. | ||
57 | |||
58 | The idle-state for QCOM SoCs are distinguished by the compatible property of | ||
59 | the idle-states device node. | ||
60 | |||
61 | The devicetree representation of the idle state should be - | ||
62 | |||
63 | Required properties: | ||
64 | |||
65 | - compatible: Must be one of - | ||
66 | "qcom,idle-state-ret", | ||
67 | "qcom,idle-state-spc", | ||
68 | "qcom,idle-state-pc", | ||
69 | and "arm,idle-state". | ||
70 | |||
71 | Other required and optional properties are specified in [1]. | ||
72 | |||
73 | Example: | ||
74 | |||
75 | idle-states { | ||
76 | CPU_SPC: spc { | ||
77 | compatible = "qcom,idle-state-spc", "arm,idle-state"; | ||
78 | entry-latency-us = <150>; | ||
79 | exit-latency-us = <200>; | ||
80 | min-residency-us = <2000>; | ||
81 | }; | ||
82 | }; | ||
83 | |||
84 | [1]. Documentation/devicetree/bindings/arm/idle-states.txt | ||
diff --git a/Documentation/devicetree/bindings/arm/msm/qcom,saw2.txt b/Documentation/devicetree/bindings/arm/msm/qcom,saw2.txt index 1505fb8e131a..ae4afc6dcfe0 100644 --- a/Documentation/devicetree/bindings/arm/msm/qcom,saw2.txt +++ b/Documentation/devicetree/bindings/arm/msm/qcom,saw2.txt | |||
@@ -2,22 +2,31 @@ SPM AVS Wrapper 2 (SAW2) | |||
2 | 2 | ||
3 | The SAW2 is a wrapper around the Subsystem Power Manager (SPM) and the | 3 | The SAW2 is a wrapper around the Subsystem Power Manager (SPM) and the |
4 | Adaptive Voltage Scaling (AVS) hardware. The SPM is a programmable | 4 | Adaptive Voltage Scaling (AVS) hardware. The SPM is a programmable |
5 | micro-controller that transitions a piece of hardware (like a processor or | 5 | power-controller that transitions a piece of hardware (like a processor or |
6 | subsystem) into and out of low power modes via a direct connection to | 6 | subsystem) into and out of low power modes via a direct connection to |
7 | the PMIC. It can also be wired up to interact with other processors in the | 7 | the PMIC. It can also be wired up to interact with other processors in the |
8 | system, notifying them when a low power state is entered or exited. | 8 | system, notifying them when a low power state is entered or exited. |
9 | 9 | ||
10 | Multiple revisions of the SAW hardware are supported using these Device Nodes. | ||
11 | SAW2 revisions differ in the register offset and configuration data. Also, the | ||
12 | same revision of the SAW in different SoCs may have different configuration | ||
13 | data due the the differences in hardware capabilities. Hence the SoC name, the | ||
14 | version of the SAW hardware in that SoC and the distinction between cpu (big | ||
15 | or Little) or cache, may be needed to uniquely identify the SAW register | ||
16 | configuration and initialization data. The compatible string is used to | ||
17 | indicate this parameter. | ||
18 | |||
10 | PROPERTIES | 19 | PROPERTIES |
11 | 20 | ||
12 | - compatible: | 21 | - compatible: |
13 | Usage: required | 22 | Usage: required |
14 | Value type: <string> | 23 | Value type: <string> |
15 | Definition: shall contain "qcom,saw2". A more specific value should be | 24 | Definition: Must have |
16 | one of: | 25 | "qcom,saw2" |
17 | "qcom,saw2-v1" | 26 | A more specific value could be one of: |
18 | "qcom,saw2-v1.1" | 27 | "qcom,apq8064-saw2-v1.1-cpu" |
19 | "qcom,saw2-v2" | 28 | "qcom,msm8974-saw2-v2.1-cpu" |
20 | "qcom,saw2-v2.1" | 29 | "qcom,apq8084-saw2-v2.1-cpu" |
21 | 30 | ||
22 | - reg: | 31 | - reg: |
23 | Usage: required | 32 | Usage: required |
@@ -26,10 +35,23 @@ PROPERTIES | |||
26 | the register region. An optional second element specifies | 35 | the register region. An optional second element specifies |
27 | the base address and size of the alias register region. | 36 | the base address and size of the alias register region. |
28 | 37 | ||
38 | - regulator: | ||
39 | Usage: optional | ||
40 | Value type: boolean | ||
41 | Definition: Indicates that this SPM device acts as a regulator device | ||
42 | device for the core (CPU or Cache) the SPM is attached | ||
43 | to. | ||
29 | 44 | ||
30 | Example: | 45 | Example 1: |
31 | 46 | ||
32 | regulator@2099000 { | 47 | power-controller@2099000 { |
33 | compatible = "qcom,saw2"; | 48 | compatible = "qcom,saw2"; |
34 | reg = <0x02099000 0x1000>, <0x02009000 0x1000>; | 49 | reg = <0x02099000 0x1000>, <0x02009000 0x1000>; |
50 | regulator; | ||
51 | }; | ||
52 | |||
53 | Example 2: | ||
54 | saw0: power-controller@f9089000 { | ||
55 | compatible = "qcom,apq8084-saw2-v2.1-cpu", "qcom,saw2"; | ||
56 | reg = <0xf9089000 0x1000>, <0xf9009000 0x1000>; | ||
35 | }; | 57 | }; |
diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt b/Documentation/devicetree/bindings/arm/rockchip.txt index 6809e4e51ed2..60d4a1e0a9b5 100644 --- a/Documentation/devicetree/bindings/arm/rockchip.txt +++ b/Documentation/devicetree/bindings/arm/rockchip.txt | |||
@@ -22,3 +22,7 @@ Rockchip platforms device tree bindings | |||
22 | - compatible = "firefly,firefly-rk3288", "rockchip,rk3288"; | 22 | - compatible = "firefly,firefly-rk3288", "rockchip,rk3288"; |
23 | or | 23 | or |
24 | - compatible = "firefly,firefly-rk3288-beta", "rockchip,rk3288"; | 24 | - compatible = "firefly,firefly-rk3288-beta", "rockchip,rk3288"; |
25 | |||
26 | - ChipSPARK PopMetal-RK3288 board: | ||
27 | Required root node properties: | ||
28 | - compatible = "chipspark,popmetal-rk3288", "rockchip,rk3288"; | ||
diff --git a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra30-actmon.txt b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra30-actmon.txt new file mode 100644 index 000000000000..ea670a5d7ee3 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra30-actmon.txt | |||
@@ -0,0 +1,32 @@ | |||
1 | NVIDIA Tegra Activity Monitor | ||
2 | |||
3 | The activity monitor block collects statistics about the behaviour of other | ||
4 | components in the system. This information can be used to derive the rate at | ||
5 | which the external memory needs to be clocked in order to serve all requests | ||
6 | from the monitored clients. | ||
7 | |||
8 | Required properties: | ||
9 | - compatible: should be "nvidia,tegra<chip>-actmon" | ||
10 | - reg: offset and length of the register set for the device | ||
11 | - interrupts: standard interrupt property | ||
12 | - clocks: Must contain a phandle and clock specifier pair for each entry in | ||
13 | clock-names. See ../../clock/clock-bindings.txt for details. | ||
14 | - clock-names: Must include the following entries: | ||
15 | - actmon | ||
16 | - emc | ||
17 | - resets: Must contain an entry for each entry in reset-names. See | ||
18 | ../../reset/reset.txt for details. | ||
19 | - reset-names: Must include the following entries: | ||
20 | - actmon | ||
21 | |||
22 | Example: | ||
23 | actmon@6000c800 { | ||
24 | compatible = "nvidia,tegra124-actmon"; | ||
25 | reg = <0x0 0x6000c800 0x0 0x400>; | ||
26 | interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; | ||
27 | clocks = <&tegra_car TEGRA124_CLK_ACTMON>, | ||
28 | <&tegra_car TEGRA124_CLK_EMC>; | ||
29 | clock-names = "actmon", "emc"; | ||
30 | resets = <&tegra_car 119>; | ||
31 | reset-names = "actmon"; | ||
32 | }; | ||
diff --git a/Documentation/devicetree/bindings/media/ti,omap3isp.txt b/Documentation/devicetree/bindings/media/ti,omap3isp.txt new file mode 100644 index 000000000000..ac23de855641 --- /dev/null +++ b/Documentation/devicetree/bindings/media/ti,omap3isp.txt | |||
@@ -0,0 +1,71 @@ | |||
1 | OMAP 3 ISP Device Tree bindings | ||
2 | =============================== | ||
3 | |||
4 | The DT definitions can be found in include/dt-bindings/media/omap3-isp.h. | ||
5 | |||
6 | Required properties | ||
7 | =================== | ||
8 | |||
9 | compatible : must contain "ti,omap3-isp" | ||
10 | |||
11 | reg : the two registers sets (physical address and length) for the | ||
12 | ISP. The first set contains the core ISP registers up to | ||
13 | the end of the SBL block. The second set contains the | ||
14 | CSI PHYs and receivers registers. | ||
15 | interrupts : the ISP interrupt specifier | ||
16 | iommus : phandle and IOMMU specifier for the IOMMU that serves the ISP | ||
17 | syscon : the phandle and register offset to the Complex I/O or CSI-PHY | ||
18 | register | ||
19 | ti,phy-type : 0 -- OMAP3ISP_PHY_TYPE_COMPLEX_IO (e.g. 3430) | ||
20 | 1 -- OMAP3ISP_PHY_TYPE_CSIPHY (e.g. 3630) | ||
21 | #clock-cells : Must be 1 --- the ISP provides two external clocks, | ||
22 | cam_xclka and cam_xclkb, at indices 0 and 1, | ||
23 | respectively. Please find more information on common | ||
24 | clock bindings in ../clock/clock-bindings.txt. | ||
25 | |||
26 | Port nodes (optional) | ||
27 | --------------------- | ||
28 | |||
29 | More documentation on these bindings is available in | ||
30 | video-interfaces.txt in the same directory. | ||
31 | |||
32 | reg : The interface: | ||
33 | 0 - parallel (CCDC) | ||
34 | 1 - CSIPHY1 -- CSI2C / CCP2B on 3630; | ||
35 | CSI1 -- CSIb on 3430 | ||
36 | 2 - CSIPHY2 -- CSI2A / CCP2B on 3630; | ||
37 | CSI2 -- CSIa on 3430 | ||
38 | |||
39 | Optional properties | ||
40 | =================== | ||
41 | |||
42 | vdd-csiphy1-supply : voltage supply of the CSI-2 PHY 1 | ||
43 | vdd-csiphy2-supply : voltage supply of the CSI-2 PHY 2 | ||
44 | |||
45 | Endpoint nodes | ||
46 | -------------- | ||
47 | |||
48 | lane-polarities : lane polarity (required on CSI-2) | ||
49 | 0 -- not inverted; 1 -- inverted | ||
50 | data-lanes : an array of data lanes from 1 to 3. The length can | ||
51 | be either 1 or 2. (required on CSI-2) | ||
52 | clock-lanes : the clock lane (from 1 to 3). (required on CSI-2) | ||
53 | |||
54 | |||
55 | Example | ||
56 | ======= | ||
57 | |||
58 | isp@480bc000 { | ||
59 | compatible = "ti,omap3-isp"; | ||
60 | reg = <0x480bc000 0x12fc | ||
61 | 0x480bd800 0x0600>; | ||
62 | interrupts = <24>; | ||
63 | iommus = <&mmu_isp>; | ||
64 | syscon = <&scm_conf 0x2f0>; | ||
65 | ti,phy-type = <OMAP3ISP_PHY_TYPE_CSIPHY>; | ||
66 | #clock-cells = <1>; | ||
67 | ports { | ||
68 | #address-cells = <1>; | ||
69 | #size-cells = <0>; | ||
70 | }; | ||
71 | }; | ||
diff --git a/Documentation/devicetree/bindings/mfd/qcom,tcsr.txt b/Documentation/devicetree/bindings/mfd/qcom,tcsr.txt new file mode 100644 index 000000000000..e90519d566a3 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/qcom,tcsr.txt | |||
@@ -0,0 +1,22 @@ | |||
1 | QCOM Top Control and Status Register | ||
2 | |||
3 | Qualcomm devices have a set of registers that provide various control and status | ||
4 | functions for their peripherals. This node is intended to allow access to these | ||
5 | registers via syscon. | ||
6 | |||
7 | Required properties: | ||
8 | - compatible: Should contain: | ||
9 | "qcom,tcsr-ipq8064", "syscon" for IPQ8064 | ||
10 | "qcom,tcsr-apq8064", "syscon" for APQ8064 | ||
11 | "qcom,tcsr-msm8660", "syscon" for MSM8660 | ||
12 | "qcom,tcsr-msm8960", "syscon" for MSM8960 | ||
13 | "qcom,tcsr-msm8974", "syscon" for MSM8974 | ||
14 | "qcom,tcsr-apq8084", "syscon" for APQ8084 | ||
15 | "qcom,tcsr-msm8916", "syscon" for MSM8916 | ||
16 | - reg: Address range for TCSR registers | ||
17 | |||
18 | Example: | ||
19 | tcsr: syscon@1a400000 { | ||
20 | compatible = "qcom,tcsr-msm8960", "syscon"; | ||
21 | reg = <0x1a400000 0x100>; | ||
22 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/wireless/ti,wlcore.txt b/Documentation/devicetree/bindings/net/wireless/ti,wlcore.txt new file mode 100644 index 000000000000..2a3d90de18ee --- /dev/null +++ b/Documentation/devicetree/bindings/net/wireless/ti,wlcore.txt | |||
@@ -0,0 +1,47 @@ | |||
1 | TI Wilink 6/7/8 (wl12xx/wl18xx) SDIO devices | ||
2 | |||
3 | This node provides properties for controlling the wilink wireless device. The | ||
4 | node is expected to be specified as a child node to the SDIO controller that | ||
5 | connects the device to the system. | ||
6 | |||
7 | Required properties: | ||
8 | - compatible: should be one of the following: | ||
9 | * "ti,wl1271" | ||
10 | * "ti,wl1273" | ||
11 | * "ti,wl1281" | ||
12 | * "ti,wl1283" | ||
13 | * "ti,wl1801" | ||
14 | * "ti,wl1805" | ||
15 | * "ti,wl1807" | ||
16 | * "ti,wl1831" | ||
17 | * "ti,wl1835" | ||
18 | * "ti,wl1837" | ||
19 | - interrupts : specifies attributes for the out-of-band interrupt. | ||
20 | |||
21 | Optional properties: | ||
22 | - interrupt-parent : the phandle for the interrupt controller to which the | ||
23 | device interrupts are connected. | ||
24 | - ref-clock-frequency : ref clock frequency in Hz | ||
25 | - tcxo-clock-frequency : tcxo clock frequency in Hz | ||
26 | |||
27 | Note: the *-clock-frequency properties assume internal clocks. In case of external | ||
28 | clock, new bindings (for parsing the clock nodes) have to be added. | ||
29 | |||
30 | Example: | ||
31 | |||
32 | &mmc3 { | ||
33 | status = "okay"; | ||
34 | vmmc-supply = <&wlan_en_reg>; | ||
35 | bus-width = <4>; | ||
36 | cap-power-off-card; | ||
37 | keep-power-in-suspend; | ||
38 | |||
39 | #address-cells = <1>; | ||
40 | #size-cells = <0>; | ||
41 | wlcore: wlcore@2 { | ||
42 | compatible = "ti,wl1835"; | ||
43 | reg = <2>; | ||
44 | interrupt-parent = <&gpio0>; | ||
45 | interrupts = <19 IRQ_TYPE_LEVEL_HIGH>; | ||
46 | }; | ||
47 | }; | ||
diff --git a/Documentation/devicetree/bindings/serial/omap_serial.txt b/Documentation/devicetree/bindings/serial/omap_serial.txt index 342eedd10050..54c2a155c783 100644 --- a/Documentation/devicetree/bindings/serial/omap_serial.txt +++ b/Documentation/devicetree/bindings/serial/omap_serial.txt | |||
@@ -4,7 +4,27 @@ Required properties: | |||
4 | - compatible : should be "ti,omap2-uart" for OMAP2 controllers | 4 | - compatible : should be "ti,omap2-uart" for OMAP2 controllers |
5 | - compatible : should be "ti,omap3-uart" for OMAP3 controllers | 5 | - compatible : should be "ti,omap3-uart" for OMAP3 controllers |
6 | - compatible : should be "ti,omap4-uart" for OMAP4 controllers | 6 | - compatible : should be "ti,omap4-uart" for OMAP4 controllers |
7 | - reg : address and length of the register space | ||
8 | - interrupts or interrupts-extended : Should contain the uart interrupt | ||
9 | specifier or both the interrupt | ||
10 | controller phandle and interrupt | ||
11 | specifier. | ||
7 | - ti,hwmods : Must be "uart<n>", n being the instance number (1-based) | 12 | - ti,hwmods : Must be "uart<n>", n being the instance number (1-based) |
8 | 13 | ||
9 | Optional properties: | 14 | Optional properties: |
10 | - clock-frequency : frequency of the clock input to the UART | 15 | - clock-frequency : frequency of the clock input to the UART |
16 | - dmas : DMA specifier, consisting of a phandle to the DMA controller | ||
17 | node and a DMA channel number. | ||
18 | - dma-names : "rx" for receive channel, "tx" for transmit channel. | ||
19 | |||
20 | Example: | ||
21 | |||
22 | uart4: serial@49042000 { | ||
23 | compatible = "ti,omap3-uart"; | ||
24 | reg = <0x49042000 0x400>; | ||
25 | interrupts = <80>; | ||
26 | dmas = <&sdma 81 &sdma 82>; | ||
27 | dma-names = "tx", "rx"; | ||
28 | ti,hwmods = "uart4"; | ||
29 | clock-frequency = <48000000>; | ||
30 | }; | ||
diff --git a/Documentation/devicetree/bindings/soc/mediatek/pwrap.txt b/Documentation/devicetree/bindings/soc/mediatek/pwrap.txt new file mode 100644 index 000000000000..ddeb5b6a53c1 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/mediatek/pwrap.txt | |||
@@ -0,0 +1,58 @@ | |||
1 | MediaTek PMIC Wrapper Driver | ||
2 | |||
3 | This document describes the binding for the MediaTek PMIC wrapper. | ||
4 | |||
5 | On MediaTek SoCs the PMIC is connected via SPI. The SPI master interface | ||
6 | is not directly visible to the CPU, but only through the PMIC wrapper | ||
7 | inside the SoC. The communication between the SoC and the PMIC can | ||
8 | optionally be encrypted. Also a non standard Dual IO SPI mode can be | ||
9 | used to increase speed. | ||
10 | |||
11 | IP Pairing | ||
12 | |||
13 | on MT8135 the pins of some SoC internal peripherals can be on the PMIC. | ||
14 | The signals of these pins are routed over the SPI bus using the pwrap | ||
15 | bridge. In the binding description below the properties needed for bridging | ||
16 | are marked with "IP Pairing". These are optional on SoCs which do not support | ||
17 | IP Pairing | ||
18 | |||
19 | Required properties in pwrap device node. | ||
20 | - compatible: | ||
21 | "mediatek,mt8135-pwrap" for MT8135 SoCs | ||
22 | "mediatek,mt8173-pwrap" for MT8173 SoCs | ||
23 | - interrupts: IRQ for pwrap in SOC | ||
24 | - reg-names: Must include the following entries: | ||
25 | "pwrap": Main registers base | ||
26 | "pwrap-bridge": bridge base (IP Pairing) | ||
27 | - reg: Must contain an entry for each entry in reg-names. | ||
28 | - reset-names: Must include the following entries: | ||
29 | "pwrap" | ||
30 | "pwrap-bridge" (IP Pairing) | ||
31 | - resets: Must contain an entry for each entry in reset-names. | ||
32 | - clock-names: Must include the following entries: | ||
33 | "spi": SPI bus clock | ||
34 | "wrap": Main module clock | ||
35 | - clocks: Must contain an entry for each entry in clock-names. | ||
36 | |||
37 | Optional properities: | ||
38 | - pmic: Mediatek PMIC MFD is the child device of pwrap | ||
39 | See the following for child node definitions: | ||
40 | Documentation/devicetree/bindings/mfd/mt6397.txt | ||
41 | |||
42 | Example: | ||
43 | pwrap: pwrap@1000f000 { | ||
44 | compatible = "mediatek,mt8135-pwrap"; | ||
45 | reg = <0 0x1000f000 0 0x1000>, | ||
46 | <0 0x11017000 0 0x1000>; | ||
47 | reg-names = "pwrap", "pwrap-bridge"; | ||
48 | interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>; | ||
49 | resets = <&infracfg MT8135_INFRA_PMIC_WRAP_RST>, | ||
50 | <&pericfg MT8135_PERI_PWRAP_BRIDGE_SW_RST>; | ||
51 | reset-names = "pwrap", "pwrap-bridge"; | ||
52 | clocks = <&clk26m>, <&clk26m>; | ||
53 | clock-names = "spi", "wrap"; | ||
54 | |||
55 | pmic { | ||
56 | compatible = "mediatek,mt6397"; | ||
57 | }; | ||
58 | }; | ||
diff --git a/Documentation/devicetree/bindings/sound/omap-twl4030.txt b/Documentation/devicetree/bindings/sound/omap-twl4030.txt index 1ab6bc8404d5..f6a715e4ef43 100644 --- a/Documentation/devicetree/bindings/sound/omap-twl4030.txt +++ b/Documentation/devicetree/bindings/sound/omap-twl4030.txt | |||
@@ -4,9 +4,9 @@ Required properties: | |||
4 | - compatible: "ti,omap-twl4030" | 4 | - compatible: "ti,omap-twl4030" |
5 | - ti,model: Name of the sound card (for example "omap3beagle") | 5 | - ti,model: Name of the sound card (for example "omap3beagle") |
6 | - ti,mcbsp: phandle for the McBSP node | 6 | - ti,mcbsp: phandle for the McBSP node |
7 | - ti,codec: phandle for the twl4030 audio node | ||
8 | 7 | ||
9 | Optional properties: | 8 | Optional properties: |
9 | - ti,codec: phandle for the twl4030 audio node | ||
10 | - ti,mcbsp-voice: phandle for the McBSP node connected to the voice port of twl | 10 | - ti,mcbsp-voice: phandle for the McBSP node connected to the voice port of twl |
11 | - ti, jack-det-gpio: Jack detect GPIO | 11 | - ti, jack-det-gpio: Jack detect GPIO |
12 | - ti,audio-routing: List of connections between audio components. | 12 | - ti,audio-routing: List of connections between audio components. |
@@ -59,5 +59,4 @@ sound { | |||
59 | ti,model = "omap3beagle"; | 59 | ti,model = "omap3beagle"; |
60 | 60 | ||
61 | ti,mcbsp = <&mcbsp2>; | 61 | ti,mcbsp = <&mcbsp2>; |
62 | ti,codec = <&twl_audio>; | ||
63 | }; | 62 | }; |
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 54c1d5790358..83737a3403d7 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt | |||
@@ -84,6 +84,7 @@ globalscale Globalscale Technologies, Inc. | |||
84 | gmt Global Mixed-mode Technology, Inc. | 84 | gmt Global Mixed-mode Technology, Inc. |
85 | goodix Shenzhen Huiding Technology Co., Ltd. | 85 | goodix Shenzhen Huiding Technology Co., Ltd. |
86 | google Google, Inc. | 86 | google Google, Inc. |
87 | grinn Grinn | ||
87 | gumstix Gumstix, Inc. | 88 | gumstix Gumstix, Inc. |
88 | gw Gateworks Corporation | 89 | gw Gateworks Corporation |
89 | hannstar HannStar Display Corporation | 90 | hannstar HannStar Display Corporation |
diff --git a/Documentation/devicetree/bindings/video/atmel,lcdc.txt b/Documentation/devicetree/bindings/video/atmel,lcdc.txt index f059dd0b3d28..ecb8da063d07 100644 --- a/Documentation/devicetree/bindings/video/atmel,lcdc.txt +++ b/Documentation/devicetree/bindings/video/atmel,lcdc.txt | |||
@@ -10,7 +10,9 @@ Required properties: | |||
10 | "atmel,at91sam9g45es-lcdc" , | 10 | "atmel,at91sam9g45es-lcdc" , |
11 | "atmel,at91sam9rl-lcdc" , | 11 | "atmel,at91sam9rl-lcdc" , |
12 | "atmel,at32ap-lcdc" | 12 | "atmel,at32ap-lcdc" |
13 | - reg : Should contain 1 register ranges(address and length) | 13 | - reg : Should contain 1 register ranges(address and length). |
14 | Can contain an additional register range(address and length) | ||
15 | for fixed framebuffer memory. Useful for dedicated memories. | ||
14 | - interrupts : framebuffer controller interrupt | 16 | - interrupts : framebuffer controller interrupt |
15 | - display: a phandle pointing to the display node | 17 | - display: a phandle pointing to the display node |
16 | 18 | ||
@@ -38,6 +40,14 @@ Example: | |||
38 | 40 | ||
39 | }; | 41 | }; |
40 | 42 | ||
43 | Example for fixed framebuffer memory: | ||
44 | |||
45 | fb0: fb@0x00500000 { | ||
46 | compatible = "atmel,at91sam9263-lcdc"; | ||
47 | reg = <0x00700000 0x1000 0x70000000 0x200000>; | ||
48 | [...] | ||
49 | }; | ||
50 | |||
41 | Atmel LCDC Display | 51 | Atmel LCDC Display |
42 | ----------------------------------------------------- | 52 | ----------------------------------------------------- |
43 | Required properties (as per of_videomode_helper): | 53 | Required properties (as per of_videomode_helper): |