summaryrefslogtreecommitdiff
path: root/drivers/gpio/msm_gpio.c
diff options
context:
space:
mode:
authorCaleb Connolly <caleb.connolly@linaro.org>2024-02-26 17:26:15 +0000
committerCaleb Connolly <caleb.connolly@linaro.org>2024-03-01 14:44:36 +0000
commiteb2393d7d5443750b8ab61912ead78eb54b42fb9 (patch)
tree4035fe6b10269006c8e3236c35e11030b6aa27ed /drivers/gpio/msm_gpio.c
parent19f000b72b2fa7e4540f7cdb91287aff594239bd (diff)
gpio: qcom_pmic: add pinctrl driver
Introduce a basic pinctrl driver for the SPMI PMIC GPIOs. This is necessary to make proper use of upstream DT bindings specifically on the dragonboard410c where they're used to switch between USB host and device modes. Only support for driving the pins as output low or high is enabled for now. To minimise duplicated code and allow for sharing common DT data, the pinctrl driver is initialised as a child of the existing GPIO driver. Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Reviewed-by: Sumit Garg <sumit.garg@linaro.org> Tested-by: Sumit Garg <sumit.garg@linaro.org> #qcs404 Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Diffstat (limited to 'drivers/gpio/msm_gpio.c')
0 files changed, 0 insertions, 0 deletions