]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
pinctrl: qcom: Add SDM660 LPASS LPI TLMM
authorRichard Acayan <mailingradian@gmail.com>
Mon, 8 Sep 2025 12:28:46 +0000 (15:28 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 10 Sep 2025 13:35:42 +0000 (15:35 +0200)
commit5e302106099efc8a309d92ad84cb37d35d6c3775
treee524c8b967f38614fa334f3ebca3a1092d872cd8
parent350027a3ef3f30f68a06d87e72f9bcc0dba49fb8
pinctrl: qcom: Add SDM660 LPASS LPI TLMM

The Snapdragon 660 has a Low-Power Island (LPI) TLMM for configuring
pins related to audio. Add the driver for this.
Also, this driver uses predefined pin_offsets for each pin taken from
downstream driver, which does not follow the usual 0x1000 distance
between pins and uses an array with predefined offsets that do not
follow any regular pattern [1].

[1] https://git.codelinaro.org/clo/la/kernel/msm-4.4/-/blob/LA.UM.7.2.c27-07400-sdm660.0/drivers/pinctrl/qcom/pinctrl-lpi.c#L107

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Co-developed-by: Nickolay Goppen <setotau@mainlining.org>
Signed-off-by: Nickolay Goppen <setotau@mainlining.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/Kconfig
drivers/pinctrl/qcom/Makefile
drivers/pinctrl/qcom/pinctrl-sdm660-lpass-lpi.c [new file with mode: 0644]