arm64: dts: apq8016-sbc: add support to hdmi audio via adv7533
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Wed, 4 Jan 2017 13:34:58 +0000 (13:34 +0000)
committerAndy Gross <andy.gross@linaro.org>
Fri, 13 Jan 2017 19:17:28 +0000 (13:17 -0600)
This patch adds support to hdmi audio via adv7533.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tested-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi

index 716d3ccbc309d1518ca183229bcfea6eaa7f8e46..6507ebacb65eaaa190168e9f706dc2a98b8bbe70 100644 (file)
@@ -85,6 +85,7 @@
                                pinctrl-names = "default","sleep";
                                pinctrl-0 = <&adv7533_int_active &adv7533_switch_active>;
                                pinctrl-1 = <&adv7533_int_suspend &adv7533_switch_suspend>;
+                               #sound-dai-cells = <1>;
 
                                ports {
                                        #address-cells = <1>;
                         qcom,audio-routing =
                                 "AMIC2", "MIC BIAS Internal2",
                                 "AMIC3", "MIC BIAS External1";
+                       external-dai-link@0 {
+                               link-name = "ADV7533";
+                               cpu { /* QUAT */
+                                       sound-dai = <&lpass MI2S_QUATERNARY>;
+                               };
+                               codec {
+                                       sound-dai = <&adv_bridge 0>;
+                               };
+                       };
 
                         internal-codec-playback-dai-link@0 {            /* I2S - Internal codec */
                                 link-name = "WCD";