[PATCH] arm64: dts: qcom: sdm630: Add LPASS LPI TLMM

Nickolay Goppen posted 1 patch 1 month ago
arch/arm64/boot/dts/qcom/sdm630.dtsi | 73 ++++++++++++++++++++++++++++++++++++
1 file changed, 73 insertions(+)
[PATCH] arm64: dts: qcom: sdm630: Add LPASS LPI TLMM
Posted by Nickolay Goppen 1 month ago
From: Richard Acayan <mailingradian@gmail.com>

The LPASS LPI TLMM pin controller controls pins for use by the analog
and digital codecs, such as the PDM bus, the digital microphone pins,
and the compander pins. Add it to support the codecs.

Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Co-developed-by: Nickolay Goppen <setotau@mainlining.org>
Signed-off-by: Nickolay Goppen <setotau@mainlining.org>
---
This is a patch introducing support SDM660 LPASS LPI driver support in
the dts
---
 arch/arm64/boot/dts/qcom/sdm630.dtsi | 73 ++++++++++++++++++++++++++++++++++++
 1 file changed, 73 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi
index e38d9648a1ac..4a72e0718fe4 100644
--- a/arch/arm64/boot/dts/qcom/sdm630.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi
@@ -2269,6 +2269,79 @@ mmss_smmu: iommu@cd00000 {
 			status = "disabled";
 		};
 
+		lpi_tlmm: pinctrl@15070000 {
+			compatible = "qcom,sdm660-lpass-lpi-pinctrl";
+			reg = <0x15070000 0x20000>;
+			gpio-controller;
+			#gpio-cells = <2>;
+			gpio-ranges = <&lpi_tlmm 0 0 32>;
+
+			cdc_pdm_default: cdc-pdm-default-state {
+				clk-pins {
+					pins = "gpio18";
+					function = "pdm_clk";
+					drive-strength = <8>;
+					output-high;
+				};
+
+				sync-pins {
+					pins = "gpio19";
+					function = "pdm_sync";
+					drive-strength = <4>;
+					output-high;
+				};
+
+				tx-pins {
+					pins = "gpio20";
+					function = "pdm_tx";
+					drive-strength = <8>;
+				};
+
+				rx-pins {
+					pins = "gpio21", "gpio23", "gpio25";
+					function = "pdm_rx";
+					drive-strength = <4>;
+					output-high;
+				};
+			};
+
+			cdc_comp_default: cdc-comp-default-state {
+				pins = "gpio22", "gpio24";
+				function = "comp_rx";
+				drive-strength = <8>;
+			};
+
+			cdc_dmic_default: cdc-dmic-default-state {
+				dmic1-clk-pins {
+					pins = "gpio26";
+					function = "dmic1_clk";
+					drive-strength = <8>;
+					output-high;
+				};
+
+				dmic1-data-pins {
+					pins = "gpio27";
+					function = "dmic1_data";
+					drive-strength = <8>;
+					output-high;
+				};
+
+				dmic2-clk-pins {
+					pins = "gpio28";
+					function = "dmic2_clk";
+					drive-strength = <8>;
+					input-enable;
+				};
+
+				dmic2-data-pins {
+					pins = "gpio29";
+					function = "dmic2_data";
+					drive-strength = <8>;
+					input-enable;
+				};
+			};
+		};
+
 		adsp_pil: remoteproc@15700000 {
 			compatible = "qcom,sdm660-adsp-pas";
 			reg = <0x15700000 0x4040>;

---
base-commit: f417b7ffcbef7d76b0d8860518f50dae0e7e5eda
change-id: 20260109-qcom-sdm660-lpass-lpi-dts-cf9164069394

Best regards,
-- 
Nickolay Goppen <setotau@mainlining.org>
Re: [PATCH] arm64: dts: qcom: sdm630: Add LPASS LPI TLMM
Posted by Bjorn Andersson 4 weeks ago
On Fri, 09 Jan 2026 17:03:59 +0300, Nickolay Goppen wrote:
> The LPASS LPI TLMM pin controller controls pins for use by the analog
> and digital codecs, such as the PDM bus, the digital microphone pins,
> and the compander pins. Add it to support the codecs.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: sdm630: Add LPASS LPI TLMM
      commit: 0e09a596ad2e23d62e2707d5d1a68eaa76787f1b

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>
Re: [PATCH] arm64: dts: qcom: sdm630: Add LPASS LPI TLMM
Posted by Dmitry Baryshkov 1 month ago
On Fri, Jan 09, 2026 at 05:03:59PM +0300, Nickolay Goppen wrote:
> From: Richard Acayan <mailingradian@gmail.com>
> 
> The LPASS LPI TLMM pin controller controls pins for use by the analog
> and digital codecs, such as the PDM bus, the digital microphone pins,
> and the compander pins. Add it to support the codecs.
> 
> Signed-off-by: Richard Acayan <mailingradian@gmail.com>
> Co-developed-by: Nickolay Goppen <setotau@mainlining.org>
> Signed-off-by: Nickolay Goppen <setotau@mainlining.org>
> ---
> This is a patch introducing support SDM660 LPASS LPI driver support in
> the dts
> ---
>  arch/arm64/boot/dts/qcom/sdm630.dtsi | 73 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 73 insertions(+)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>


-- 
With best wishes
Dmitry