pinctrl: qcom: Add sc8280xp lpass lpi pinctrl driver
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Wed, 17 Aug 2022 11:37:47 +0000 (12:37 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 25 Aug 2022 12:32:04 +0000 (14:32 +0200)
commit67f40373ee7b419374b191cedd63a05afd33a459
tree7ac508c51322fcb36bb8fc9e9ec354935979a15a
parent958bb025f5b3138217ffd4479b1877ba53297df9
pinctrl: qcom: Add sc8280xp lpass lpi pinctrl driver

Add pinctrl driver to support pin configuration for LPASS
(Low Power Audio SubSystem) LPI (Low Power Island) pinctrl
on SC8280XP.

This IP is an additional pin control block for Audio Pins on top the
existing SoC Top level pin-controller.

Hardware setup looks like:

    TLMM GPIO[189 - 207] --> LPASS LPI GPIO [0 - 18]

This pin controller has some similarities compared to Top level
msm SoC Pin controller like 'each pin belongs to a single group'
and so on. However this one is intended to control only audio
pins in particular, which can not be configured/touched by the
Top level SoC pin controller except setting them as gpios.
Apart from this, slew rate is also available in this block for
certain pins which are connected to SLIMbus or SoundWire Bus.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220817113747.9111-3-srinivas.kandagatla@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/Kconfig
drivers/pinctrl/qcom/Makefile
drivers/pinctrl/qcom/pinctrl-sc8280xp-lpass-lpi.c [new file with mode: 0644]