From fb5a1b12767548c57674d4c039aba8e42fbc834b Mon Sep 17 00:00:00 2001 From: Tatenda Chipeperekwa Date: Thu, 25 Aug 2016 17:20:38 -0700 Subject: [PATCH] ARM: dts: msm: add audio codec as child of MSM External display Add the audio codec as a child node of the MSM External display node. The audio codec probe will happen after the External display probe, and will allow the audio codec to register with the External display independently of the display interface(s) that will the added after a hotplug event. Change-Id: I481e475ceff2ea0a07a0dfc4083526982674954c CRs-Fixed: 1009284 Signed-off-by: Tatenda Chipeperekwa --- arch/arm/boot/dts/qcom/msmcobalt-mdss.dtsi | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/qcom/msmcobalt-mdss.dtsi b/arch/arm/boot/dts/qcom/msmcobalt-mdss.dtsi index 6025d9b54351..5c0974bb234b 100644 --- a/arch/arm/boot/dts/qcom/msmcobalt-mdss.dtsi +++ b/arch/arm/boot/dts/qcom/msmcobalt-mdss.dtsi @@ -445,6 +445,14 @@ qcom,mdss-fb-map = <&mdss_fb1>; }; + msm_ext_disp: qcom,msm_ext_disp { + compatible = "qcom,msm-ext-disp"; + + hdmi_audio: qcom,msm-hdmi-audio-rx { + compatible = "qcom,msm-hdmi-audio-codec-rx"; + }; + }; + mdss_dp_ctrl: qcom,dp_ctrl@c990000 { cell-index = <0>; compatible = "qcom,mdss-dp"; @@ -477,6 +485,8 @@ qcom,dp-usbpd-detection = <&pmicobalt_pdphy>; + qcom,msm_ext_disp = <&msm_ext_disp>; + qcom,core-supply-entries { #address-cells = <1>; #size-cells = <0>; @@ -589,10 +599,6 @@ }; }; - msm_ext_disp: qcom,msm_ext_disp { - compatible = "qcom,msm-ext-disp"; - }; - mdss_hdmi_tx: qcom,hdmi_tx@c9a0000 { cell-index = <0>; compatible = "qcom,hdmi-tx"; @@ -625,10 +631,6 @@ qcom,mdss-fb-map = <&mdss_fb2>; qcom,pluggable; - - hdmi_audio: qcom,msm-hdmi-audio-rx { - compatible = "qcom,msm-hdmi-audio-codec-rx"; - }; }; };