[PATCH] ARM: shmobile: r8a7794: Add QSPI clock to device tree

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed Dec 10 17:26:42 PST 2014


Hi Simon

> From: Hisashi Nakamura <hisashi.nakamura.ak at renesas.com>
> 
> Signed-off-by: Hisashi Nakamura <hisashi.nakamura.ak at renesas.com>
> [horms: omitted device node and alias; only add clock]
> Signed-off-by: Simon Horman <horms+renesas at verge.net.a, not device nodes:u>
> 
> ---
> Based on the renesas-devel-20141211-v3.18 tag of my renesas tree
> 
> Changes by Simon Horman
> * Removed portions of patch which add device node and alias
> * Renamed patch from
>   "ARM: shmobile: r8a7794: Add QSPI clock and device to device tree" to
>   "ARM: shmobile: r8a7794: Add QSPI clock to device tree"
> ---
>  arch/arm/boot/dts/r8a7794.dtsi            | 8 ++++++++
>  include/dt-bindings/clock/r8a7794-clock.h | 1 +
>  2 files changed, 9 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/r8a7794.dtsi b/arch/arm/boot/dts/r8a7794.dtsi
> index 6d95638..9f59849 100644
> --- a/arch/arm/boot/dts/r8a7794.dtsi
> +++ b/arch/arm/boot/dts/r8a7794.dtsi
> @@ -535,6 +535,14 @@
>  			clock-output-names =
>  				"vin1", "vin0", "ether";
>  		};
> +		mstp9_clks: mstp9_clks at e6150994 {
> +			compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
> +			reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
> +			clocks = <&cpg_clocks R8A7794_CLK_QSPI>;
> +			#clock-cells = <1>;
> +			renesas,clock-indices = <R8A7794_CLK_QSPI_MOD>;
> +			clock-output-names = "qspi_mod";
> +		};

We want ot use this ?

- renesas,clock-indices
+ clock-indices




More information about the linux-arm-kernel mailing list