]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: qcom: sm6115: add LPASS LPI pin controller
authorAlexey Klimov <alexey.klimov@linaro.org>
Tue, 12 Nov 2024 02:53:04 +0000 (02:53 +0000)
committerBjorn Andersson <andersson@kernel.org>
Fri, 27 Dec 2024 04:26:09 +0000 (22:26 -0600)
Add the Low Power Audio SubSystem Low Power Island (LPASS LPI) pin
controller device node required for audio subsystem on Qualcomm
QRB4210 RB2.

Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20241112025306.712122-3-alexey.klimov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm6115.dtsi

index 816b8331933d0642d65ef397b5ec2a48af1ae6b4..df2241237b267faaf891356841e3e4d2ca848d22 100644 (file)
@@ -16,6 +16,7 @@
 #include <dt-bindings/power/qcom-rpmpd.h>
 #include <dt-bindings/soc/qcom,apr.h>
 #include <dt-bindings/sound/qcom,q6asm.h>
+#include <dt-bindings/sound/qcom,q6dsp-lpass-ports.h>
 #include <dt-bindings/thermal/thermal.h>
 
 / {
                        };
                };
 
+               lpass_tlmm: pinctrl@a7c0000 {
+                       compatible = "qcom,sm6115-lpass-lpi-pinctrl";
+                       reg = <0x0 0x0a7c0000 0x0 0x20000>,
+                             <0x0 0x0a950000 0x0 0x10000>;
+
+                       clocks = <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
+                       clock-names = "audio";
+
+                       gpio-controller;
+                       #gpio-cells = <2>;
+                       gpio-ranges = <&lpass_tlmm 0 0 19>;
+
+               };
+
                gcc: clock-controller@1400000 {
                        compatible = "qcom,gcc-sm6115";
                        reg = <0x0 0x01400000 0x0 0x1f0000>;