2018-11-25 21:16:08

by Otavio Salvador

[permalink] [raw]
Subject: [PATCH v2] ARM: dts: rv1108: enable eMMC support

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

Signed-off-by: Otavio Salvador <[email protected]>
---

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

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>;
--
2.19.1



2018-11-26 09:04:15

by Heiko Stuebner

[permalink] [raw]
Subject: Re: [PATCH v2] ARM: dts: rv1108: enable eMMC support

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 <[email protected]>

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



2018-11-26 12:01:34

by Otavio Salvador

[permalink] [raw]
Subject: Re: [PATCH v2] ARM: dts: rv1108: enable eMMC support

On Mon, Nov 26, 2018 at 7:03 AM Heiko Stuebner <[email protected]> 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 <[email protected]>
>
> 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.

--
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

2018-11-26 12:03:17

by Heiko Stuebner

[permalink] [raw]
Subject: Re: [PATCH v2] ARM: dts: rv1108: enable eMMC support

Am Montag, 26. November 2018, 12:58:49 CET schrieb Otavio Salvador:
> On Mon, Nov 26, 2018 at 7:03 AM Heiko Stuebner <[email protected]> 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 <[email protected]>
> >
> > 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