public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: rockchip: add rk3368 dw-mmc resets
@ 2017-03-17  8:39 Heiko Stuebner
  2017-03-17  8:39 ` [PATCH 2/2] arm64: dts: rockchip: add rk3399 " Heiko Stuebner
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Heiko Stuebner @ 2017-03-17  8:39 UTC (permalink / raw)
  To: linux-arm-kernel

dw-mmc got its reset-properties specified, so add the softresets
for it on the rk3368.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
 arch/arm64/boot/dts/rockchip/rk3368.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
index a635adc47e74..06fa6e00904d 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
@@ -237,6 +237,8 @@
 		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
 		fifo-depth = <0x100>;
 		interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
+		resets = <&cru SRST_MMC0>;
+		reset-names = "reset";
 		status = "disabled";
 	};
 
@@ -249,6 +251,8 @@
 		clock-names = "biu", "ciu", "ciu_drv", "ciu_sample";
 		fifo-depth = <0x100>;
 		interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
+		resets = <&cru SRST_SDIO0>;
+		reset-names = "reset";
 		status = "disabled";
 	};
 
@@ -261,6 +265,8 @@
 		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
 		fifo-depth = <0x100>;
 		interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
+		resets = <&cru SRST_EMMC>;
+		reset-names = "reset";
 		status = "disabled";
 	};
 
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] arm64: dts: rockchip: add rk3399 dw-mmc resets
  2017-03-17  8:39 [PATCH 1/2] arm64: dts: rockchip: add rk3368 dw-mmc resets Heiko Stuebner
@ 2017-03-17  8:39 ` Heiko Stuebner
  2017-03-17  9:27   ` Shawn Lin
  2017-03-17  9:25 ` [PATCH 1/2] arm64: dts: rockchip: add rk3368 " Shawn Lin
  2017-03-18 11:41 ` Heiko Stuebner
  2 siblings, 1 reply; 5+ messages in thread
From: Heiko Stuebner @ 2017-03-17  8:39 UTC (permalink / raw)
  To: linux-arm-kernel

dw-mmc got its reset-properties specified, so add the softresets
for it on the rk3399.

Signed-off-by: Heiko Stuebner <heiko@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";
 	};
 
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 1/2] arm64: dts: rockchip: add rk3368 dw-mmc resets
  2017-03-17  8:39 [PATCH 1/2] arm64: dts: rockchip: add rk3368 dw-mmc resets Heiko Stuebner
  2017-03-17  8:39 ` [PATCH 2/2] arm64: dts: rockchip: add rk3399 " Heiko Stuebner
@ 2017-03-17  9:25 ` Shawn Lin
  2017-03-18 11:41 ` Heiko Stuebner
  2 siblings, 0 replies; 5+ messages in thread
From: Shawn Lin @ 2017-03-17  9:25 UTC (permalink / raw)
  To: linux-arm-kernel

? 2017/3/17 16:39, Heiko Stuebner ??:
> dw-mmc got its reset-properties specified, so add the softresets
> for it on the rk3368.
>
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>

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

> ---
>  arch/arm64/boot/dts/rockchip/rk3368.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
> index a635adc47e74..06fa6e00904d 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
> @@ -237,6 +237,8 @@
>  		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
>  		fifo-depth = <0x100>;
>  		interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
> +		resets = <&cru SRST_MMC0>;
> +		reset-names = "reset";
>  		status = "disabled";
>  	};
>
> @@ -249,6 +251,8 @@
>  		clock-names = "biu", "ciu", "ciu_drv", "ciu_sample";
>  		fifo-depth = <0x100>;
>  		interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
> +		resets = <&cru SRST_SDIO0>;
> +		reset-names = "reset";
>  		status = "disabled";
>  	};
>
> @@ -261,6 +265,8 @@
>  		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
>  		fifo-depth = <0x100>;
>  		interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
> +		resets = <&cru SRST_EMMC>;
> +		reset-names = "reset";
>  		status = "disabled";
>  	};
>
>


-- 
Best Regards
Shawn Lin

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 2/2] arm64: dts: rockchip: add rk3399 dw-mmc resets
  2017-03-17  8:39 ` [PATCH 2/2] arm64: dts: rockchip: add rk3399 " Heiko Stuebner
@ 2017-03-17  9:27   ` Shawn Lin
  0 siblings, 0 replies; 5+ messages in thread
From: Shawn Lin @ 2017-03-17  9:27 UTC (permalink / raw)
  To: linux-arm-kernel

? 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@rock-chips.com>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>

> Signed-off-by: Heiko Stuebner <heiko@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] arm64: dts: rockchip: add rk3368 dw-mmc resets
  2017-03-17  8:39 [PATCH 1/2] arm64: dts: rockchip: add rk3368 dw-mmc resets Heiko Stuebner
  2017-03-17  8:39 ` [PATCH 2/2] arm64: dts: rockchip: add rk3399 " Heiko Stuebner
  2017-03-17  9:25 ` [PATCH 1/2] arm64: dts: rockchip: add rk3368 " Shawn Lin
@ 2017-03-18 11:41 ` Heiko Stuebner
  2 siblings, 0 replies; 5+ messages in thread
From: Heiko Stuebner @ 2017-03-18 11:41 UTC (permalink / raw)
  To: linux-arm-kernel

Am Freitag, 17. M?rz 2017, 09:39:50 CET schrieb Heiko Stuebner:
> dw-mmc got its reset-properties specified, so add the softresets
> for it on the rk3368.
> 
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>

applied both for 4.12 with Shawn's tags.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-03-18 11:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-17  8:39 [PATCH 1/2] arm64: dts: rockchip: add rk3368 dw-mmc resets Heiko Stuebner
2017-03-17  8:39 ` [PATCH 2/2] arm64: dts: rockchip: add rk3399 " Heiko Stuebner
2017-03-17  9:27   ` Shawn Lin
2017-03-17  9:25 ` [PATCH 1/2] arm64: dts: rockchip: add rk3368 " Shawn Lin
2017-03-18 11:41 ` Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox