aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Abreu2017-02-22 12:19:34 -0600
committerVineet Gupta2017-04-27 14:08:22 -0500
commitc8581984ffd917736ab3630c0f07bb5b218411e3 (patch)
tree28171b2b7a5d7ae79146810116bc36598b3eb4c6
parent3d5e80125a6e5649c6bdad8d5780e39ea422c67d (diff)
downloadkernel-c8581984ffd917736ab3630c0f07bb5b218411e3.tar.gz
kernel-c8581984ffd917736ab3630c0f07bb5b218411e3.tar.xz
kernel-c8581984ffd917736ab3630c0f07bb5b218411e3.zip
arc: axs10x: Add DT bindings for I2S audio playback
This patch adds the necessary DT bindings to get HDMI audio output in ARC AXS10x SDP. The bindings for I2S controller were added as well as the bindings for simple audio card. Signed-off-by: Jose Abreu <joabreu@synopsys.com> Cc: Carlos Palminha <palminha@synopsys.com> Cc: Alexey Brodkin <abrodkin@synopsys.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: Vineet Gupta <vgupta@synopsys.com> Cc: devicetree@vger.kernel.org Cc: linux-snps-arc@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
-rw-r--r--arch/arc/boot/dts/axs10x_mb.dtsi22
1 files changed, 18 insertions, 4 deletions
diff --git a/arch/arc/boot/dts/axs10x_mb.dtsi b/arch/arc/boot/dts/axs10x_mb.dtsi
index d6c1bbc98ac3..9d882b1a3e1c 100644
--- a/arch/arc/boot/dts/axs10x_mb.dtsi
+++ b/arch/arc/boot/dts/axs10x_mb.dtsi
@@ -149,12 +149,13 @@
149 interrupts = <14>; 149 interrupts = <14>;
150 }; 150 };
151 151
152 i2c@0x1e000 { 152 i2s: i2s@1e000 {
153 compatible = "snps,designware-i2c"; 153 compatible = "snps,designware-i2s";
154 reg = <0x1e000 0x100>; 154 reg = <0x1e000 0x100>;
155 clock-frequency = <400000>; 155 clocks = <&i2sclk 0>;
156 clocks = <&i2cclk>; 156 clock-names = "i2sclk";
157 interrupts = <15>; 157 interrupts = <15>;
158 #sound-dai-cells = <0>;
158 }; 159 };
159 160
160 i2c@0x1f000 { 161 i2c@0x1f000 {
@@ -174,6 +175,7 @@
174 adi,input-colorspace = "rgb"; 175 adi,input-colorspace = "rgb";
175 adi,input-clock = "1x"; 176 adi,input-clock = "1x";
176 adi,clock-delay = <0x03>; 177 adi,clock-delay = <0x03>;
178 #sound-dai-cells = <0>;
177 179
178 ports { 180 ports {
179 #address-cells = <1>; 181 #address-cells = <1>;
@@ -295,5 +297,17 @@
295 }; 297 };
296 }; 298 };
297 }; 299 };
300
301 sound_playback {
302 compatible = "simple-audio-card";
303 simple-audio-card,name = "AXS10x HDMI Audio";
304 simple-audio-card,format = "i2s";
305 simple-audio-card,cpu {
306 sound-dai = <&i2s>;
307 };
308 simple-audio-card,codec {
309 sound-dai = <&adv7511>;
310 };
311 };
298 }; 312 };
299}; 313};