* [PATCH 1/2] pinctrl: spmi-gpio: Add support for PM2250
@ 2021-11-16 15:35 Loic Poulain
2021-11-16 15:35 ` [PATCH 2/2] dt-bindings: qcom,pmic-gpio: Add pm2250 compatible string Loic Poulain
2021-11-21 23:33 ` [PATCH 1/2] pinctrl: spmi-gpio: Add support for PM2250 Linus Walleij
0 siblings, 2 replies; 3+ messages in thread
From: Loic Poulain @ 2021-11-16 15:35 UTC (permalink / raw)
To: agross, linus.walleij, robh+dt
Cc: linux-arm-msm, linux-gpio, shawn.guo, bjorn.andersson,
Loic Poulain
PM2250, commonly combined with QCM2290, provides ten SPMI GPIOs.
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
---
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 5283d5e..a1a8a48 100644
--- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
+++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
@@ -1141,6 +1141,7 @@ static int pmic_gpio_remove(struct platform_device *pdev)
}
static const struct of_device_id pmic_gpio_of_match[] = {
+ { .compatible = "qcom,pm2250-gpio", .data = (void *) 10 },
/* pm660 has 13 GPIOs with holes on 1, 5, 6, 7, 8 and 10 */
{ .compatible = "qcom,pm660-gpio", .data = (void *) 13 },
/* pm660l has 12 GPIOs with holes on 1, 2, 10, 11 and 12 */
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] dt-bindings: qcom,pmic-gpio: Add pm2250 compatible string
2021-11-16 15:35 [PATCH 1/2] pinctrl: spmi-gpio: Add support for PM2250 Loic Poulain
@ 2021-11-16 15:35 ` Loic Poulain
2021-11-21 23:33 ` [PATCH 1/2] pinctrl: spmi-gpio: Add support for PM2250 Linus Walleij
1 sibling, 0 replies; 3+ messages in thread
From: Loic Poulain @ 2021-11-16 15:35 UTC (permalink / raw)
To: agross, linus.walleij, robh+dt
Cc: linux-arm-msm, linux-gpio, shawn.guo, bjorn.andersson,
Loic Poulain
Add compatible strings for pm2250 SPMI GPIO to documentation.
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
---
Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
index 8952b4c..42d8491 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
@@ -17,6 +17,7 @@ properties:
compatible:
items:
- enum:
+ - qcom,pm2250-gpio
- qcom,pm660-gpio
- qcom,pm660l-gpio
- qcom,pm6150-gpio
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] pinctrl: spmi-gpio: Add support for PM2250
2021-11-16 15:35 [PATCH 1/2] pinctrl: spmi-gpio: Add support for PM2250 Loic Poulain
2021-11-16 15:35 ` [PATCH 2/2] dt-bindings: qcom,pmic-gpio: Add pm2250 compatible string Loic Poulain
@ 2021-11-21 23:33 ` Linus Walleij
1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2021-11-21 23:33 UTC (permalink / raw)
To: Loic Poulain
Cc: agross, robh+dt, linux-arm-msm, linux-gpio, shawn.guo,
bjorn.andersson
On Tue, Nov 16, 2021 at 4:24 PM Loic Poulain <loic.poulain@linaro.org> wrote:
> PM2250, commonly combined with QCM2290, provides ten SPMI GPIOs.
>
> Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Both patches applied because trivial.
Bjorn, complain if I'm doing the wrong thing.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-11-21 23:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-16 15:35 [PATCH 1/2] pinctrl: spmi-gpio: Add support for PM2250 Loic Poulain
2021-11-16 15:35 ` [PATCH 2/2] dt-bindings: qcom,pmic-gpio: Add pm2250 compatible string Loic Poulain
2021-11-21 23:33 ` [PATCH 1/2] pinctrl: spmi-gpio: Add support for PM2250 Linus Walleij
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).