[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0fe27611-4404-f9bb-5002-478677307276@somainline.org>
Date: Tue, 27 Sep 2022 15:03:36 +0200
From: Konrad Dybcio <konrad.dybcio@...ainline.org>
To: Matti Lehtimäki <matti.lehtimaki@...il.com>,
linux-arm-msm@...r.kernel.org
Cc: ~postmarketos/upstreaming@...ts.sr.ht, phone-devel@...r.kernel.org,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5 1/3] ARM: dts: qcom: pm8226: Add node for the GPIOs
On 25.09.2022 22:44, Matti Lehtimäki wrote:
> The PM8226 provides 8 GPIOs. Add a node to support them.
>
> Signed-off-by: Matti Lehtimäki <matti.lehtimaki@...il.com>
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@...ainline.org>
Konrad
> (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@...0 {
> interrupt-controller;
> #interrupt-cells = <2>;
> };
> +
> + pm8226_gpios: gpio@...0 {
> + 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 {
Powered by blists - more mailing lists