forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
3d5e80125a
commit
c8581984ff
|
@ -149,12 +149,13 @@ i2c@0x1d000 {
|
||||||
interrupts = <14>;
|
interrupts = <14>;
|
||||||
};
|
};
|
||||||
|
|
||||||
i2c@0x1e000 {
|
i2s: i2s@1e000 {
|
||||||
compatible = "snps,designware-i2c";
|
compatible = "snps,designware-i2s";
|
||||||
reg = <0x1e000 0x100>;
|
reg = <0x1e000 0x100>;
|
||||||
clock-frequency = <400000>;
|
clocks = <&i2sclk 0>;
|
||||||
clocks = <&i2cclk>;
|
clock-names = "i2sclk";
|
||||||
interrupts = <15>;
|
interrupts = <15>;
|
||||||
|
#sound-dai-cells = <0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
i2c@0x1f000 {
|
i2c@0x1f000 {
|
||||||
|
@ -174,6 +175,7 @@ adv7511:adv7511@39{
|
||||||
adi,input-colorspace = "rgb";
|
adi,input-colorspace = "rgb";
|
||||||
adi,input-clock = "1x";
|
adi,input-clock = "1x";
|
||||||
adi,clock-delay = <0x03>;
|
adi,clock-delay = <0x03>;
|
||||||
|
#sound-dai-cells = <0>;
|
||||||
|
|
||||||
ports {
|
ports {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
@ -295,5 +297,17 @@ pgu_output: endpoint {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sound_playback {
|
||||||
|
compatible = "simple-audio-card";
|
||||||
|
simple-audio-card,name = "AXS10x HDMI Audio";
|
||||||
|
simple-audio-card,format = "i2s";
|
||||||
|
simple-audio-card,cpu {
|
||||||
|
sound-dai = <&i2s>;
|
||||||
|
};
|
||||||
|
simple-audio-card,codec {
|
||||||
|
sound-dai = <&adv7511>;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user