diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-05 18:46:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-05 18:46:37 -0400 |
commit | 2bf73dd61a84cdf27e49f48e08739af6ba70ace1 (patch) | |
tree | 225876ce1530ba6c3a96621a531f47e963fee691 /Documentation | |
parent | d2b150d0647e055d7a71b1c33140280550b27dd6 (diff) | |
parent | 9dfbff16b422a4bac7ad309847c7bc5d65653392 (diff) |
Merge tag 'tags/cleanup2-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC late cleanups from Arnd Bergmann:
"These could not be part of the first cleanup branch, because they
either came too late in the cycle, or they have dependencies on other
branches. Important changes are:
- The integrator platform is almost multiplatform capable after some
reorganization (Linus Walleij)
- Minor cleanups on Zynq (Michal Simek)
- Lots of changes for Exynos and other Samsung platforms, including
further preparations for multiplatform support and the clocks
bindings are rearranged"
* tag 'tags/cleanup2-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (54 commits)
devicetree: fix newly added exynos sata bindings
ARM: EXYNOS: Fix compilation error in cpuidle.c
ARM: S5P64X0: Explicitly include linux/serial_s3c.h in mach/pm-core.h
ARM: EXYNOS: Remove hardware.h file
ARM: SAMSUNG: Remove hardware.h inclusion
ARM: S3C24XX: Remove invalid code from hardware.h
dt-bindings: clock: Move exynos-audss-clk.h to dt-bindings/clock
ARM: dts: Keep some essential LDOs enabled for arndale-octa board
ARM: dts: Disable MDMA1 node for arndale-octa board
ARM: S3C64XX: Fix build for implicit serial_s3c.h inclusion
serial: s3c: Fix build of header without serial_core.h preinclusion
ARM: EXYNOS: Allow wake-up using GIC interrupts
ARM: EXYNOS: Stop using legacy Samsung PM code
ARM: EXYNOS: Remove PM initcalls and useless indirection
ARM: EXYNOS: Fix abuse of CONFIG_PM
ARM: SAMSUNG: Move s3c_pm_check_* prototypes to plat/pm-common.h
ARM: SAMSUNG: Move common save/restore helpers to separate file
ARM: SAMSUNG: Move Samsung PM debug code into separate file
ARM: SAMSUNG: Consolidate PM debug functions
ARM: SAMSUNG: Use debug_ll_addr() to get UART base address
...
Diffstat (limited to 'Documentation')
4 files changed, 65 insertions, 24 deletions
diff --git a/Documentation/devicetree/bindings/ata/exynos-sata-phy.txt b/Documentation/devicetree/bindings/ata/exynos-sata-phy.txt deleted file mode 100644 index 37824fac688e..000000000000 --- a/Documentation/devicetree/bindings/ata/exynos-sata-phy.txt +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | * Samsung SATA PHY Controller | ||
2 | |||
3 | SATA PHY nodes are defined to describe on-chip SATA Physical layer controllers. | ||
4 | Each SATA PHY controller should have its own node. | ||
5 | |||
6 | Required properties: | ||
7 | - compatible : compatible list, contains "samsung,exynos5-sata-phy" | ||
8 | - reg : <registers mapping> | ||
9 | |||
10 | Example: | ||
11 | sata@ffe07000 { | ||
12 | compatible = "samsung,exynos5-sata-phy"; | ||
13 | reg = <0xffe07000 0x1000>; | ||
14 | }; | ||
diff --git a/Documentation/devicetree/bindings/ata/exynos-sata.txt b/Documentation/devicetree/bindings/ata/exynos-sata.txt index 0849f1025e34..cb48448247ea 100644 --- a/Documentation/devicetree/bindings/ata/exynos-sata.txt +++ b/Documentation/devicetree/bindings/ata/exynos-sata.txt | |||
@@ -4,14 +4,27 @@ SATA nodes are defined to describe on-chip Serial ATA controllers. | |||
4 | Each SATA controller should have its own node. | 4 | Each SATA controller should have its own node. |
5 | 5 | ||
6 | Required properties: | 6 | Required properties: |
7 | - compatible : compatible list, contains "samsung,exynos5-sata" | 7 | - compatible : compatible list, contains "samsung,exynos5-sata" |
8 | - interrupts : <interrupt mapping for SATA IRQ> | 8 | - interrupts : <interrupt mapping for SATA IRQ> |
9 | - reg : <registers mapping> | 9 | - reg : <registers mapping> |
10 | - samsung,sata-freq : <frequency in MHz> | 10 | - samsung,sata-freq : <frequency in MHz> |
11 | - phys : Must contain exactly one entry as specified | ||
12 | in phy-bindings.txt | ||
13 | - phy-names : Must be "sata-phy" | ||
14 | |||
15 | Optional properties: | ||
16 | - clocks : Must contain an entry for each entry in clock-names. | ||
17 | - clock-names : Shall be "sata" for the external SATA bus clock, | ||
18 | and "sclk_sata" for the internal controller clock. | ||
11 | 19 | ||
12 | Example: | 20 | Example: |
13 | sata@ffe08000 { | 21 | sata@122f0000 { |
14 | compatible = "samsung,exynos5-sata"; | 22 | compatible = "snps,dwc-ahci"; |
15 | reg = <0xffe08000 0x1000>; | 23 | samsung,sata-freq = <66>; |
16 | interrupts = <115>; | 24 | reg = <0x122f0000 0x1ff>; |
17 | }; | 25 | interrupts = <0 115 0>; |
26 | clocks = <&clock 277>, <&clock 143>; | ||
27 | clock-names = "sata", "sclk_sata"; | ||
28 | phys = <&sata_phy>; | ||
29 | phy-names = "sata-phy"; | ||
30 | }; | ||
diff --git a/Documentation/devicetree/bindings/clock/zynq-7000.txt b/Documentation/devicetree/bindings/clock/zynq-7000.txt index 17b4a94916d6..d93746cf2975 100644 --- a/Documentation/devicetree/bindings/clock/zynq-7000.txt +++ b/Documentation/devicetree/bindings/clock/zynq-7000.txt | |||
@@ -14,6 +14,7 @@ for all clock consumers of PS clocks. | |||
14 | Required properties: | 14 | Required properties: |
15 | - #clock-cells : Must be 1 | 15 | - #clock-cells : Must be 1 |
16 | - compatible : "xlnx,ps7-clkc" | 16 | - compatible : "xlnx,ps7-clkc" |
17 | - reg : SLCR offset and size taken via syscon < 0x100 0x100 > | ||
17 | - ps-clk-frequency : Frequency of the oscillator providing ps_clk in HZ | 18 | - ps-clk-frequency : Frequency of the oscillator providing ps_clk in HZ |
18 | (usually 33 MHz oscillators are used for Zynq platforms) | 19 | (usually 33 MHz oscillators are used for Zynq platforms) |
19 | - clock-output-names : List of strings used to name the clock outputs. Shall be | 20 | - clock-output-names : List of strings used to name the clock outputs. Shall be |
@@ -87,10 +88,11 @@ Clock outputs: | |||
87 | 47: dbg_apb | 88 | 47: dbg_apb |
88 | 89 | ||
89 | Example: | 90 | Example: |
90 | clkc: clkc { | 91 | clkc: clkc@100 { |
91 | #clock-cells = <1>; | 92 | #clock-cells = <1>; |
92 | compatible = "xlnx,ps7-clkc"; | 93 | compatible = "xlnx,ps7-clkc"; |
93 | ps-clk-frequency = <33333333>; | 94 | ps-clk-frequency = <33333333>; |
95 | reg = <0x100 0x100>; | ||
94 | clock-output-names = "armpll", "ddrpll", "iopll", "cpu_6or4x", | 96 | clock-output-names = "armpll", "ddrpll", "iopll", "cpu_6or4x", |
95 | "cpu_3or2x", "cpu_2x", "cpu_1x", "ddr2x", "ddr3x", | 97 | "cpu_3or2x", "cpu_2x", "cpu_1x", "ddr2x", "ddr3x", |
96 | "dci", "lqspi", "smc", "pcap", "gem0", "gem1", | 98 | "dci", "lqspi", "smc", "pcap", "gem0", "gem1", |
diff --git a/Documentation/devicetree/bindings/phy/samsung-phy.txt b/Documentation/devicetree/bindings/phy/samsung-phy.txt index 28f9edb8f19c..b422e38946d7 100644 --- a/Documentation/devicetree/bindings/phy/samsung-phy.txt +++ b/Documentation/devicetree/bindings/phy/samsung-phy.txt | |||
@@ -74,3 +74,43 @@ phy-consumer@12340000 { | |||
74 | 74 | ||
75 | Refer to DT bindings documentation of particular PHY consumer devices for more | 75 | Refer to DT bindings documentation of particular PHY consumer devices for more |
76 | information about required PHYs and the way of specification. | 76 | information about required PHYs and the way of specification. |
77 | |||
78 | Samsung SATA PHY Controller | ||
79 | --------------------------- | ||
80 | |||
81 | SATA PHY nodes are defined to describe on-chip SATA Physical layer controllers. | ||
82 | Each SATA PHY controller should have its own node. | ||
83 | |||
84 | Required properties: | ||
85 | - compatible : compatible list, contains "samsung,exynos5250-sata-phy" | ||
86 | - reg : offset and length of the SATA PHY register set; | ||
87 | - #phy-cells : must be zero | ||
88 | - clocks : must be exactly one entry | ||
89 | - clock-names : must be "sata_phyctrl" | ||
90 | - samsung,exynos-sataphy-i2c-phandle : a phandle to the I2C device, no arguments | ||
91 | - samsung,syscon-phandle : a phandle to the PMU system controller, no arguments | ||
92 | |||
93 | Example: | ||
94 | sata_phy: sata-phy@12170000 { | ||
95 | compatible = "samsung,exynos5250-sata-phy"; | ||
96 | reg = <0x12170000 0x1ff>; | ||
97 | clocks = <&clock 287>; | ||
98 | clock-names = "sata_phyctrl"; | ||
99 | #phy-cells = <0>; | ||
100 | samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>; | ||
101 | samsung,syscon-phandle = <&pmu_syscon>; | ||
102 | }; | ||
103 | |||
104 | Device-Tree bindings for sataphy i2c client driver | ||
105 | -------------------------------------------------- | ||
106 | |||
107 | Required properties: | ||
108 | compatible: Should be "samsung,exynos-sataphy-i2c" | ||
109 | - reg: I2C address of the sataphy i2c device. | ||
110 | |||
111 | Example: | ||
112 | |||
113 | sata_phy_i2c:sata-phy@38 { | ||
114 | compatible = "samsung,exynos-sataphy-i2c"; | ||
115 | reg = <0x38>; | ||
116 | }; | ||