arm64: dts: sdm845: Add lpasscc node
authorTaniya Das <tdas@codeaurora.org>
Wed, 5 Dec 2018 08:00:36 +0000 (13:30 +0530)
committerAndy Gross <andy.gross@linaro.org>
Fri, 25 Jan 2019 04:18:42 +0000 (22:18 -0600)
This adds the low pass audio clock controller node to sdm845 based on
the example in the bindings.

Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Taniya Das <tdas@codeaurora.org>
[bjorn: Disabled lpasscc node, as it's normally protected]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/sdm845-mtp.dts
arch/arm64/boot/dts/qcom/sdm845.dtsi

index 55292f2..ebf059e 100644 (file)
 &gcc {
        protected-clocks = <GCC_QSPI_CORE_CLK>,
                           <GCC_QSPI_CORE_CLK_SRC>,
-                          <GCC_QSPI_CNOC_PERIPH_AHB_CLK>;
+                          <GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
+                          <GCC_LPASS_Q6_AXI_CLK>,
+                          <GCC_LPASS_SWAY_CLK>;
 };
 
 &i2c10 {
index b86ba0d..b5dc7c0 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <dt-bindings/clock/qcom,dispcc-sdm845.h>
 #include <dt-bindings/clock/qcom,gcc-sdm845.h>
+#include <dt-bindings/clock/qcom,lpass-sdm845.h>
 #include <dt-bindings/clock/qcom,gpucc-sdm845.h>
 #include <dt-bindings/clock/qcom,rpmh.h>
 #include <dt-bindings/clock/qcom,videocc-sdm845.h>
                                     <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
                };
 
+               lpasscc: clock-controller@17014000 {
+                       compatible = "qcom,sdm845-lpasscc";
+                       reg = <0x17014000 0x1f004>, <0x17300000 0x200>;
+                       reg-names = "cc", "qdsp6ss";
+                       #clock-cells = <1>;
+                       status = "disabled";
+               };
+
                apss_shared: mailbox@17990000 {
                        compatible = "qcom,sdm845-apss-shared";
                        reg = <0x17990000 0x1000>;