All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] v3u: add support for SDHI
@ 2021-01-25  7:58 Wolfram Sang
  2021-01-25  7:58 ` [PATCH v3 1/2] arm64: dts: renesas: r8a779a0: Add MMC node Wolfram Sang
  2021-01-25  7:58 ` [PATCH v3 2/2] arm64: dts: renesas: falcon: Enable MMC Wolfram Sang
  0 siblings, 2 replies; 6+ messages in thread
From: Wolfram Sang @ 2021-01-25  7:58 UTC (permalink / raw)
  To: linux-renesas-soc; +Cc: Wolfram Sang

Here is the updated series to enable SDHI on V3U. I just updated the
tags, especially the SoB from Saito-san. Because there are no code
changes, I also decided to not update the v3u/devel-v2 branch.

Takeshi Saito (2):
  arm64: dts: renesas: r8a779a0: Add MMC node
  arm64: dts: renesas: falcon: Enable MMC

 .../boot/dts/renesas/r8a779a0-falcon-cpu.dtsi | 41 +++++++++++++++++++
 arch/arm64/boot/dts/renesas/r8a779a0.dtsi     | 12 ++++++
 2 files changed, 53 insertions(+)

-- 
2.28.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v3 1/2] arm64: dts: renesas: r8a779a0: Add MMC node
  2021-01-25  7:58 [PATCH v3 0/2] v3u: add support for SDHI Wolfram Sang
@ 2021-01-25  7:58 ` Wolfram Sang
  2021-01-25  8:42   ` Geert Uytterhoeven
  2021-01-25  7:58 ` [PATCH v3 2/2] arm64: dts: renesas: falcon: Enable MMC Wolfram Sang
  1 sibling, 1 reply; 6+ messages in thread
From: Wolfram Sang @ 2021-01-25  7:58 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Takeshi Saito, Koji Matsuoka, Geert Uytterhoeven, Wolfram Sang

From: Takeshi Saito <takeshi.saito.xv@renesas.com>

Add a device node for MMC.

Signed-off-by: Takeshi Saito <takeshi.saito.xv@renesas.com>
Signed-off-by: Koji Matsuoka <koji.matsuoka.xm@renesas.com>
[wsa: double checked & rebased]
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---

Changes since v2: added tags

 arch/arm64/boot/dts/renesas/r8a779a0.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi
index 4671a5840ae1..45b4ea1965d4 100644
--- a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi
@@ -816,6 +816,18 @@ dmac2: dma-controller@e7351000 {
 			dma-channels = <8>;
 		};
 
+		mmc0: mmc@ee140000 {
+			compatible = "renesas,sdhi-r8a779a0",
+				     "renesas,rcar-gen3-sdhi";
+			reg = <0 0xee140000 0 0x2000>;
+			interrupts = <GIC_SPI 236 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 706>;
+			power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>;
+			resets = <&cpg 706>;
+			max-frequency = <200000000>;
+			status = "disabled";
+		};
+
 		gic: interrupt-controller@f1000000 {
 			compatible = "arm,gic-v3";
 			#interrupt-cells = <3>;
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v3 2/2] arm64: dts: renesas: falcon: Enable MMC
  2021-01-25  7:58 [PATCH v3 0/2] v3u: add support for SDHI Wolfram Sang
  2021-01-25  7:58 ` [PATCH v3 1/2] arm64: dts: renesas: r8a779a0: Add MMC node Wolfram Sang
@ 2021-01-25  7:58 ` Wolfram Sang
  2021-01-25  8:43   ` Geert Uytterhoeven
  1 sibling, 1 reply; 6+ messages in thread
From: Wolfram Sang @ 2021-01-25  7:58 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Takeshi Saito, Koji Matsuoka, Geert Uytterhoeven, Wolfram Sang

From: Takeshi Saito <takeshi.saito.xv@renesas.com>

Enable MMC on the Falcon board.

Signed-off-by: Takeshi Saito <takeshi.saito.xv@renesas.com>
Signed-off-by: Koji Matsuoka <koji.matsuoka.xm@renesas.com>
[wsa: double checked, rebased, slightly improved, moved to falcon-cpu]
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---

Changes since v2: added tags

 .../boot/dts/renesas/r8a779a0-falcon-cpu.dtsi | 41 +++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a779a0-falcon-cpu.dtsi b/arch/arm64/boot/dts/renesas/r8a779a0-falcon-cpu.dtsi
index 0059381443f6..c54d1e287a49 100644
--- a/arch/arm64/boot/dts/renesas/r8a779a0-falcon-cpu.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779a0-falcon-cpu.dtsi
@@ -32,6 +32,24 @@ memory@700000000 {
 		device_type = "memory";
 		reg = <0x7 0x00000000 0x0 0x80000000>;
 	};
