]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit522ef73ebdad07a8b1b311522855037f257dac04
tree6768bb7d055e709cc25eb894906636bf6ed9399f
parent7782f6811547760325a10a601a2252f8c0a262b9
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]