2022-07-24 17:26:24

by Matti Lehtimäki

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

The PM8226 provides 8 GPIOs. Add a node to support them.

Signed-off-by: Matti Lehtimäki <[email protected]>
---
(no changes since v2)

Changes in v2:
- Rename pm8226 gpio node
---
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 9b7d9d04ded6..0c10fa16a0f3 100644
--- a/arch/arm/boot/dts/qcom-pm8226.dtsi
+++ b/arch/arm/boot/dts/qcom-pm8226.dtsi
@@ -90,6 +90,16 @@ pm8226_mpps: mpps@a000 {
interrupt-controller;
#interrupt-cells = <2>;
};
+
+ pm8226_gpios: gpio@c000 {
+ compatible = "qcom,pm8226-gpio", "qcom,spmi-gpio";
+ reg = <0xc000>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ gpio-ranges = <&pm8226_gpios 0 0 8>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
};

pm8226_1: pm8226@1 {
--
2.34.1


2022-07-24 19:10:24

by Dmitry Baryshkov

[permalink] [raw]
Subject: Re: [PATCH v3 1/3] ARM: dts: qcom: pm8226: Add node for the GPIOs

On Sun, 24 Jul 2022 at 20:25, Matti Lehtimäki <[email protected]> wrote:
>
> The PM8226 provides 8 GPIOs. Add a node to support them.
>
> Signed-off-by: Matti Lehtimäki <[email protected]>

Reviewed-by: Dmitry Baryshkov <[email protected]>

> ---
> (no changes since v2)


--
With best wishes
Dmitry

2022-07-26 11:30:20

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v3 1/3] ARM: dts: qcom: pm8226: Add node for the GPIOs

On 24/07/2022 19:24, Matti Lehtimäki wrote:
> The PM8226 provides 8 GPIOs. Add a node to support them.
>
> Signed-off-by: Matti Lehtimäki <[email protected]>
> ---
> (no changes since v2)


Acked-by: Krzysztof Kozlowski <[email protected]>


Best regards,
Krzysztof