+
+	reg_1p8v: regulator-1p8v {
+		compatible = "regulator-fixed";
+		regulator-name = "fixed-1.8V";
+		regulator-min-microvolt = <1800000>;
+		regulator-max-microvolt = <1800000>;
+		regulator-boot-on;
+		regulator-always-on;
+	};
+
+	reg_3p3v: regulator-3p3v {
+		compatible = "regulator-fixed";
+		regulator-name = "fixed-3.3V";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		regulator-boot-on;
+		regulator-always-on;
+	};
 };
 
 &avb0 {
@@ -189,6 +207,23 @@ &i2c6 {
 	clock-frequency = <400000>;
 };
 
+&mmc0 {
+	pinctrl-0 = <&mmc_pins>;
+	pinctrl-1 = <&mmc_pins>;
+	pinctrl-names = "default", "state_uhs";
+
+	vmmc-supply = <&reg_3p3v>;
+	vqmmc-supply = <&reg_1p8v>;
+	mmc-hs200-1_8v;
+	mmc-hs400-1_8v;
+	bus-width = <8>;
+	no-sd;
+	no-sdio;
+	non-removable;
+	full-pwr-cycle-in-suspend;
+	status = "okay";
+};
+
 &pfc {
 	avb0_pins: avb0 {
 		mux {
@@ -327,6 +362,12 @@ i2c6_pins: i2c6 {
 		groups = "i2c6";
 		function = "i2c6";
 	};
+
+	mmc_pins: mmc {
+		groups = "mmc_data8", "mmc_ctrl", "mmc_ds";
+		function = "mmc";
+		power-source = <1800>;
+	};
 };
 
 &scif0 {
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v3 1/2] arm64: dts: renesas: r8a779a0: Add MMC node
  2021-01-25  7:58 ` [PATCH v3 1/2] arm64: dts: renesas: r8a779a0: Add MMC node Wolfram Sang
@ 2021-01-25  8:42   ` Geert Uytterhoeven
  0 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2021-01-25  8:42 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Linux-Renesas, Takeshi Saito, Koji Matsuoka, Geert Uytterhoeven

On Mon, Jan 25, 2021 at 8:58 AM Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> From: Takeshi Saito <takeshi.saito.xv@renesas.com>
>
> Add a device node for MMC.
>
> Signed-off-by: Takeshi Saito <takeshi.saito.xv@renesas.com>
> Signed-off-by: Koji Matsuoka <koji.matsuoka.xm@renesas.com>
> [wsa: double checked & rebased]
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> ---
>
> Changes since v2: added tags

Thx, will queue in renesas-devel for v5.12.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v3 2/2] arm64: dts: renesas: falcon: Enable MMC
  2021-01-25  7:58 ` [PATCH v3 2/2] arm64: dts: renesas: falcon: Enable MMC Wolfram Sang
@ 2021-01-25  8:43   ` Geert Uytterhoeven
  2021-01-25  8:53     ` Wolfram Sang
  0 siblings, 1 reply; 6+ messages in thread
From: Geert Uytterhoeven @ 2021-01-25  8:43 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Linux-Renesas, Takeshi Saito, Koji Matsuoka,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS

On Mon, Jan 25, 2021 at 8:58 AM Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> From: Takeshi Saito <takeshi.saito.xv@renesas.com>
>
> Enable MMC on the Falcon board.
>
> Signed-off-by: Takeshi Saito <takeshi.saito.xv@renesas.com>
> Signed-off-by: Koji Matsuoka <koji.matsuoka.xm@renesas.com>
> [wsa: double checked, rebased, slightly improved, moved to falcon-cpu]
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> ---
>
> Changes since v2: added tags

Thx, will queue in renesas-devel for v5.12.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v3 2/2] arm64: dts: renesas: falcon: Enable MMC
  2021-01-25  8:43   ` Geert Uytterhoeven
@ 2021-01-25  8:53     ` Wolfram Sang
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfram Sang @ 2021-01-25  8:53 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Linux-Renesas, Takeshi Saito, Koji Matsuoka,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS

[-- Attachment #1: Type: text/plain, Size: 130 bytes --]


> Thx, will queue in renesas-devel for v5.12.

Yay, glad it will also make it into 5.12! That will be a nice release
for V3U :)


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-01-26 21:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-25  7:58 [PATCH v3 0/2] v3u: add support for SDHI Wolfram Sang
2021-01-25  7:58 ` [PATCH v3 1/2] arm64: dts: renesas: r8a779a0: Add MMC node Wolfram Sang
2021-01-25  8:42   ` Geert Uytterhoeven
2021-01-25  7:58 ` [PATCH v3 2/2] arm64: dts: renesas: falcon: Enable MMC Wolfram Sang
2021-01-25  8:43   ` Geert Uytterhoeven
2021-01-25  8:53     ` Wolfram Sang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.