diff mbox series

[v2] ARM: dts: rv1108: enable eMMC support

Message ID 20181125211427.4926-1-otavio@ossystems.com.br (mailing list archive)
State New, archived
Headers show
Series [v2] ARM: dts: rv1108: enable eMMC support | expand

Commit Message

Otavio Salvador Nov. 25, 2018, 9:14 p.m. UTC
Enable eMMC support for rv1108.dtsi as it can be used across multiple
boards.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

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(+)

Comments

Heiko Stübner Nov. 26, 2018, 9:03 a.m. UTC | #1
Am Sonntag, 25. November 2018, 22:14:27 CET schrieb Otavio Salvador:
> Enable eMMC support for rv1108.dtsi as it can be used across multiple
> boards.
> 
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

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
Otavio Salvador Nov. 26, 2018, 11:58 a.m. UTC | #2
On Mon, Nov 26, 2018 at 7:03 AM Heiko Stuebner <heiko@sntech.de> wrote:
> Am Sonntag, 25. November 2018, 22:14:27 CET schrieb Otavio Salvador:
> > Enable eMMC support for rv1108.dtsi as it can be used across multiple
> > boards.
> >
> > Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>
> 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.
Heiko Stübner Nov. 26, 2018, 12:01 p.m. UTC | #3
Am Montag, 26. November 2018, 12:58:49 CET schrieb Otavio Salvador:
> On Mon, Nov 26, 2018 at 7:03 AM Heiko Stuebner <heiko@sntech.de> wrote:
> > Am Sonntag, 25. November 2018, 22:14:27 CET schrieb Otavio Salvador:
> > > Enable eMMC support for rv1108.dtsi as it can be used across multiple
> > > boards.
> > >
> > > Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> >
> > 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
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi
index ed8f6ca52c5b..4f4275599f7a 100644
--- a/arch/arm/boot/dts/rv1108.dtsi
+++ b/arch/arm/boot/dts/rv1108.dtsi
@@ -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>;