arm64: dts: qcom: Disable MDSS by default for 8916/8016 devices
authorVincent Knecht <vincent.knecht@mailoo.org>
Sat, 30 Jan 2021 10:57:12 +0000 (11:57 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 2 Feb 2021 20:44:23 +0000 (14:44 -0600)
Disable MDSS (Mobile Display Subsystem) by default in msm8916.dtsi
and only explicitly enable it in devices' DT which actually use it.

This leads to faster boot and cleaner logs for other devices,
which also won't have to explicitly disable MDSS to use framebuffer.

Reviewed-by: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Vincent Knecht <vincent.knecht@mailoo.org>
Link: https://lore.kernel.org/r/20210130105717.2628781-4-vincent.knecht@mailoo.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi
arch/arm64/boot/dts/qcom/msm8916.dtsi

index 3a9538e..6aef0c2 100644 (file)
        status = "okay";
 };
 
+&mdss {
+       status = "okay";
+};
+
 &pm8916_resin {
        status = "okay";
        linux,code = <KEY_VOLUMEDOWN>;
index f1af798..230ba3c 100644 (file)
        pinctrl-1 = <&mdss_sleep>;
 };
 
+&mdss {
+       status = "okay";
+};
+
 &pm8916_resin {
        status = "okay";
        linux,code = <KEY_VOLUMEDOWN>;
index 402e891..8f9a651 100644 (file)
                };
 
                mdss: mdss@1a00000 {
+                       status = "disabled";
                        compatible = "qcom,mdss";
                        reg = <0x01a00000 0x1000>,
                              <0x01ac8000 0x3000>;