[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241002022015.867031-6-alexey.klimov@linaro.org>
Date: Wed, 2 Oct 2024 03:20:13 +0100
From: Alexey Klimov <alexey.klimov@...aro.org>
To: linux-sound@...r.kernel.org,
srinivas.kandagatla@...aro.org,
bgoswami@...cinc.com,
lgirdwood@...il.com,
broonie@...nel.org
Cc: robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
andersson@...nel.org,
konrad.dybcio@...aro.org,
perex@...ex.cz,
tiwai@...e.com,
linux-arm-msm@...r.kernel.org,
alsa-devel@...a-project.org,
devicetree@...r.kernel.org,
elder@...aro.org,
dmitry.baryshkov@...aro.org,
krzysztof.kozlowski@...aro.org,
caleb.connolly@...aro.org,
linux-kernel@...r.kernel.org,
a39.skl@...il.com,
alexey.klimov@...aro.org
Subject: [PATCH v2 5/7] arm64: dts: qcom: sm4250: add LPASS LPI pin controller
Add the Low Power Audio SubSystem Low Power Island (LPASS LPI)
pin controller device node required for audio subsystem on
Qualcomm QRB4210 RB2.
Signed-off-by: Alexey Klimov <alexey.klimov@...aro.org>
---
arch/arm64/boot/dts/qcom/sm4250.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm4250.dtsi b/arch/arm64/boot/dts/qcom/sm4250.dtsi
index c5add8f44fc0..37c0e963e739 100644
--- a/arch/arm64/boot/dts/qcom/sm4250.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm4250.dtsi
@@ -3,6 +3,7 @@
* Copyright (c) 2021, Iskren Chernev <iskren.chernev@...il.com>
*/
+#include <dt-bindings/sound/qcom,q6dsp-lpass-ports.h>
#include "sm6115.dtsi"
&CPU0 {
@@ -36,3 +37,18 @@ &CPU6 {
&CPU7 {
compatible = "qcom,kryo240";
};
+
+&soc {
+ lpass_tlmm: pinctrl@...0000 {
+ compatible = "qcom,sm4250-lpass-lpi-pinctrl";
+ reg = <0x0 0xa7c0000 0x0 0x20000>,
+ <0x0 0xa950000 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 26>;
+ };
+};
--
2.45.2
Powered by blists - more mailing lists