linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] dt-bindings: pinctrl: qcom,pmic-mpp: Document PM8226 compatible
@ 2022-01-24 17:15 Rayyan Ansari
  2022-01-24 17:15 ` [PATCH 2/3] pinctrl: qcom: spmi-mpp: Add " Rayyan Ansari
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Rayyan Ansari @ 2022-01-24 17:15 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: ~postmarketos/upstreaming, phone-devel, Rayyan Ansari, Andy Gross,
	Bjorn Andersson, Linus Walleij, Rob Herring, linux-gpio,
	devicetree, linux-kernel

Document the Device Tree binding for PM8226 MPPs.

Signed-off-by: Rayyan Ansari <rayyan@ansari.sh>
---
 Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml
index 35c846f59979..df79274d0ec3 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml
@@ -21,6 +21,7 @@ properties:
           - qcom,pm8019-mpp
           - qcom,pm8038-mpp
           - qcom,pm8058-mpp
+          - qcom,pm8226-mpp
           - qcom,pm8821-mpp
           - qcom,pm8841-mpp
           - qcom,pm8916-mpp
-- 
2.34.1


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

* [PATCH 2/3] pinctrl: qcom: spmi-mpp: Add PM8226 compatible
  2022-01-24 17:15 [PATCH 1/3] dt-bindings: pinctrl: qcom,pmic-mpp: Document PM8226 compatible Rayyan Ansari
@ 2022-01-24 17:15 ` Rayyan Ansari
  2022-01-31 23:50   ` Bjorn Andersson
  2022-01-31 23:51 ` [PATCH 1/3] dt-bindings: pinctrl: qcom,pmic-mpp: Document " Bjorn Andersson
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 6+ messages in thread
From: Rayyan Ansari @ 2022-01-24 17:15 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: ~postmarketos/upstreaming, phone-devel, Rayyan Ansari, Andy Gross,
	Bjorn Andersson, Linus Walleij, linux-gpio, linux-kernel

The PM8226 provides 8 MPPs.
Add a compatible to support them.

Signed-off-by: Rayyan Ansari <rayyan@ansari.sh>
---
 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-mpp.c b/drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
