[PATCH 3/3] ARM: OMAP4: dts: Add main and optional clock data into DT

Paul Walmsley paul at pwsan.com
Tue Aug 20 19:57:26 EDT 2013


Hi

On Tue, 23 Jul 2013, Rajendra Nayak wrote:

> With support to parse clock data from DT, move all main and optional
> clock information from hwmod to DT.
> 
> We still retain clocks in hwmod for devices which do not have a DT node.
> 
> Signed-off-by: Rajendra Nayak <rnayak at ti.com>
> ---
>  arch/arm/boot/dts/omap4.dtsi               |  100 +++++++++++++++++++++++++
>  arch/arm/mach-omap2/omap_hwmod_44xx_data.c |  112 ----------------------------
>  2 files changed, 100 insertions(+), 112 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi
> index 8e142f9..4dddf64 100644
> --- a/arch/arm/boot/dts/omap4.dtsi
> +++ b/arch/arm/boot/dts/omap4.dtsi
> @@ -106,6 +106,8 @@
>  			compatible = "ti,omap-counter32k";
>  			reg = <0x4a304000 0x20>;
>  			ti,hwmods = "counter_32k";
> +			clocks = <&sys_32k_ck>;
> +			clock-names = "fck";

Shouldn't these patches be using the official DT clock binding format?  
Either the 'clocks' property should be something like:

    clocks = <&prm 10>;

or a change to the bindings needs to be discussed and implemented.


- Paul



More information about the linux-arm-kernel mailing list