]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: STiH4xx: Simplify clock binding of STiH4xx platforms
authorGabriel Fernandez <gabriel.fernandez@st.com>
Mon, 29 Aug 2016 12:26:00 +0000 (14:26 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Fri, 16 Sep 2016 07:41:59 +0000 (09:41 +0200)
This patch simplifies the clock binding because we had too much detail.

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
arch/arm/boot/dts/stih407-clock.dtsi
arch/arm/boot/dts/stih410-clock.dtsi
arch/arm/boot/dts/stih418-clock.dtsi

index ad45f5e8fac7b6ed158fae7768b4bda550fff61a..38a56d7edab330c32a1272109e34e76df926d451 100644 (file)
@@ -42,7 +42,7 @@
 
                        clockgen_a9_pll: clockgen-a9-pll {
                                #clock-cells = <1>;
-                               compatible = "st,stih407-plls-c32-a9", "st,clkgen-plls-c32";
+                               compatible = "st,stih407-clkgen-plla9";
 
                                clocks = <&clk_sysin>;
 
@@ -55,7 +55,7 @@
                 */
                clk_m_a9: clk-m-a9@92b0000 {
                        #clock-cells = <0>;
-                       compatible = "st,stih407-clkgen-a9-mux", "st,clkgen-mux";
+                       compatible = "st,stih407-clkgen-a9-mux";
                        reg = <0x92b0000 0x10000>;
 
                        clocks = <&clockgen_a9_pll 0>,
@@ -96,7 +96,7 @@
 
                        clk_s_a0_pll: clk-s-a0-pll {
                                #clock-cells = <1>;
-                               compatible = "st,stih407-plls-c32-a0", "st,clkgen-plls-c32";
+                               compatible = "st,clkgen-pll0";
 
                                clocks = <&clk_sysin>;
 
 
                clk_s_c0_quadfs: clk-s-c0-quadfs@9103000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-C", "st,quadfs";
+                       compatible = "st,quadfs-pll";
                        reg = <0x9103000 0x1000>;
 
                        clocks = <&clk_sysin>;
 
                        clk_s_c0_pll0: clk-s-c0-pll0 {
                                #clock-cells = <1>;
-                               compatible = "st,plls-c32-cx_0", "st,clkgen-plls-c32";
+                               compatible = "st,clkgen-pll0";
 
                                clocks = <&clk_sysin>;
 
 
                        clk_s_c0_pll1: clk-s-c0-pll1 {
                                #clock-cells = <1>;
-                               compatible = "st,plls-c32-cx_1", "st,clkgen-plls-c32";
+                               compatible = "st,clkgen-pll1";
 
                                clocks = <&clk_sysin>;
 
 
                clk_s_d0_quadfs: clk-s-d0-quadfs@9104000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-D", "st,quadfs";
+                       compatible = "st,quadfs";
                        reg = <0x9104000 0x1000>;
 
                        clocks = <&clk_sysin>;
 
                clk_s_d2_quadfs: clk-s-d2-quadfs@9106000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-D", "st,quadfs";
+                       compatible = "st,quadfs";
                        reg = <0x9106000 0x1000>;
 
                        clocks = <&clk_sysin>;
 
                clk_s_d3_quadfs: clk-s-d3-quadfs@9107000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-D", "st,quadfs";
+                       compatible = "st,quadfs";
                        reg = <0x9107000 0x1000>;
 
                        clocks = <&clk_sysin>;
index fd50496821816d3caf76b29e329ecb2f32a7d06a..e8f4d4421e629bddf3e7bcebb54c411aa6bc5768 100644 (file)
@@ -44,7 +44,7 @@
 
                        clockgen_a9_pll: clockgen-a9-pll {
                                #clock-cells = <1>;
-                               compatible = "st,stih407-plls-c32-a9", "st,clkgen-plls-c32";
+                               compatible = "st,stih407-clkgen-plla9";
 
                                clocks = <&clk_sysin>;
 
@@ -98,7 +98,7 @@
 
                        clk_s_a0_pll: clk-s-a0-pll {
                                #clock-cells = <1>;
-                               compatible = "st,stih407-plls-c32-a0", "st,clkgen-plls-c32";
+                               compatible = "st,clkgen-pll0";
 
                                clocks = <&clk_sysin>;
 
 
                clk_s_c0_quadfs: clk-s-c0-quadfs@9103000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-C", "st,quadfs";
+                       compatible = "st,quadfs-pll";
                        reg = <0x9103000 0x1000>;
 
                        clocks = <&clk_sysin>;
 
                        clk_s_c0_pll0: clk-s-c0-pll0 {
                                #clock-cells = <1>;
-                               compatible = "st,plls-c32-cx_0", "st,clkgen-plls-c32";
+                               compatible = "st,clkgen-pll0";
 
                                clocks = <&clk_sysin>;
 
 
                        clk_s_c0_pll1: clk-s-c0-pll1 {
                                #clock-cells = <1>;
-                               compatible = "st,plls-c32-cx_1", "st,clkgen-plls-c32";
+                               compatible = "st,clkgen-pll1";
 
                                clocks = <&clk_sysin>;
 
 
                clk_s_d0_quadfs: clk-s-d0-quadfs@9104000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-D", "st,quadfs";
+                       compatible = "st,quadfs";
                        reg = <0x9104000 0x1000>;
 
                        clocks = <&clk_sysin>;
 
                clk_s_d2_quadfs: clk-s-d2-quadfs@9106000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-D", "st,quadfs";
+                       compatible = "st,quadfs";
                        reg = <0x9106000 0x1000>;
 
                        clocks = <&clk_sysin>;
 
                clk_s_d3_quadfs: clk-s-d3-quadfs@9107000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-D", "st,quadfs";
+                       compatible = "st,quadfs";
                        reg = <0x9107000 0x1000>;
 
                        clocks = <&clk_sysin>;
index ae6d9978ea19ad88a0c5bfcdee2d3129bc1c0ee0..0fd0fa54132cac00a524a700aa69d58260218262 100644 (file)
@@ -44,7 +44,7 @@
 
                        clockgen_a9_pll: clockgen-a9-pll {
                                #clock-cells = <1>;
-                               compatible = "st,stih418-plls-c28-a9", "st,clkgen-plls-c32";
+                               compatible = "st,stih418-clkgen-plla9";
 
                                clocks = <&clk_sysin>;
 
@@ -98,7 +98,7 @@
 
                        clk_s_a0_pll: clk-s-a0-pll {
                                #clock-cells = <1>;
-                               compatible = "st,stih407-plls-c32-a0", "st,clkgen-plls-c32";
+                               compatible = "st,clkgen-pll0";
 
                                clocks = <&clk_sysin>;
 
 
                clk_s_c0_quadfs: clk-s-c0-quadfs@9103000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-C", "st,quadfs";
+                       compatible = "st,quadfs-pll";
                        reg = <0x9103000 0x1000>;
 
                        clocks = <&clk_sysin>;
 
                        clk_s_c0_pll0: clk-s-c0-pll0 {
                                #clock-cells = <1>;
-                               compatible = "st,plls-c32-cx_0", "st,clkgen-plls-c32";
+                               compatible = "st,clkgen-pll0";
 
                                clocks = <&clk_sysin>;
 
 
                        clk_s_c0_pll1: clk-s-c0-pll1 {
                                #clock-cells = <1>;
-                               compatible = "st,plls-c32-cx_1", "st,clkgen-plls-c32";
+                               compatible = "st,clkgen-pll1";
 
                                clocks = <&clk_sysin>;
 
 
                clk_s_d0_quadfs: clk-s-d0-quadfs@9104000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-D", "st,quadfs";
+                       compatible = "st,quadfs";
                        reg = <0x9104000 0x1000>;
 
                        clocks = <&clk_sysin>;
 
                clk_s_d2_quadfs: clk-s-d2-quadfs@9106000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-D", "st,quadfs";
+                       compatible = "st,quadfs";
                        reg = <0x9106000 0x1000>;
 
                        clocks = <&clk_sysin>;
 
                clk_s_d3_quadfs: clk-s-d3-quadfs@9107000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-D", "st,quadfs";
+                       compatible = "st,quadfs";
                        reg = <0x9107000 0x1000>;
 
                        clocks = <&clk_sysin>;