Merge pull request #908 from nitroshift/master

MIQI-DTS-enable-sound-node
This commit is contained in:
Igor Pečovnik 2018-03-14 12:23:32 +01:00 committed by GitHub
commit 57429a7456
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,30 @@
diff --git a/arch/arm/boot/dts/rk3288-miqi.dts b/arch/arm/boot/dts/rk3288-miqi.dts
index dd785c7..5824ee7 100644
--- a/arch/arm/boot/dts/rk3288-miqi.dts
+++ b/arch/arm/boot/dts/rk3288-miqi.dts
@@ -57,6 +57,23 @@
reg = <0x0 0x0 0x0 0x80000000>;
};
+ sound {
+ compatible = "simple-audio-card";
+ simple-audio-card,format = "i2s";
+ simple-audio-card,name = "DW-HDMI";
+ simple-audio-card,mclk-fs = <512>;
+
+ simple-audio-card,dai-link@0 { /* I2S - S/PDIF */
+ format = "i2s";
+ cpu {
+ sound-dai = <&i2s>;
+ };
+ codec {
+ sound-dai = <&hdmi>;
+ };
+ };
+ };
+
ext_gmac: external-gmac-clock {
compatible = "fixed-clock";
#clock-cells = <0>;
--
2.14.1