From b5d066aba887ebd5963da588d0229d356f1ae79a Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 14 Mar 2018 12:49:45 +0200 Subject: [PATCH] MIQI-DTS-enable-sound-node --- ...027-ARM-DTS-rk3288-miqi-enable-sound.patch | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 patch/kernel/rockchip-dev/2027-ARM-DTS-rk3288-miqi-enable-sound.patch diff --git a/patch/kernel/rockchip-dev/2027-ARM-DTS-rk3288-miqi-enable-sound.patch b/patch/kernel/rockchip-dev/2027-ARM-DTS-rk3288-miqi-enable-sound.patch new file mode 100644 index 0000000000..3f728abdd2 --- /dev/null +++ b/patch/kernel/rockchip-dev/2027-ARM-DTS-rk3288-miqi-enable-sound.patch @@ -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