arm64: dts: qcom: msm8996: Disable MDSS and Adreno by default
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Sun, 28 Feb 2021 13:08:24 +0000 (14:08 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 26 May 2021 03:40:33 +0000 (22:40 -0500)
Disable them by default to allow for booting without a display
and proprietary firmware. Then, enable them on boards that didn't
previously disable them. Hence, this commit brings no functional
difference.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210228130831.203765-6-konrad.dybcio@somainline.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
arch/arm64/boot/dts/qcom/apq8096-ifc6640.dts
arch/arm64/boot/dts/qcom/msm8996.dtsi

index 6b3b6a4..d4004fa 100644 (file)
        vdda-supply = <&vreg_l2a_1p25>;
 };
 
+&gpu {
+       status = "okay";
+};
+
 &hdmi {
        status = "okay";
 
index 4f67aa4..c6d7c62 100644 (file)
        pinctrl-1 = <&blsp2_uart2_2pins_sleep>;
 };
 
+&gpu {
+       status = "okay";
+};
+
+&mdss {
+       status = "okay";
+};
+
 &tlmm {
        sdc2_pins_default: sdc2-pins-default {
                clk {
index 17e7e9b..8efb1d1 100644 (file)
                        #size-cells = <1>;
                        ranges;
 
+                       status = "disabled";
+
                        mdp: mdp@901000 {
                                compatible = "qcom,mdp5";
                                reg = <0x00901000 0x90000>;
                                              "ref";
                        };
                };
-               gpu@b00000 {
+
+               gpu: gpu@b00000 {
                        compatible = "qcom,adreno-530.2", "qcom,adreno";
                        #stream-id-cells = <16>;
 
 
                        operating-points-v2 = <&gpu_opp_table>;
 
+                       status = "disabled";
+
                        gpu_opp_table: opp-table {
                                compatible  ="operating-points-v2";