2022-01-24 19:42:12

by Rayyan Ansari

[permalink] [raw]
Subject: [PATCH 1/3] dt-bindings: pinctrl: qcom,pmic-mpp: Document PM8226 compatible

Document the Device Tree binding for PM8226 MPPs.

Signed-off-by: Rayyan Ansari <[email protected]>
---
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


2022-01-24 19:42:14

by Rayyan Ansari

[permalink] [raw]
Subject: [PATCH 3/3] ARM: dts: qcom: pm8226: Add node for the MPP

The PM8226 provides 8 Multi-Purpose Pins (or MPPs for short).
Add a node to support them.

Signed-off-by: Rayyan Ansari <[email protected]>
---
arch/arm/boot/dts/qcom-pm8226.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-pm8226.dtsi b/arch/arm/boot/dts/qcom-pm8226.dtsi
index dddb5150dfd7..9db3ea28b321 100644
--- a/arch/arm/boot/dts/qcom-pm8226.dtsi
+++ b/arch/arm/boot/dts/qcom-pm8226.dtsi
@@ -16,6 +16,16 @@ pwrkey@800 {
debounce = <15625>;
bias-pull-up;
};
+
+ pm8226_mpps: mpps@a000 {
+ compatible = "qcom,pm8226-mpp", "qcom,spmi-mpp";
+ reg = <0xa000>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ gpio-ranges = <&pm8226_mpps 0 0 8>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
};

pm8226_1: pm8226@1 {
--
2.34.1

2022-02-01 20:54:09

by Bjorn Andersson

[permalink] [raw]
Subject: Re: [PATCH 1/3] dt-bindings: pinctrl: qcom,pmic-mpp: Document PM8226 compatible

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

> Document the Device Tree binding for PM8226 MPPs.
>
> Signed-off-by: Rayyan Ansari <[email protected]>

Reviewed-by: Bjorn Andersson <[email protected]>

> ---
> 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
>

2022-02-02 06:54:12

by Bjorn Andersson

[permalink] [raw]
Subject: Re: (subset) [PATCH 3/3] ARM: dts: qcom: pm8226: Add node for the MPP

On Mon, 24 Jan 2022 17:15:38 +0000, Rayyan Ansari wrote:
> The PM8226 provides 8 Multi-Purpose Pins (or MPPs for short).
> Add a node to support them.
>
>

Applied, thanks!

[3/3] ARM: dts: qcom: pm8226: Add node for the MPP
commit: 5fbd593756be9a0ee710b15e14d2797bfbca108f

Best regards,
--
Bjorn Andersson <[email protected]>

2022-02-09 11:30:24

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH 1/3] dt-bindings: pinctrl: qcom,pmic-mpp: Document PM8226 compatible

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 <[email protected]>
> ---
> Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml | 1 +
> 1 file changed, 1 insertion(+)
>

Acked-by: Rob Herring <[email protected]>

2022-02-11 06:27:55

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH 1/3] dt-bindings: pinctrl: qcom,pmic-mpp: Document PM8226 compatible

On Mon, Jan 24, 2022 at 6:17 PM Rayyan Ansari <[email protected]> wrote:

> Document the Device Tree binding for PM8226 MPPs.
>
> Signed-off-by: Rayyan Ansari <[email protected]>

This patch and patch 2 applied to the pinctrl tree!

I suppose Bjorn will handle patch 3.

Yours,
Linus Walleij