linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dominik Kobinski <dominikkobinski314@gmail.com>
To: bjorn.andersson@linaro.org
Cc: agross@kernel.org, linus.walleij@linaro.org,
	linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Dominik Kobinski <dominikkobinski314@gmail.com>,
	Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
Subject: [PATCH v2,1/5] pinctrl: qcom: spmi-gpio: Add pm8226 compatibility
Date: Thu, 25 Nov 2021 22:53:10 +0100	[thread overview]
Message-ID: <20211125215310.62371-1-dominikkobinski314@gmail.com> (raw)
In-Reply-To: <20211125213451.62010-1-dominikkobinski314@gmail.com>

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

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
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


  reply	other threads:[~2021-11-25 21:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-25 21:34 [PATCH v2,0/5] Add pm8226 SPMI regulators Dominik Kobinski
2021-11-25 21:53 ` Dominik Kobinski [this message]
2021-11-26  0:49   ` [PATCH v2,1/5] pinctrl: qcom: spmi-gpio: Add pm8226 compatibility Linus Walleij
2021-11-26 16:36     ` Dominik Kobinski
2021-11-27  1:37       ` Linus Walleij
2021-11-27  1:42         ` Linus Walleij
2022-07-08 19:43     ` Matti Lehtimäki
2022-07-11 13:27       ` Linus Walleij
2021-11-25 21:56 ` [PATCH v2,2/5] dt-bindings: pinctrl: qcom: pmic-gpio: Document pm8226 compatible Dominik Kobinski
  -- strict thread matches above, loose matches on Subject: below --
2021-11-27 12:32 [PATCH v2,1/5] pinctrl: qcom: spmi-gpio: Add pm8226 compatibility Dominik Kobinski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211125215310.62371-1-dominikkobinski314@gmail.com \
    --to=dominikkobinski314@gmail.com \
    --cc=agross@kernel.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=ivo.ivanov.ivanov1@gmail.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).