devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6] ARM: shmobile: genmai reference dts: Add RSPI node
@ 2014-07-03 12:02 Geert Uytterhoeven
  2014-07-06 14:30 ` Simon Horman
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2014-07-03 12:02 UTC (permalink / raw)
  To: Simon Horman, Magnus Damm; +Cc: linux-sh, devicetree, Geert Uytterhoeven

Add SPI device for RSPI on Genmai.

On this board, only rspi4 is in use. Its bus contains a single device
(a wm8978 audio codec), for which no bindings are defined yet.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v6:
  - Rebased on top of renesas-devel-v3.16-rc3-20140701,
  - Dropped pinctrl settings, as the pinctrl driver is not yet integrated.
v5:
  - Rebased on top of renesas-devel-v3.14-rc1-20140204
v4:
  - No changes
v3:
  - No changes
v2:
  - Use generic "codec" instead of specific "wm8978" node name.
---
 arch/arm/boot/dts/r7s72100-genmai.dts |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts b/arch/arm/boot/dts/r7s72100-genmai.dts
index 56849b55e1c2..20705467f4c9 100644
--- a/arch/arm/boot/dts/r7s72100-genmai.dts
+++ b/arch/arm/boot/dts/r7s72100-genmai.dts
@@ -57,3 +57,13 @@
 &scif2 {
 	status = "okay";
 };
+
+&spi4 {
+	status = "okay";
+
+	codec: codec@0 {
+		compatible = "wlf,wm8978";
+		reg = <0>;
+		spi-max-frequency = <5000000>;
+	};
+};
-- 
1.7.9.5


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

end of thread, other threads:[~2014-07-06 14:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-03 12:02 [PATCH v6] ARM: shmobile: genmai reference dts: Add RSPI node Geert Uytterhoeven
2014-07-06 14:30 ` Simon Horman

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).