Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1692731 > unrolled thread

[PATCH] ARM: dts: enable sdmmc for rockchip rv1108 evb

Started byAndy Yan <andy.yan@rock-chips.com>
First post2017-07-20 12:20 +0200
Last post2017-07-22 22:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] ARM: dts: enable sdmmc for rockchip rv1108 evb Andy Yan <andy.yan@rock-chips.com> - 2017-07-20 12:20 +0200
    Re: [PATCH] ARM: dts: enable sdmmc for rockchip rv1108 evb Heiko Stuebner <heiko@sntech.de> - 2017-07-22 22:50 +0200

#1692731 — [PATCH] ARM: dts: enable sdmmc for rockchip rv1108 evb

FromAndy Yan <andy.yan@rock-chips.com>
Date2017-07-20 12:20 +0200
Subject[PATCH] ARM: dts: enable sdmmc for rockchip rv1108 evb
Message-ID<u5gIO-5VF-29@gated-at.bofh.it>
Enable sdmmc on rv1108 evaluation board. Also
add pinctrl for sdmmc controller.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
---

 arch/arm/boot/dts/rv1108-evb.dts | 4 ++++
 arch/arm/boot/dts/rv1108.dtsi    | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/rv1108-evb.dts b/arch/arm/boot/dts/rv1108-evb.dts
index 58cf4ac..58ee0fb 100644
--- a/arch/arm/boot/dts/rv1108-evb.dts
+++ b/arch/arm/boot/dts/rv1108-evb.dts
@@ -56,6 +56,10 @@
 	};
 };
 
+&sdmmc {
+	status = "okay";
+};
+
 &uart0 {
 	status = "okay";
 };
diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi
index 437098b..0da144c 100644
--- a/arch/arm/boot/dts/rv1108.dtsi
+++ b/arch/arm/boot/dts/rv1108.dtsi
@@ -202,6 +202,8 @@
 		clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
 			 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
 		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
+		pinctrl-names = "default";
+		pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
 		fifo-depth = <0x100>;
 		interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
 		reg = <0x30130000 0x4000>;
-- 
2.7.4

[toc] | [next] | [standalone]


#1694196

FromHeiko Stuebner <heiko@sntech.de>
Date2017-07-22 22:50 +0200
Message-ID<u69vB-6za-7@gated-at.bofh.it>
In reply to#1692731
Am Donnerstag, 20. Juli 2017, 18:13:41 CEST schrieb Andy Yan:
> Enable sdmmc on rv1108 evaluation board. Also
> add pinctrl for sdmmc controller.
> 
> Signed-off-by: Andy Yan <andy.yan@rock-chips.com>

applied for 4.14, after adapting the subject to
	ARM: dts: rockchip: enable sdmmc for rv1108 evb

and moving the pinctrl properties down some lines


Heiko

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web