linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8019 support
@ 2021-08-05 22:26 Konrad Dybcio
  2021-08-05 22:26 ` [PATCH 2/2] pinctrl: qcom-pmic-gpio: Add support for pm8019 Konrad Dybcio
  2021-08-11 13:02 ` [PATCH 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8019 support Linus Walleij
  0 siblings, 2 replies; 4+ messages in thread
From: Konrad Dybcio @ 2021-08-05 22:26 UTC (permalink / raw)
  To: ~postmarketos/upstreaming
  Cc: martin.botka, angelogioacchino.delregno, marijn.suijten,
	jamipkettunen, Konrad Dybcio, Andy Gross, Bjorn Andersson,
	Linus Walleij, Rob Herring, linux-arm-msm, linux-gpio,
	devicetree, linux-kernel

Add compatible string for pm8019 pmic GPIO support to the
Qualcomm PMIC GPIO binding.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
---
 Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
index 161216daf463..4875e039ceaa 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
@@ -9,6 +9,7 @@ PMIC's from Qualcomm.
 	Definition: must be one of:
 		    "qcom,pm8005-gpio"
 		    "qcom,pm8018-gpio"
+		    "qcom,pm8019-gpio"
 		    "qcom,pm8038-gpio"
 		    "qcom,pm8058-gpio"
 		    "qcom,pm8916-gpio"
-- 
2.32.0


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

* [PATCH 2/2] pinctrl: qcom-pmic-gpio: Add support for pm8019
  2021-08-05 22:26 [PATCH 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8019 support Konrad Dybcio
@ 2021-08-05 22:26 ` Konrad Dybcio
  2021-08-11 13:03   ` Linus Walleij
  2021-08-11 13:02 ` [PATCH 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8019 support Linus Walleij
  1 sibling, 1 reply; 4+ messages in thread
From: Konrad Dybcio @ 2021-08-05 22:26 UTC (permalink / raw)
  To: ~postmarketos/upstreaming
  Cc: martin.botka, angelogioacchino.delregno, marijn.suijten,
	jamipkettunen, Konrad Dybcio, Andy Gross, Bjorn Andersson,
	Linus Walleij, Rob Herring, linux-arm-msm, linux-gpio,
	devicetree, linux-kernel

PM8019 provides 6 GPIOs. Add a compatible to support that.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.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 a89d24a040af..dbb3d2e3c0b0 100644
--- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
+++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
@@ -1105,6 +1105,7 @@ static int pmic_gpio_remove(struct platform_device *pdev)
 
 static const struct of_device_id pmic_gpio_of_match[] = {
 	{ .compatible = "qcom,pm8005-gpio", .data = (void *) 4 },
+	{ .compatible = "qcom,pm8019-gpio", .data = (void *) 6 },
 	{ .compatible = "qcom,pm8916-gpio", .data = (void *) 4 },
 	{ .compatible = "qcom,pm8941-gpio", .data = (void *) 36 },
 	/* pm8950 has 8 GPIOs with holes on 3 */
-- 
2.32.0


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

* Re: [PATCH 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8019 support
  2021-08-05 22:26 [PATCH 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8019 support Konrad Dybcio
  2021-08-05 22:26 ` [PATCH 2/2] pinctrl: qcom-pmic-gpio: Add support for pm8019 Konrad Dybcio
@ 2021-08-11 13:02 ` Linus Walleij
  1 sibling, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2021-08-11 13:02 UTC (permalink / raw)
  To: Konrad Dybcio
  Cc: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
	<devicetree@vger.kernel.org>,
	Hans de Goede <hdegoede@redhat.com>,
	Andy Shevchenko <andy.shevchenko@gmail.com>,,
	Martin Botka, AngeloGioacchino Del Regno, marijn.suijten,
	jamipkettunen, Andy Gross, Bjorn Andersson, Rob Herring, MSM,
	open list:GPIO SUBSYSTEM,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	linux-kernel

On Fri, Aug 6, 2021 at 12:26 AM Konrad Dybcio
<konrad.dybcio@somainline.org> wrote:

> Add compatible string for pm8019 pmic GPIO support to the
> Qualcomm PMIC GPIO binding.
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>

Sadly I just merged a patch converting this file to YAML.

Please respin this on top of the "devel" branch in the pinctrl
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git/log/?h=devel

Yours,
Linus Walleij

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

* Re: [PATCH 2/2] pinctrl: qcom-pmic-gpio: Add support for pm8019
  2021-08-05 22:26 ` [PATCH 2/2] pinctrl: qcom-pmic-gpio: Add support for pm8019 Konrad Dybcio
@ 2021-08-11 13:03   ` Linus Walleij
  0 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2021-08-11 13:03 UTC (permalink / raw)
  To: Konrad Dybcio
  Cc: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
	<devicetree@vger.kernel.org>,
	Hans de Goede <hdegoede@redhat.com>,
	Andy Shevchenko <andy.shevchenko@gmail.com>,,
	Martin Botka, AngeloGioacchino Del Regno, marijn.suijten,
	jamipkettunen, Andy Gross, Bjorn Andersson, Rob Herring, MSM,
	open list:GPIO SUBSYSTEM,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	linux-kernel

On Fri, Aug 6, 2021 at 12:26 AM Konrad Dybcio
<konrad.dybcio@somainline.org> wrote:

> PM8019 provides 6 GPIOs. Add a compatible to support that.
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>

I will merge this as soon as the binding is fixed (please resend both)

Yours,
Linus Walleij

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

end of thread, other threads:[~2021-08-11 13:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05 22:26 [PATCH 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8019 support Konrad Dybcio
2021-08-05 22:26 ` [PATCH 2/2] pinctrl: qcom-pmic-gpio: Add support for pm8019 Konrad Dybcio
2021-08-11 13:03   ` Linus Walleij
2021-08-11 13:02 ` [PATCH 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8019 support 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).