index b80723928b7e..6937157f50b3 100644
--- a/drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
+++ b/drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
@@ -961,6 +961,7 @@ static int pmic_mpp_remove(struct platform_device *pdev)
 
 static const struct of_device_id pmic_mpp_of_match[] = {
 	{ .compatible = "qcom,pm8019-mpp", .data = (void *) 6 },
+	{ .compatible = "qcom,pm8226-mpp", .data = (void *) 8 },
 	{ .compatible = "qcom,pm8841-mpp", .data = (void *) 4 },
 	{ .compatible = "qcom,pm8916-mpp", .data = (void *) 4 },
 	{ .compatible = "qcom,pm8941-mpp", .data = (void *) 8 },
-- 
2.34.1


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

* Re: [PATCH 2/3] pinctrl: qcom: spmi-mpp: Add PM8226 compatible
  2022-01-24 17:15 ` [PATCH 2/3] pinctrl: qcom: spmi-mpp: Add " Rayyan Ansari
@ 2022-01-31 23:50   ` Bjorn Andersson
  0 siblings, 0 replies; 6+ messages in thread
From: Bjorn Andersson @ 2022-01-31 23:50 UTC (permalink / raw)
  To: Rayyan Ansari
  Cc: linux-arm-msm, ~postmarketos/upstreaming, phone-devel, Andy Gross,
	Linus Walleij, linux-gpio, linux-kernel

On Mon 24 Jan 11:15 CST 2022, Rayyan Ansari wrote:

> The PM8226 provides 8 MPPs.
> Add a compatible to support them.
> 
> Signed-off-by: Rayyan Ansari <rayyan@ansari.sh>

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>

> ---
>  drivers/pinctrl/qcom/pinctrl-spmi-mpp.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-mpp.c b/drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
> index b80723928b7e..6937157f50b3 100644
> --- a/drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
> +++ b/drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
> @@ -961,6 +961,7 @@ static int pmic_mpp_remove(struct platform_device *pdev)
>  
>  static const struct of_device_id pmic_mpp_of_match[] = {
>  	{ .compatible = "qcom,pm8019-mpp", .data = (void *) 6 },
> +	{ .compatible = "qcom,pm8226-mpp", .data = (void *) 8 },
>  	{ .compatible = "qcom,pm8841-mpp", .data = (void *) 4 },
>  	{ .compatible = "qcom,pm8916-mpp", .data = (void *) 4 },
>  	{ .compatible = "qcom,pm8941-mpp", .data = (void *) 8 },
> -- 
> 2.34.1
> 

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

* Re: [PATCH 1/3] dt-bindings: pinctrl: qcom,pmic-mpp: Document PM8226 compatible
  2022-01-24 17:15 [PATCH 1/3] dt-bindings: pinctrl: qcom,pmic-mpp: Document PM8226 compatible Rayyan Ansari
  2022-01-24 17:15 ` [PATCH 2/3] pinctrl: qcom: spmi-mpp: Add " Rayyan Ansari
@ 2022-01-31 23:51 ` Bjorn Andersson
  2022-02-09  3:10 ` Rob Herring
  2022-02-11  0:08 ` Linus Walleij
  3 siblings, 0 replies; 6+ messages in thread
From: Bjorn Andersson @ 2022-01-31 23:51 UTC (permalink / raw)
  To: Rayyan Ansari
  Cc: linux-arm-msm, ~postmarketos/upstreaming, phone-devel, Andy Gross,
	Linus Walleij, Rob Herring, linux-gpio, devicetree, linux-kernel

On Mon 24 Jan 11:15 CST 2022, Rayyan Ansari wrote:

> Document the Device Tree binding for PM8226 MPPs.
> 
> Signed-off-by: Rayyan Ansari <rayyan@ansari.sh>

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>

> ---
>  Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml
> index 35c846f59979..df79274d0ec3 100644
> --- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml
> +++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml
> @@ -21,6 +21,7 @@ properties:
>            - qcom,pm8019-mpp
>            - qcom,pm8038-mpp
>            - qcom,pm8058-mpp
> +          - qcom,pm8226-mpp
>            - qcom,pm8821-mpp
>            - qcom,pm8841-mpp
>            - qcom,pm8916-mpp
> -- 
> 2.34.1
> 

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

* Re: [PATCH 1/3] dt-bindings: pinctrl: qcom,pmic-mpp: Document PM8226 compatible
  2022-01-24 17:15 [PATCH 1/3] dt-bindings: pinctrl: qcom,pmic-mpp: Document PM8226 compatible Rayyan Ansari
  2022-01-24 17:15 ` [PATCH 2/3] pinctrl: qcom: spmi-mpp: Add " Rayyan Ansari
  2022-01-31 23:51 ` [PATCH 1/3] dt-bindings: pinctrl: qcom,pmic-mpp: Document " Bjorn Andersson
@ 2022-02-09  3:10 ` Rob Herring
  2022-02-11  0:08 ` Linus Walleij
  3 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2022-02-09  3:10 UTC (permalink / raw)
  To: Rayyan Ansari
  Cc: ~postmarketos/upstreaming, Linus Walleij, Andy Gross,
	linux-arm-msm, Bjorn Andersson, Rob Herring, linux-kernel,
	linux-gpio, phone-devel, devicetree

On Mon, 24 Jan 2022 17:15:36 +0000, Rayyan Ansari wrote:
> Document the Device Tree binding for PM8226 MPPs.
> 
> Signed-off-by: Rayyan Ansari <rayyan@ansari.sh>
> ---
>  Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 1/3] dt-bindings: pinctrl: qcom,pmic-mpp: Document PM8226 compatible
  2022-01-24 17:15 [PATCH 1/3] dt-bindings: pinctrl: qcom,pmic-mpp: Document PM8226 compatible Rayyan Ansari
                   ` (2 preceding siblings ...)
  2022-02-09  3:10 ` Rob Herring
@ 2022-02-11  0:08 ` Linus Walleij
  3 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2022-02-11  0:08 UTC (permalink / raw)
  To: Rayyan Ansari
  Cc: linux-arm-msm, ~postmarketos/upstreaming, phone-devel, Andy Gross,
	Bjorn Andersson, Rob Herring, linux-gpio, devicetree,
	linux-kernel

On Mon, Jan 24, 2022 at 6:17 PM Rayyan Ansari <rayyan@ansari.sh> wrote:

> Document the Device Tree binding for PM8226 MPPs.
>
> Signed-off-by: Rayyan Ansari <rayyan@ansari.sh>

This patch and patch 2 applied to the pinctrl tree!

I suppose Bjorn will handle patch 3.

Yours,
Linus Walleij

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

end of thread, other threads:[~2022-02-11  0:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-24 17:15 [PATCH 1/3] dt-bindings: pinctrl: qcom,pmic-mpp: Document PM8226 compatible Rayyan Ansari
2022-01-24 17:15 ` [PATCH 2/3] pinctrl: qcom: spmi-mpp: Add " Rayyan Ansari
2022-01-31 23:50   ` Bjorn Andersson
2022-01-31 23:51 ` [PATCH 1/3] dt-bindings: pinctrl: qcom,pmic-mpp: Document " Bjorn Andersson
2022-02-09  3:10 ` Rob Herring
2022-02-11  0:08 ` 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).