* [PATCH v2] ARM: dts: rv1108: enable eMMC support
@ 2018-11-25 21:14 Otavio Salvador
2018-11-26 9:03 ` Heiko Stuebner
0 siblings, 1 reply; 4+ messages in thread
From: Otavio Salvador @ 2018-11-25 21:14 UTC (permalink / raw)
To: linux-kernel, linux-arm-kernel, linux-rockchip
Cc: Otavio Salvador, devicetree, Heiko Stuebner, Rob Herring,
Mark Rutland
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(+)
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2] ARM: dts: rv1108: enable eMMC support
2018-11-25 21:14 [PATCH v2] ARM: dts: rv1108: enable eMMC support Otavio Salvador
@ 2018-11-26 9:03 ` Heiko Stuebner
2018-11-26 11:58 ` Otavio Salvador
0 siblings, 1 reply; 4+ messages in thread
From: Heiko Stuebner @ 2018-11-26 9:03 UTC (permalink / raw)
To: Otavio Salvador
Cc: linux-kernel, linux-arm-kernel, linux-rockchip, devicetree,
Rob Herring, Mark Rutland
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] ARM: dts: rv1108: enable eMMC support
2018-11-26 9:03 ` Heiko Stuebner
@ 2018-11-26 11:58 ` Otavio Salvador
2018-11-26 12:01 ` Heiko Stuebner
0 siblings, 1 reply; 4+ messages in thread
From: Otavio Salvador @ 2018-11-26 11:58 UTC (permalink / raw)
To: Heiko Stuebner
Cc: Otavio Salvador, Mark Rutland, devicetree,
Kernel development list, linux-rockchip, Rob Herring,
linux-arm-kernel
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.
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] ARM: dts: rv1108: enable eMMC support
2018-11-26 11:58 ` Otavio Salvador
@ 2018-11-26 12:01 ` Heiko Stuebner
0 siblings, 0 replies; 4+ messages in thread
From: Heiko Stuebner @ 2018-11-26 12:01 UTC (permalink / raw)
To: Otavio Salvador
Cc: Otavio Salvador, Mark Rutland, devicetree,
Kernel development list, linux-rockchip, Rob Herring,
linux-arm-kernel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-11-26 12:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-25 21:14 [PATCH v2] ARM: dts: rv1108: enable eMMC support Otavio Salvador
2018-11-26 9:03 ` Heiko Stuebner
2018-11-26 11:58 ` Otavio Salvador
2018-11-26 12:01 ` Heiko Stuebner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).