Skip to contentSkip to conversation

ARM: dts: rv1108: enable eMMC support

PATCH In review Otavio Salvador 3 participants 4 messages Nov 25, 2018 – Nov 26, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: dts: rv1108: enable eMMC support

Enable eMMC support for rv1108.dtsi as it can be used across multiple boards.

---

Changes in v2:
- rework evb device tree (Heiko Stuebner)
- avoid adding the evb use as it is not present on evb but minievb (which I don't have to test) and we are using it on a custom customer board.

 arch/arm/boot/dts/rv1108.dtsi | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
arch/arm/boot/dts/rv1108.dtsi +21 -0
index ed8f6ca52c5b..4f4275599f7a 100644
@@ -734,6 +734,27 @@
 			};
 		};
 
+		emmc {
+			emmc_clk: emmc-clk {
+				rockchip,pins = <2 RK_PB6 RK_FUNC_1 &pcfg_pull_none_drv_8ma>;
+			};
+
+			emmc_cmd: emmc-cmd {
+				rockchip,pins = <2 RK_PB4 RK_FUNC_2 &pcfg_pull_up_drv_8ma>;
+			};
+
+			emmc_bus8: emmc-bus8 {
+				rockchip,pins = <2 RK_PA0 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,
+						<2 RK_PA1 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,
+						<2 RK_PA2 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,
+						<2 RK_PA3 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,
+						<2 RK_PA4 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,
+						<2 RK_PA5 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,
+						<2 RK_PA6 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,
+						<2 RK_PA7 RK_FUNC_2 &pcfg_pull_up_drv_8ma>;
+			};
+		};
+
 		sdmmc {
 			sdmmc_clk: sdmmc-clk {
 				rockchip,pins = <3 RK_PC4 RK_FUNC_1 &pcfg_pull_none_drv_4ma>;
Signature · 1 line
2.19.1
maintainer
#1 lore raw

Am Sonntag, 25. November 2018, 22:14:27 CET schrieb Otavio Salvador:

Quoted 4 lines

Enable eMMC support for rv1108.dtsi as it can be used across multiple boards.

applied for 4.21 after reordering the emmc pinctrl nodes a bit and modifying the suject + commit message to be a bit more specific in that we only add the common pin settings.

Heiko

#2 lore raw
Quoted 9 lines · Heiko Stuebner

Am Sonntag, 25. November 2018, 22:14:27 CET schrieb Otavio Salvador:

Quoted 4 lines

Enable eMMC support for rv1108.dtsi as it can be used across multiple boards.

applied for 4.21 after reordering the emmc pinctrl nodes a bit and modifying the suject + commit message to be a bit more specific in that we only add the common pin settings.

Which tree is it applied? I'd like to rebase the patches on top of it.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750
maintainer
#3 lore raw

Am Montag, 26. November 2018, 12:58:49 CET schrieb Otavio Salvador:

Quoted 5 lines · Heiko Stuebner
Quoted 4 lines

Am Sonntag, 25. November 2018, 22:14:27 CET schrieb Otavio Salvador:

Quoted 3 lines

Enable eMMC support for rv1108.dtsi as it can be used across multiple boards.

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

applied for 4.21 after reordering the emmc pinctrl nodes a bit and modifying the suject + commit message to be a bit more specific in that we only add the common pin settings.

Which tree is it applied? I'd like to rebase the patches on top of it.

https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git/

and now also pushed to there.

Heiko