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