aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2015-01-23 23:16:15 -0500
committerKukjin Kim <kgene@kernel.org>2015-01-23 23:24:05 -0500
commit0da65870413630339399eb691162eef5c27272de (patch)
tree184ec561d307cffaf4d40df90a77d401a7d3a855 /Documentation/devicetree
parent23c76dc666471dce5ce71b620839d2465723a7c9 (diff)
ARM: dts: convert to generic power domain bindings for exynos DT
This patch replaces all custom samsung,power-domain dt properties with generic power domain bindings and updates documentation Samsung's devices referring to old binding. Suggested-by: Kevin Hilman <khilman@kernel.org> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk> [javier.martinez@collabora.co.uk: tested on the Exynos5800 Peach Pi Chromebook] Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/arm/exynos/power_domain.txt2
-rw-r--r--Documentation/devicetree/bindings/iommu/samsung,sysmmu.txt6
-rw-r--r--Documentation/devicetree/bindings/media/s5p-mfc.txt4
-rw-r--r--Documentation/devicetree/bindings/video/exynos_dsim.txt4
-rw-r--r--Documentation/devicetree/bindings/video/samsung-fimd.txt4
5 files changed, 10 insertions, 10 deletions
diff --git a/Documentation/devicetree/bindings/arm/exynos/power_domain.txt b/Documentation/devicetree/bindings/arm/exynos/power_domain.txt
index abde1ea8a119..f4445e5a2bbb 100644
--- a/Documentation/devicetree/bindings/arm/exynos/power_domain.txt
+++ b/Documentation/devicetree/bindings/arm/exynos/power_domain.txt
@@ -23,7 +23,7 @@ Optional Properties:
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 25
26Node of a device using power domains must have a samsung,power-domain property 26Node of a device using power domains must have a power-domains property
27defined with a phandle to respective power domain. 27defined with a phandle to respective power domain.
28 28
29Example: 29Example:
diff --git a/Documentation/devicetree/bindings/iommu/samsung,sysmmu.txt b/Documentation/devicetree/bindings/iommu/samsung,sysmmu.txt
index 6fa4c737af23..729543c47046 100644
--- a/Documentation/devicetree/bindings/iommu/samsung,sysmmu.txt
+++ b/Documentation/devicetree/bindings/iommu/samsung,sysmmu.txt
@@ -45,7 +45,7 @@ Required properties:
45 Exynos4 SoCs, there needs no "master" clock. 45 Exynos4 SoCs, there needs no "master" clock.
46 Exynos5 SoCs, some System MMUs must have "master" clocks. 46 Exynos5 SoCs, some System MMUs must have "master" clocks.
47- clocks: Required if the System MMU is needed to gate its clock. 47- clocks: Required if the System MMU is needed to gate its clock.
48- samsung,power-domain: Required if the System MMU is needed to gate its power. 48- power-domains: Required if the System MMU is needed to gate its power.
49 Please refer to the following document: 49 Please refer to the following document:
50 Documentation/devicetree/bindings/arm/exynos/power_domain.txt 50 Documentation/devicetree/bindings/arm/exynos/power_domain.txt
51 51
@@ -54,7 +54,7 @@ Examples:
54 compatible = "samsung,exynos5-gsc"; 54 compatible = "samsung,exynos5-gsc";
55 reg = <0x13e00000 0x1000>; 55 reg = <0x13e00000 0x1000>;
56 interrupts = <0 85 0>; 56 interrupts = <0 85 0>;
57 samsung,power-domain = <&pd_gsc>; 57 power-domains = <&pd_gsc>;
58 clocks = <&clock CLK_GSCL0>; 58 clocks = <&clock CLK_GSCL0>;
59 clock-names = "gscl"; 59 clock-names = "gscl";
60 }; 60 };
@@ -66,5 +66,5 @@ Examples:
66 interrupts = <2 0>; 66 interrupts = <2 0>;
67 clock-names = "sysmmu", "master"; 67 clock-names = "sysmmu", "master";
68 clocks = <&clock CLK_SMMU_GSCL0>, <&clock CLK_GSCL0>; 68 clocks = <&clock CLK_SMMU_GSCL0>, <&clock CLK_GSCL0>;
69 samsung,power-domain = <&pd_gsc>; 69 power-domains = <&pd_gsc>;
70 }; 70 };
diff --git a/Documentation/devicetree/bindings/media/s5p-mfc.txt b/Documentation/devicetree/bindings/media/s5p-mfc.txt
index 3e3c5f349570..2d5787eac91a 100644
--- a/Documentation/devicetree/bindings/media/s5p-mfc.txt
+++ b/Documentation/devicetree/bindings/media/s5p-mfc.txt
@@ -28,7 +28,7 @@ Required properties:
28 for DMA contiguous memory allocation and its size. 28 for DMA contiguous memory allocation and its size.
29 29
30Optional properties: 30Optional properties:
31 - samsung,power-domain : power-domain property defined with a phandle 31 - power-domains : power-domain property defined with a phandle
32 to respective power domain. 32 to respective power domain.
33 33
34Example: 34Example:
@@ -38,7 +38,7 @@ mfc: codec@13400000 {
38 compatible = "samsung,mfc-v5"; 38 compatible = "samsung,mfc-v5";
39 reg = <0x13400000 0x10000>; 39 reg = <0x13400000 0x10000>;
40 interrupts = <0 94 0>; 40 interrupts = <0 94 0>;
41 samsung,power-domain = <&pd_mfc>; 41 power-domains = <&pd_mfc>;
42 clocks = <&clock 273>; 42 clocks = <&clock 273>;
43 clock-names = "mfc"; 43 clock-names = "mfc";
44}; 44};
diff --git a/Documentation/devicetree/bindings/video/exynos_dsim.txt b/Documentation/devicetree/bindings/video/exynos_dsim.txt
index ca2b4aacd9af..802aa7ef64e5 100644
--- a/Documentation/devicetree/bindings/video/exynos_dsim.txt
+++ b/Documentation/devicetree/bindings/video/exynos_dsim.txt
@@ -21,7 +21,7 @@ Required properties:
21 according to DSI host bindings (see MIPI DSI bindings [1]) 21 according to DSI host bindings (see MIPI DSI bindings [1])
22 22
23Optional properties: 23Optional properties:
24 - samsung,power-domain: a phandle to DSIM power domain node 24 - power-domains: a phandle to DSIM power domain node
25 25
26Child nodes: 26Child nodes:
27 Should contain DSI peripheral nodes (see MIPI DSI bindings [1]). 27 Should contain DSI peripheral nodes (see MIPI DSI bindings [1]).
@@ -53,7 +53,7 @@ Example:
53 phy-names = "dsim"; 53 phy-names = "dsim";
54 vddcore-supply = <&vusb_reg>; 54 vddcore-supply = <&vusb_reg>;
55 vddio-supply = <&vmipi_reg>; 55 vddio-supply = <&vmipi_reg>;
56 samsung,power-domain = <&pd_lcd0>; 56 power-domains = <&pd_lcd0>;
57 #address-cells = <1>; 57 #address-cells = <1>;
58 #size-cells = <0>; 58 #size-cells = <0>;
59 samsung,pll-clock-frequency = <24000000>; 59 samsung,pll-clock-frequency = <24000000>;
diff --git a/Documentation/devicetree/bindings/video/samsung-fimd.txt b/Documentation/devicetree/bindings/video/samsung-fimd.txt
index cf1af6371021..a8bbbde03e79 100644
--- a/Documentation/devicetree/bindings/video/samsung-fimd.txt
+++ b/Documentation/devicetree/bindings/video/samsung-fimd.txt
@@ -38,7 +38,7 @@ Required properties:
38 property. Must contain "sclk_fimd" and "fimd". 38 property. Must contain "sclk_fimd" and "fimd".
39 39
40Optional Properties: 40Optional Properties:
41- samsung,power-domain: a phandle to FIMD power domain node. 41- power-domains: a phandle to FIMD power domain node.
42- samsung,invert-vden: video enable signal is inverted 42- samsung,invert-vden: video enable signal is inverted
43- samsung,invert-vclk: video clock signal is inverted 43- samsung,invert-vclk: video clock signal is inverted
44- display-timings: timing settings for FIMD, as described in document [1]. 44- display-timings: timing settings for FIMD, as described in document [1].
@@ -97,7 +97,7 @@ SoC specific DT entry:
97 interrupts = <11 0>, <11 1>, <11 2>; 97 interrupts = <11 0>, <11 1>, <11 2>;
98 clocks = <&clock 140>, <&clock 283>; 98 clocks = <&clock 140>, <&clock 283>;
99 clock-names = "sclk_fimd", "fimd"; 99 clock-names = "sclk_fimd", "fimd";
100 samsung,power-domain = <&pd_lcd0>; 100 power-domains = <&pd_lcd0>;
101 status = "disabled"; 101 status = "disabled";
102 }; 102 };
103 103