Thread (15 messages) 15 messages, 4 authors, 2026-03-04

Re: [PATCH 2/3] pinctrl: qcom: add sdm670 lpi tlmm

From: Richard Acayan <hidden>
Date: 2026-02-11 00:34:43
Also in: linux-arm-msm, linux-gpio

On Tue, Feb 10, 2026 at 10:08:19AM +0100, Konrad Dybcio wrote:
On 2/10/26 3:11 AM, Richard Acayan wrote:
quoted
The Snapdragon 670 has an Low-Power Island (LPI) TLMM for configuring
pins related to audio. Add the driver for this.

Signed-off-by: Richard Acayan <redacted>
---
[...]
quoted
+const struct lpi_pingroup sdm670_lpi_pinctrl_groups[] = {
+	LPI_PINGROUP(0, LPI_NO_SLEW, _, _, _, _),
+	LPI_PINGROUP(1, LPI_NO_SLEW, _, _, _, _),
+	LPI_PINGROUP(2, LPI_NO_SLEW, _, _, _, _),
+	LPI_PINGROUP(3, LPI_NO_SLEW, _, _, _, _),
+	LPI_PINGROUP(4, LPI_NO_SLEW, _, _, _, _),
+	LPI_PINGROUP(5, LPI_NO_SLEW, _, _, _, _),
+	LPI_PINGROUP(6, LPI_NO_SLEW, _, _, _, _),
+	LPI_PINGROUP(7, LPI_NO_SLEW, _, _, _, _),
+
+	LPI_PINGROUP(8, LPI_NO_SLEW, _, _, sec_tdm, _),
"i2s1_clk"
quoted
+	LPI_PINGROUP(9, LPI_NO_SLEW, _, _, sec_tdm, _),
"i2s1_ws"
quoted
+	LPI_PINGROUP(10, LPI_NO_SLEW, _, _, _, sec_tdm_din),
"i2s1_data"
quoted
+	LPI_PINGROUP(11, LPI_NO_SLEW, _, sec_tdm_dout, _, _),
"i2s1_data"
What are the pinfunc numbers for these? Or are the pinfuncs the same
between I2S and TDM?
quoted
+
+	LPI_PINGROUP(12, LPI_NO_SLEW, _, _, _, _),
+	LPI_PINGROUP(13, LPI_NO_SLEW, _, _, _, _),
+	LPI_PINGROUP(14, LPI_NO_SLEW, _, _, _, _),
+	LPI_PINGROUP(15, LPI_NO_SLEW, _, _, _, _),
+	LPI_PINGROUP(16, LPI_NO_SLEW, _, _, _, _),
+	LPI_PINGROUP(17, LPI_NO_SLEW, _, _, _, _),
+
+	LPI_PINGROUP(18, LPI_NO_SLEW, _, pdm_clk, _, _),
"slimbus_clk"
Again, what pinfunc? Is PDM, the protocol between analog and digital
codec, using the SLIM clock?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help