* [PATCH v2 0/2] Add R8A7794/SILK board eMMC DT support
@ 2015-07-30 21:52 Sergei Shtylyov
2015-07-30 21:54 ` [PATCH v2 1/2] ARM: shmobile: r8a7794: add MMCIF " Sergei Shtylyov
2015-07-30 21:55 ` [PATCH v2 2/2] ARM: shmobile: silk: add eMMC " Sergei Shtylyov
0 siblings, 2 replies; 4+ messages in thread
From: Sergei Shtylyov @ 2015-07-30 21:52 UTC (permalink / raw)
To: linux-arm-kernel
Hello.
Here's the set of 2 patches against Simon Horman's 'renesas.git' repo,
'renesas-devel-20150730-v4.2-rc4' tag. Here we add the eMMC device tree support
for the R8A7794-based SILK board.
[1/2] ARM: shmobile: r8a7794: add MMCIF DT support
[2/2] ARM: shmobile: silk: add eMMC DT support
WBR, Sergei
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 1/2] ARM: shmobile: r8a7794: add MMCIF DT support
2015-07-30 21:52 [PATCH v2 0/2] Add R8A7794/SILK board eMMC DT support Sergei Shtylyov
@ 2015-07-30 21:54 ` Sergei Shtylyov
2015-08-03 0:53 ` Simon Horman
2015-07-30 21:55 ` [PATCH v2 2/2] ARM: shmobile: silk: add eMMC " Sergei Shtylyov
1 sibling, 1 reply; 4+ messages in thread
From: Sergei Shtylyov @ 2015-07-30 21:54 UTC (permalink / raw)
To: linux-arm-kernel
Define the generic R8A7794 part of the MMCIF0 device node.
Based on the orginal patch by Shinobu Uehara <shinobu.uehara.xc@renesas.com>.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
Changes in version 2:
- updated the patch due to the SDHI patch being accepted first;
- refreshed the patch.
arch/arm/boot/dts/r8a7794.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7794.dtsi
=================================--- renesas.orig/arch/arm/boot/dts/r8a7794.dtsi
+++ renesas/arch/arm/boot/dts/r8a7794.dtsi
@@ -383,6 +383,17 @@
status = "disabled";
};
+ mmcif0: mmc@ee200000 {
+ compatible = "renesas,mmcif-r8a7794", "renesas,sh-mmcif";
+ reg = <0 0xee200000 0 0x80>;
+ interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp3_clks R8A7794_CLK_MMCIF0>;
+ dmas = <&dmac0 0xd1>, <&dmac0 0xd2>;
+ dma-names = "tx", "rx";
+ reg-io-width = <4>;
+ status = "disabled";
+ };
+
sdhi0: sd@ee100000 {
compatible = "renesas,sdhi-r8a7794";
reg = <0 0xee100000 0 0x200>;
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 2/2] ARM: shmobile: silk: add eMMC DT support
2015-07-30 21:52 [PATCH v2 0/2] Add R8A7794/SILK board eMMC DT support Sergei Shtylyov
2015-07-30 21:54 ` [PATCH v2 1/2] ARM: shmobile: r8a7794: add MMCIF " Sergei Shtylyov
@ 2015-07-30 21:55 ` Sergei Shtylyov
1 sibling, 0 replies; 4+ messages in thread
From: Sergei Shtylyov @ 2015-07-30 21:55 UTC (permalink / raw)
To: linux-arm-kernel
Define the SILK board dependent part of the MMCIF device node (the board has
eMMC chip) along with the necessary voltage regulator (note that the Vcc/Vccq
regulator is dummy -- it's required by the MMCIF driver but doesn't actually
exist on the board).
Based on the original patch by Vladimir Barinov
<vladimir.barinov@cogentembedded.com>.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
arch/arm/boot/dts/r8a7794-silk.dts | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7794-silk.dts
=================================--- renesas.orig/arch/arm/boot/dts/r8a7794-silk.dts
+++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
@@ -30,6 +30,15 @@
device_type = "memory";
reg = <0 0x40000000 0 0x40000000>;
};
+
+ d3_3v: regulator@0 {
+ compatible = "regulator-fixed";
+ regulator-name = "D3.3V";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-boot-on;
+ regulator-always-on;
+ };
};
&extal_clk {
@@ -51,6 +60,11 @@
renesas,groups = "intc_irq8";
renesas,function = "intc";
};
+
+ mmcif0_pins: mmcif0 {
+ renesas,groups = "mmc_data8", "mmc_ctrl";
+ renesas,function = "mmc";
+ };
};
&scif2 {
@@ -75,3 +89,14 @@
micrel,led-mode = <1>;
};
};
+
+&mmcif0 {
+ pinctrl-0 = <&mmcif0_pins>;
+ pinctrl-names = "default";
+
+ vmmc-supply = <&d3_3v>;
+ vqmmc-supply = <&d3_3v>;
+ bus-width = <8>;
+ non-removable;
+ status = "okay";
+};
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2 1/2] ARM: shmobile: r8a7794: add MMCIF DT support
2015-07-30 21:54 ` [PATCH v2 1/2] ARM: shmobile: r8a7794: add MMCIF " Sergei Shtylyov
@ 2015-08-03 0:53 ` Simon Horman
0 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2015-08-03 0:53 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Jul 31, 2015 at 12:54:05AM +0300, Sergei Shtylyov wrote:
> Define the generic R8A7794 part of the MMCIF0 device node.
>
> Based on the orginal patch by Shinobu Uehara <shinobu.uehara.xc@renesas.com>.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
> ---
> Changes in version 2:
> - updated the patch due to the SDHI patch being accepted first;
> - refreshed the patch.
Thanks, I have queued-up this and the following patch.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-08-03 0:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-30 21:52 [PATCH v2 0/2] Add R8A7794/SILK board eMMC DT support Sergei Shtylyov
2015-07-30 21:54 ` [PATCH v2 1/2] ARM: shmobile: r8a7794: add MMCIF " Sergei Shtylyov
2015-08-03 0:53 ` Simon Horman
2015-07-30 21:55 ` [PATCH v2 2/2] ARM: shmobile: silk: add eMMC " Sergei Shtylyov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox