linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] pinctrl: qcom: spmi-gpio: Add pm8226 compatibility
@ 2021-11-23 17:41 Dominik Kobinski
  2021-11-23 18:02 ` [PATCH 2/4] dt-bindings: pinctrl: qcom: pmic-gpio: Document pm8226 compatible Dominik Kobinski
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Dominik Kobinski @ 2021-11-23 17:41 UTC (permalink / raw)
  To: agross
  Cc: bjorn.andersson, linus.walleij, linux-arm-msm, linux-gpio,
	linux-kernel, Dominik Kobinski, Ivaylo Ivanov

Add support for pm8226 SPMI GPIOs. The PMIC features
8 GPIOs, with no holes inbetween.

Suggested-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
Signed-off-by: Dominik Kobinski <dominikkobinski314@gmail.com>
---
 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
index 5283d5e9e8bc..0f0102f38cbb 100644
--- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
+++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
@@ -1159,6 +1159,7 @@ static const struct of_device_id pmic_gpio_of_match[] = {
 	/* pm8150l has 12 GPIOs with holes on 7 */
 	{ .compatible = "qcom,pm8150l-gpio", .data = (void *) 12 },
 	{ .compatible = "qcom,pmc8180c-gpio", .data = (void *) 12 },
+	{ .compatible = "qcom,pm8226-gpio", .data = (void *) 8 },
 	{ .compatible = "qcom,pm8350-gpio", .data = (void *) 10 },
 	{ .compatible = "qcom,pm8350b-gpio", .data = (void *) 8 },
 	{ .compatible = "qcom,pm8350c-gpio", .data = (void *) 9 },
-- 
2.34.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-11-27  1:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-23 17:41 [PATCH 1/4] pinctrl: qcom: spmi-gpio: Add pm8226 compatibility Dominik Kobinski
2021-11-23 18:02 ` [PATCH 2/4] dt-bindings: pinctrl: qcom: pmic-gpio: Document pm8226 compatible Dominik Kobinski
2021-11-23 18:08 ` [PATCH 3/4] dt-bindings: regulator: qcom: spmi-regulator: " Dominik Kobinski
2021-11-23 18:11 ` [PATCH 4/4] regulator: qcom_spmi: Add pm8226 regulators Dominik Kobinski
2021-11-24  3:17   ` Bjorn Andersson
2021-11-24  3:13 ` [PATCH 1/4] pinctrl: qcom: spmi-gpio: Add pm8226 compatibility Bjorn Andersson
2021-11-27  1:30 ` (subset) " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).