Skip to content

Commit eadff30

Browse files
Ivan T. IvanovLinus Walleij
authored andcommitted
pinctrl: Qualcomm SPMI PMIC GPIO pin controller driver
This is the pinctrl, pinmux, pinconf and gpiolib driver for the Qualcomm GPIO sub-function blocks found in the PMIC chips. Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com> Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 89a7117 commit eadff30

File tree

3 files changed

+947
-0
lines changed

3 files changed

+947
-0
lines changed

drivers/pinctrl/qcom/Kconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,17 @@ config PINCTRL_MSM8X74
4747
This is the pinctrl, pinmux, pinconf and gpiolib driver for the
4848
Qualcomm TLMM block found in the Qualcomm 8974 platform.
4949

50+
config PINCTRL_QCOM_SPMI_PMIC
51+
tristate "Qualcomm SPMI PMIC pin controller driver"
52+
depends on GPIOLIB && OF && SPMI
53+
select REGMAP_SPMI
54+
select PINMUX
55+
select PINCONF
56+
select GENERIC_PINCONF
57+
help
58+
This is the pinctrl, pinmux, pinconf and gpiolib driver for the
59+
Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
60+
which are using SPMI for communication with SoC. Example PMIC's
61+
devices are pm8841, pm8941 and pma8084.
62+
5063
endif

drivers/pinctrl/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ obj-$(CONFIG_PINCTRL_APQ8084) += pinctrl-apq8084.o
55
obj-$(CONFIG_PINCTRL_IPQ8064) += pinctrl-ipq8064.o
66
obj-$(CONFIG_PINCTRL_MSM8960) += pinctrl-msm8960.o
77
obj-$(CONFIG_PINCTRL_MSM8X74) += pinctrl-msm8x74.o
8+
obj-$(CONFIG_PINCTRL_QCOM_SPMI_PMIC) += pinctrl-spmi-gpio.o

0 commit comments

Comments
 (0)