Skip to contentSkip to conversation

ARM: shmobile: henninger: add MSIOF0 DT support

PATCH New Sergei Shtylyov 2 participants 4 messages May 6, 2014 – Oct 11, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: shmobile: henninger: add MSIOF0 DT support

Define the Henninger board dependent part of the MSIOF0 device node. Add device node for Renesas R2A11302FT PMIC for which no bindings exist yet.

Based on the Koelsch MSIOF device tree patch by Geert Uytterhoeven.

---
This patch is against 'renesas-devel-v3.15-rc3-20140502' tag of Simon Horman's 'renesas.git' repo and SDHI0/2 and QSPI DT support patches posted recently.

 arch/arm/boot/dts/r8a7791-henninger.dts |   21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
arch/arm/boot/dts/r8a7791-henninger.dts +21 -0
Index: renesas/arch/arm/boot/dts/r8a7791-henninger.dts
===================================================================
@@ -114,6 +114,12 @@
 		renesas,groups = "qspi_ctrl", "qspi_data4";
 		renesas,function = "qspi";
 	};
+
+	msiof0_pins: spi1 {
+		renesas,groups = "msiof0_clk", "msiof0_sync", "msiof0_rx",
+				 "msiof0_tx";
+		renesas,function = "msiof0";
+	};
 };
 
 &scif0 {
@@ -195,3 +201,18 @@
 		};
 	};
 };
+
+&msiof0 {
+	pinctrl-0 = <&msiof0_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
+
+	pmic at 0 {
+		compatible = "renesas,r2a11302ft";
+		reg = <0>;
+		spi-max-frequency = <6000000>;
+		spi-cpol;
+		spi-cpha;
+	};
+};
#1 lore raw

PATCH 1/1 ARM: shmobile: henninger: add MSIOF0 DT support

Quoted 6 lines · Sergei Shtylyov

Define the Henninger board dependent part of the MSIOF0 device node. Add device node for Renesas R2A11302FT PMIC for which no bindings exist yet.

Based on the Koelsch MSIOF device tree patch by Geert Uytterhoeven.

Thanks, I have queued this up.

#2 lore raw

PATCH 1/1 ARM: shmobile: henninger: add MSIOF0 DT support

In reply to Sergei Shtylyov
Quoted 2 lines · Sergei Shtylyov

Define the Henninger board dependent part of the MSIOF0 device node. Add device node for Renesas R2A11302FT PMIC for which no bindings exist yet.

I've just realized that there's no such PMIC on the Henninger/Porter
boards and MSIOF0 is only connected to CN6, hence this patch was wrong. The .dts is going to be deleted anyway though...

Quoted 3 lines

Based on the Koelsch MSIOF device tree patch by Geert Uytterhoeven.

MBR, Sergei

#3 lore raw

PATCH 1/1 ARM: shmobile: henninger: add MSIOF0 DT support

Quoted 8 lines · Sergei Shtylyov
Quoted 2 lines · Sergei Shtylyov

Define the Henninger board dependent part of the MSIOF0 device node. Add device node for Renesas R2A11302FT PMIC for which no bindings exist yet.

I've just realized that there's no such PMIC on the Henninger/Porter
boards and MSIOF0 is only connected to CN6, hence this patch was wrong. The .dts is going to be deleted anyway though...

Feel free to send an incremental update to the henninger if you want to clean this up before removing the file entirely.

Quoted 6 lines
Quoted 3 lines

Based on the Koelsch MSIOF device tree patch by Geert Uytterhoeven.

MBR, Sergei