Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1516159

[PATCH 3/3] ARM: gr8: evb: Add i2s codec

From Maxime Ripard <maxime.ripard@free-electrons.com>
Newsgroups linux.kernel
Subject [PATCH 3/3] ARM: gr8: evb: Add i2s codec
Date 2016-11-07 14:20 +0100
Message-ID <sAS0b-3Aq-73@gated-at.bofh.it> (permalink)
References <sARQu-3wK-55@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The GR8-EVB comes with a wm8978 codec connected to the i2s bus.

Add a card in order to have it working

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/arm/boot/dts/ntc-gr8-evb.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/ntc-gr8-evb.dts b/arch/arm/boot/dts/ntc-gr8-evb.dts
index 12b4317a4383..5291e425caf9 100644
--- a/arch/arm/boot/dts/ntc-gr8-evb.dts
+++ b/arch/arm/boot/dts/ntc-gr8-evb.dts
@@ -76,6 +76,20 @@
 		default-brightness-level = <8>;
 	};
 
+	i2s {
+		compatible = "simple-audio-card";
+		simple-audio-card,name = "gr8-evb-wm8978";
+		simple-audio-card,format = "i2s";
+		simple-audio-card,mclk-fs = <512>;
+
+		simple-audio-card,cpu {
+			sound-dai = <&i2s0>;
+		};
+
+		simple-audio-card,codec {
+			sound-dai = <&wm8978>;
+		};
+	};
 
 	panel {
 		compatible = "allwinner,sun4i-a10-sub-evb-5-lcd";
-- 
git-series 0.8.11

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] ARM: gr8: evb: Enable the i2s codec Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-11-07 14:10 +0100
  [PATCH 2/3] ASoC: wm8978: Adjust clock indices so that simple card works Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-11-07 14:10 +0100
    Applied "ASoC: wm8978: Adjust clock indices so that simple card works" to the asoc tree Mark Brown <broonie@kernel.org> - 2016-11-09 16:10 +0100
  [PATCH 3/3] ARM: gr8: evb: Add i2s codec Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-11-07 14:20 +0100
    Re: [PATCH 3/3] ARM: gr8: evb: Add i2s codec Chen-Yu Tsai <wens@csie.org> - 2016-11-07 15:20 +0100
      Re: [PATCH 3/3] ARM: gr8: evb: Add i2s codec Chen-Yu Tsai <wens@csie.org> - 2016-11-08 09:00 +0100
        Re: [PATCH 3/3] ARM: gr8: evb: Add i2s codec Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-11-08 21:40 +0100
        Re: [PATCH 3/3] ARM: gr8: evb: Add i2s codec Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-11-10 12:00 +0100
      Re: [PATCH 3/3] ARM: gr8: evb: Add i2s codec Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-11-08 09:00 +0100

csiph-web