All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: shmobile: henninger: add MSIOF0 DT support
@ 2014-05-06 20:47 ` Sergei Shtylyov
  0 siblings, 0 replies; 12+ messages in thread
From: Sergei Shtylyov @ 2014-05-06 20:47 UTC (permalink / raw)
  To: linux-arm-kernel

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.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

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

Index: renesas/arch/arm/boot/dts/r8a7791-henninger.dts
=================================--- renesas.orig/arch/arm/boot/dts/r8a7791-henninger.dts
+++ 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@0 {
+		compatible = "renesas,r2a11302ft";
+		reg = <0>;
+		spi-max-frequency = <6000000>;
+		spi-cpol;
+		spi-cpha;
+	};
+};

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

end of thread, other threads:[~2015-10-11 23:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-06 20:47 [PATCH] ARM: shmobile: henninger: add MSIOF0 DT support Sergei Shtylyov
2014-05-06 20:47 ` Sergei Shtylyov
2014-05-06 20:47 ` Sergei Shtylyov
2014-05-11  0:45 ` Simon Horman
2014-05-11  0:45   ` Simon Horman
2014-05-11  0:45   ` Simon Horman
2015-10-09 20:40 ` Sergei Shtylyov
2015-10-09 20:40   ` Sergei Shtylyov
2015-10-09 20:40   ` Sergei Shtylyov
2015-10-11 23:55   ` Simon Horman
2015-10-11 23:55     ` Simon Horman
2015-10-11 23:55     ` Simon Horman

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.