arm64: dts: qcom: sc7180: Don't enable lpass clocks by default
authorNikita Travkin <nikita@trvn.ru>
Mon, 15 May 2023 09:37:41 +0000 (14:37 +0500)
committerBjorn Andersson <andersson@kernel.org>
Thu, 25 May 2023 04:50:46 +0000 (21:50 -0700)
lpass clocks are usually blocked from HLOS by the firmware and
instead are managed by the ADSP. Mark them as reserved and explicitly
enable in the CrOS boards that have special, cooperative firmware.

The IDP board gets lpass clocks disabled as it doesn't make use of sound
anyway and might use Qualcomm firmware that blocks those clocks. [1]

[1] https://lore.kernel.org/all/ZBJhmDd3zK%2FAiwBD@google.com/

Signed-off-by: Nikita Travkin <nikita@trvn.ru>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230515093744.289045-2-nikita@trvn.ru
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi
arch/arm64/boot/dts/qcom/sc7180.dtsi

index ca6920d..6cf0915 100644 (file)
@@ -788,6 +788,10 @@ hp_i2c: &i2c9 {
        };
 };
 
+&lpasscc {
+       status = "okay";
+};
+
 &lpass_cpu {
        status = "okay";
 
@@ -813,6 +817,10 @@ hp_i2c: &i2c9 {
        };
 };
 
+&lpass_hm {
+       status = "okay";
+};
+
 &mdp {
        status = "okay";
 };
index ea1ffad..3913059 100644 (file)
                        power-domains = <&lpass_hm LPASS_CORE_HM_GDSCR>;
                        #clock-cells = <1>;
                        #power-domain-cells = <1>;
+
+                       status = "reserved"; /* Controlled by ADSP */
                };
 
                lpass_cpu: lpass@62d87000 {
 
                        #clock-cells = <1>;
                        #power-domain-cells = <1>;
+
+                       status = "reserved"; /* Controlled by ADSP */
                };
        };