aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-03-28 21:15:43 -0400
committerArnd Bergmann <arnd@arndb.de>2014-03-28 21:15:43 -0400
commit9dfbff16b422a4bac7ad309847c7bc5d65653392 (patch)
tree13369fb8616124fe9e42d76b64bf2abc3b7ba789
parent9e0c42ea3d2c8e24e6ad27a6d749b3085f1a2430 (diff)
devicetree: fix newly added exynos sata bindings
Commit ba0d7ed391b7b "ARM: dts: enable ahci sata and sata phy for exynos5250" added a new binding document for the sata phy device, and changed the sata controller binding. However, in both cases significant aspects of the binding remained undocumented. This attempts to reconstruct the actual binding from the usage. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Yuvaraj Kumar C D <yuvaraj.cd@samsung.com> Cc: Kishon Vijay Abraham I <kishon@ti.com> Cc: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r--Documentation/devicetree/bindings/ata/exynos-sata.txt10
-rw-r--r--Documentation/devicetree/bindings/phy/samsung-phy.txt6
2 files changed, 13 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/ata/exynos-sata.txt b/Documentation/devicetree/bindings/ata/exynos-sata.txt
index b2adb1f3090e..cb48448247ea 100644
--- a/Documentation/devicetree/bindings/ata/exynos-sata.txt
+++ b/Documentation/devicetree/bindings/ata/exynos-sata.txt
@@ -8,8 +8,14 @@ Required properties:
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 : as mentioned in phy-bindings.txt 11- phys : Must contain exactly one entry as specified
12- phy-names : as mentioned in phy-bindings.txt 12 in phy-bindings.txt
13- phy-names : Must be "sata-phy"
14
15Optional 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.
13 19
14Example: 20Example:
15 sata@122f0000 { 21 sata@122f0000 {
diff --git a/Documentation/devicetree/bindings/phy/samsung-phy.txt b/Documentation/devicetree/bindings/phy/samsung-phy.txt
index a937f75d062c..67d38b3176cf 100644
--- a/Documentation/devicetree/bindings/phy/samsung-phy.txt
+++ b/Documentation/devicetree/bindings/phy/samsung-phy.txt
@@ -30,7 +30,11 @@ Each SATA PHY controller should have its own node.
30Required properties: 30Required properties:
31- compatible : compatible list, contains "samsung,exynos5250-sata-phy" 31- compatible : compatible list, contains "samsung,exynos5250-sata-phy"
32- reg : offset and length of the SATA PHY register set; 32- reg : offset and length of the SATA PHY register set;
33- #phy-cells : from the generic phy bindings; 33- #phy-cells : must be zero
34- clocks : must be exactly one entry
35- clock-names : must be "sata_phyctrl"
36- samsung,exynos-sataphy-i2c-phandle : a phandle to the I2C device, no arguments
37- samsung,syscon-phandle : a phandle to the PMU system controller, no arguments
34 38
35Example: 39Example:
36 sata_phy: sata-phy@12170000 { 40 sata_phy: sata-phy@12170000 {