arm64: dts: qcom: msm8996: rename labels for HDMI nodes
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 15 Jun 2023 08:34:22 +0000 (11:34 +0300)
committerBjorn Andersson <andersson@kernel.org>
Mon, 10 Jul 2023 04:26:40 +0000 (21:26 -0700)
In board files MDSS and HDMI nodes do not come next to each other,
because labels for HDMI nodes do not have the common mdss_ prefix.

Follow the DSI example and enable such grouping by changing the prefix
for HDMI labels to mdss_hdmi_*.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230615083422.350297-3-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/apq8096-db820c.dts
arch/arm64/boot/dts/qcom/apq8096-ifc6640.dts
arch/arm64/boot/dts/qcom/msm8996-mtp.dts
arch/arm64/boot/dts/qcom/msm8996.dtsi

index b599909..39170c1 100644 (file)
        status = "okay";
 };
 
-&hdmi {
-       status = "okay";
-
-       pinctrl-names = "default", "sleep";
-       pinctrl-0 = <&hdmi_hpd_active &hdmi_ddc_active>;
-       pinctrl-1 = <&hdmi_hpd_suspend &hdmi_ddc_suspend>;
-
-       core-vdda-supply = <&vreg_l12a_1p8>;
-       core-vcc-supply = <&vreg_s4a_1p8>;
-};
-
-&hdmi_phy {
-       status = "okay";
-
-       vddio-supply = <&vreg_l12a_1p8>;
-       vcca-supply = <&vreg_l28a_0p925>;
-       #phy-cells = <0>;
-};
-
 &hsusb_phy1 {
        status = "okay";
 
        status = "okay";
 };
 
+&mdss_hdmi {
+       status = "okay";
+
+       pinctrl-names = "default", "sleep";
+       pinctrl-0 = <&hdmi_hpd_active &hdmi_ddc_active>;
+       pinctrl-1 = <&hdmi_hpd_suspend &hdmi_ddc_suspend>;
+
+       core-vdda-supply = <&vreg_l12a_1p8>;
+       core-vcc-supply = <&vreg_s4a_1p8>;
+};
+
+&mdss_hdmi_phy {
+       status = "okay";
+
+       vddio-supply = <&vreg_l12a_1p8>;
+       vcca-supply = <&vreg_l28a_0p925>;
+       #phy-cells = <0>;
+};
+
 &mmcc {
        vdd-gfx-supply = <&vdd_gfx>;
 };
                };
 
                codec {
-                       sound-dai = <&hdmi 0>;
+                       sound-dai = <&mdss_hdmi 0>;
                };
        };
 
index ed2e2f6..ac6471d 100644 (file)
        status = "okay";
 };
 
-&hdmi {
+&mdss {
        status = "okay";
 };
 
-&hdmi_phy {
+&mdss_hdmi {
        status = "okay";
 };
 
-&mdss {
+&mdss_hdmi_phy {
        status = "okay";
 };
 
index 596ad4c..495d45a 100644 (file)
        status = "okay";
 };
 
-&hdmi {
+&mdss_hdmi {
        status = "okay";
 };
 
-&hdmi_phy {
+&mdss_hdmi_phy {
        status = "okay";
 };
index 3855366..40ac0a7 100644 (file)
                                 <&mdss_dsi0_phy 0>,
                                 <&mdss_dsi1_phy 1>,
                                 <&mdss_dsi1_phy 0>,
-                                <&hdmi_phy>;
+                                <&mdss_hdmi_phy>;
                        clock-names = "xo",
                                      "gpll0",
                                      "gcc_mmss_noc_cfg_ahb_clk",
                                        port@0 {
                                                reg = <0>;
                                                mdp5_intf3_out: endpoint {
-                                                       remote-endpoint = <&hdmi_in>;
+                                                       remote-endpoint = <&mdss_hdmi_in>;
                                                };
                                        };
 
                                status = "disabled";
                        };
 
-                       hdmi: hdmi-tx@9a0000 {
+                       mdss_hdmi: hdmi-tx@9a0000 {
                                compatible = "qcom,hdmi-tx-8996";
                                reg =   <0x009a0000 0x50c>,
                                        <0x00070000 0x6158>,
                                        "alt_iface",
                                        "extp";
 
-                               phys = <&hdmi_phy>;
+                               phys = <&mdss_hdmi_phy>;
                                #sound-dai-cells = <1>;
 
                                status = "disabled";
 
                                        port@0 {
                                                reg = <0>;
-                                               hdmi_in: endpoint {
+                                               mdss_hdmi_in: endpoint {
                                                        remote-endpoint = <&mdp5_intf3_out>;
                                                };
                                        };
                                };
                        };
 
-                       hdmi_phy: phy@9a0600 {
+                       mdss_hdmi_phy: phy@9a0600 {
                                #phy-cells = <0>;
                                compatible = "qcom,hdmi-phy-8996";
                                reg = <0x009a0600 0x1c4>,