Thread (18 messages) 18 messages, 4 authors, 2013-10-08

[PATCH 2/2] ARM: Dove: Add the audio device to the Cubox DT

From: sebastian.hesselbarth@gmail.com (Sebastian Hesselbarth)
Date: 2013-08-28 10:15:05
Also in: linux-devicetree, lkml

On 08/28/2013 11:35 AM, Jean-Francois Moine wrote:
quoted hunk ↗ jump to hunk
This patch activates the audio device of the Cubox and sets the i2s
and S/PDIF pins.

Signed-off-by: Jean-Francois Moine <redacted>
---
  arch/arm/boot/dts/dove-cubox.dts                  | 13 +++++++++++++
  1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/dove-cubox.dts b/arch/arm/boot/dts/dove-cubox.dts
index 4af59b6..003d95b 100644
--- a/arch/arm/boot/dts/dove-cubox.dts
+++ b/arch/arm/boot/dts/dove-cubox.dts
@@ -132,3 +132,16 @@
  		reg = <0>;
  	};
  };
+
+&pinctrl {
+	pmx_audio1_i2s1_spdifo: pmx-audio1-i2s1-spdifo {
+		marvell,pins = "mpp_audio1";
+		marvell,function = "i2s1/spdifo";
+	};
+};
+
+&i2s1 {
+	status = "okay";
+	pinctrl-0 = <&pmx_audio1_i2s1_spdifo>;
+	pinctrl-names = "default";
+};
Please also add the external clock connected from si5351.

Sebastian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help