pinctrl: qcom: Add pinctrl driver for MSM8909
authorStephan Gerhold <stephan.gerhold@kernkonzept.com>
Tue, 28 Jun 2022 14:55:02 +0000 (16:55 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 11 Jul 2022 08:26:52 +0000 (10:26 +0200)
commit4528a0cf793d6f174b58920459fe2854378146a9
tree6768bb7d055e709cc25eb894906636bf6ed9399f
parentc249ec7ba1b1f225c2c59974e71fff059f265643
pinctrl: qcom: Add pinctrl driver for MSM8909

Make it possible to control pins using the TLMM block in the MSM8909 SoC
by adding the necessary definitions for GPIOs, groups and functions.

The driver is originally taken from the msm-4.9 release [1] from Qualcomm,
but cleaned up significantly with several fixes and clarifications.

[1]: https://git.codelinaro.org/clo/la/kernel/msm-4.9/-/blob/LF.UM.8.7-22500-8x09.0/drivers/pinctrl/qcom/pinctrl-msm8909.c

Signed-off-by: Stephan Gerhold <stephan.gerhold@kernkonzept.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220628145502.4158234-3-stephan.gerhold@kernkonzept.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/Kconfig
drivers/pinctrl/qcom/Makefile
drivers/pinctrl/qcom/pinctrl-msm8909.c [new file with mode: 0644]