[PATCH v2] ARM64: dts: marvell: armada-cp110: Add registers clock for SPI nodes

Gregory CLEMENT gregory.clement at bootlin.com
Wed Feb 14 02:41:39 PST 2018


Hi,
 
 On mar., janv. 30 2018, Gregory CLEMENT <gregory.clement at free-electrons.com> wrote:

> This extra clock is needed to access the registers of the SPI controller
> used on Armada 7K/8K SoCs.
>
> This follows the changes already made in the binding documentation (as
> well as in the driver) in:
> 'commit 92ae112e477ac412decc3fdd5c1eeb6c90c266b4 ("spi: orion: Fix clock
> resource by adding an optional bus clock")'.
>
> Signed-off-by: Gregory CLEMENT <gregory.clement at free-electrons.com>

Applied on mvebu/dt64 (with the email address modified to @bootlin.com)

Gregory
> ---
>
> Changelog:
>
> v1 -> v2
> Add comment about the commit modifying the driver in the commit log
>
>  arch/arm64/boot/dts/marvell/armada-cp110.dtsi | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-cp110.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110.dtsi
> index a8af4136dbe7..0ab921861a2f 100644
> --- a/arch/arm64/boot/dts/marvell/armada-cp110.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-cp110.dtsi
> @@ -257,7 +257,9 @@
>  			reg = <0x700600 0x50>;
>  			#address-cells = <0x1>;
>  			#size-cells = <0x0>;
> -			clocks = <&CP110_LABEL(clk) 1 21>;
> +			clock-names = "core", "axi";
> +			clocks = <&CP110_LABEL(clk) 1 21>,
> +				 <&CP110_LABEL(clk) 1 17>;
>  			status = "disabled";
>  		};
>  
> @@ -266,7 +268,9 @@
>  			reg = <0x700680 0x50>;
>  			#address-cells = <1>;
>  			#size-cells = <0>;
> -			clocks = <&CP110_LABEL(clk) 1 21>;
> +			clock-names = "core", "axi";
> +			clocks = <&CP110_LABEL(clk) 1 21>,
> +				 <&CP110_LABEL(clk) 1 17>;
>  			status = "disabled";
>  		};
>  
> -- 
> 2.15.1
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

-- 
Gregory Clement, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com



More information about the linux-arm-kernel mailing list