[PATCH 2/2] arm64: dts: rockchip: add rk3399 dw-mmc resets

Shawn Lin shawn.lin at rock-chips.com
Fri Mar 17 02:27:03 PDT 2017


在 2017/3/17 16:39, Heiko Stuebner 写道:
> dw-mmc got its reset-properties specified, so add the softresets
> for it on the rk3399.
>

I now have a RK3399 platform at hand and it works fine with
this patch applied, so

Tested-by: Shawn Lin <shawn.lin at rock-chips.com>
Reviewed-by: Shawn Lin <shawn.lin at rock-chips.com>

> Signed-off-by: Heiko Stuebner <heiko at sntech.de>
> ---
>  arch/arm64/boot/dts/rockchip/rk3399.dtsi | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> index 8e6d1bdeb9c3..c228898eda81 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> @@ -241,6 +241,8 @@
>  			 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
>  		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
>  		fifo-depth = <0x100>;
> +		resets = <&cru SRST_SDIO0>;
> +		reset-names = "reset";
>  		status = "disabled";
>  	};
>
> @@ -255,6 +257,8 @@
>  		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
>  		fifo-depth = <0x100>;
>  		power-domains = <&power RK3399_PD_SD>;
> +		resets = <&cru SRST_SDMMC>;
> +		reset-names = "reset";
>  		status = "disabled";
>  	};
>
>


-- 
Best Regards
Shawn Lin




More information about the Linux-rockchip mailing list