Message ID | 20121120152836.GM10369@pengutronix.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 11/20/2012 04:28 PM, Sascha Hauer wrote: > On Mon, Nov 19, 2012 at 04:40:25PM -0200, Fabio Estevam wrote: >> Similarly as it was done for mx6q, use a DT lookup in order to make maintainance >> task for the clock devices easier. >> >> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> >> --- >> .../devicetree/bindings/clock/imx5-clock.txt | 197 ++++++++++++++++++++ >> arch/arm/boot/dts/imx51.dtsi | 39 ++++ >> arch/arm/boot/dts/imx53.dtsi | 48 +++++ >> arch/arm/mach-imx/clk-imx51-imx53.c | 26 +-- >> arch/arm/mach-imx/imx51-dt.c | 28 +-- >> arch/arm/mach-imx/mach-imx53.c | 31 +-- >> 6 files changed, 299 insertions(+), 70 deletions(-) >> create mode 100644 Documentation/devicetree/bindings/clock/imx5-clock.txt >> >> diff --git a/Documentation/devicetree/bindings/clock/imx5-clock.txt b/Documentation/devicetree/bindings/clock/imx5-clock.txt >> new file mode 100644 >> index 0000000..a6fb29e >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/clock/imx5-clock.txt >> @@ -0,0 +1,197 @@ >> +* Clock bindings for Freescale i.MX5 >> + >> +Required properties: >> +- compatible: Should be "fsl,<soc>-ccm" , where <soc> can be mx51 or mx53 > > s/mx51/imx51/ > s/mx53/iMX53/ ^^^^^ imx53? Marc
On Tue, Nov 20, 2012 at 04:31:40PM +0100, Marc Kleine-Budde wrote: > On 11/20/2012 04:28 PM, Sascha Hauer wrote: > > On Mon, Nov 19, 2012 at 04:40:25PM -0200, Fabio Estevam wrote: > >> Similarly as it was done for mx6q, use a DT lookup in order to make maintainance > >> task for the clock devices easier. > >> > >> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > >> --- > >> .../devicetree/bindings/clock/imx5-clock.txt | 197 ++++++++++++++++++++ > >> arch/arm/boot/dts/imx51.dtsi | 39 ++++ > >> arch/arm/boot/dts/imx53.dtsi | 48 +++++ > >> arch/arm/mach-imx/clk-imx51-imx53.c | 26 +-- > >> arch/arm/mach-imx/imx51-dt.c | 28 +-- > >> arch/arm/mach-imx/mach-imx53.c | 31 +-- > >> 6 files changed, 299 insertions(+), 70 deletions(-) > >> create mode 100644 Documentation/devicetree/bindings/clock/imx5-clock.txt > >> > >> diff --git a/Documentation/devicetree/bindings/clock/imx5-clock.txt b/Documentation/devicetree/bindings/clock/imx5-clock.txt > >> new file mode 100644 > >> index 0000000..a6fb29e > >> --- /dev/null > >> +++ b/Documentation/devicetree/bindings/clock/imx5-clock.txt > >> @@ -0,0 +1,197 @@ > >> +* Clock bindings for Freescale i.MX5 > >> + > >> +Required properties: > >> +- compatible: Should be "fsl,<soc>-ccm" , where <soc> can be mx51 or mx53 > > > > s/mx51/imx51/ > > s/mx53/iMX53/ > ^^^^^ > imx53? even better ;) Sascha
diff --git a/arch/arm/boot/dts/imx51.dtsi b/arch/arm/boot/dts/imx51.dtsi index fa8b2c0..397502e 100644 --- a/arch/arm/boot/dts/imx51.dtsi +++ b/arch/arm/boot/dts/imx51.dtsi @@ -80,7 +80,7 @@ compatible = "fsl,imx51-esdhc"; reg = <0x70004000 0x4000>; interrupts = <1>; - clocks = <&clks 44>, <&clks 44>, <&clks 44>; + clocks = <&clks 44>, <&clks 0>, <&clks 71>; clock-names = "ipg", "ahb", "per"; status = "disabled"; }; @@ -89,7 +89,7 @@ compatible = "fsl,imx51-esdhc"; reg = <0x70008000 0x4000>; interrupts = <2>; - clocks = <&clks 45>, <&clks 45>, <&clks 45>; + clocks = <&clks 45>, <&clks 0>, <&clks 72>; clock-names = "ipg", "ahb", "per"; status = "disabled"; }; @@ -128,7 +128,7 @@ compatible = "fsl,imx51-esdhc"; reg = <0x70020000 0x4000>; interrupts = <3>; - clocks = <&clks 46>, <&clks 46>, <&clks 46>; + clocks = <&clks 46>, <&clks 0>, <&clks 73>; clock-names = "ipg", "ahb", "per"; status = "disabled"; }; @@ -137,7 +137,7 @@ compatible = "fsl,imx51-esdhc"; reg = <0x70024000 0x4000>; interrupts = <4>; - clocks = <&clks 47>, <&clks 47>, <&clks 47>; + clocks = <&clks 47>, <&clks 0>, <&clks 74>; clock-names = "ipg", "ahb", "per"; status = "disabled"; }; diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi index 8c71004..6a97862 100644 --- a/arch/arm/boot/dts/imx53.dtsi +++ b/arch/arm/boot/dts/imx53.dtsi @@ -85,7 +85,7 @@ compatible = "fsl,imx53-esdhc"; reg = <0x50004000 0x4000>; interrupts = <1>; - clocks = <&clks 44>, <&clks 44>, <&clks 44>; + clocks = <&clks 44>, <&clks 0>, <&clks 71>; clock-names = "ipg", "ahb", "per"; status = "disabled"; }; @@ -94,7 +94,7 @@ compatible = "fsl,imx53-esdhc"; reg = <0x50008000 0x4000>; interrupts = <2>; - clocks = <&clks 45>, <&clks 45>, <&clks 45>; + clocks = <&clks 45>, <&clks 0>, <&clks 72>; clock-names = "ipg", "ahb", "per"; status = "disabled"; }; @@ -133,7 +133,7 @@ compatible = "fsl,imx53-esdhc"; reg = <0x50020000 0x4000>; interrupts = <3>; - clocks = <&clks 46>, <&clks 46>, <&clks 46>; + clocks = <&clks 46>, <&clks 0>, <&clks 73>; clock-names = "ipg", "ahb", "per"; status = "disabled"; }; @@ -142,7 +142,7 @@ compatible = "fsl,imx53-esdhc"; reg = <0x50024000 0x4000>; interrupts = <4>; - clocks = <&clks 47>, <&clks 47>, <&clks 47>; + clocks = <&clks 47>, <&clks 0>, <&clks 74>; clock-names = "ipg", "ahb", "per"; status = "disabled"; };