Re: [PATCH V5 08/11] arm64: dts: qcom: pmk8350: Correct the GPIO node

From: Matthias Kaehlcke
Date: Tue May 25 2021 - 17:00:07 EST


On Tue, May 25, 2021 at 03:41:03PM +0530, satya priya wrote:
> Add gpio ranges and correct the compatible to add
> "qcom,spmi-gpio" as this pmic is on spmi bus.
>
> Signed-off-by: satya priya <skakit@xxxxxxxxxxxxxx>
> ---
> Changes in V5:
> - This is split from patch [7/11] and added newly in V5.

this should say 'patch [6/8]' I think.

https://patchwork.kernel.org/project/linux-arm-msm/patch/1621318822-29332-7-git-send-email-skakit@xxxxxxxxxxxxxx/

> arch/arm64/boot/dts/qcom/pmk8350.dtsi | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/pmk8350.dtsi b/arch/arm64/boot/dts/qcom/pmk8350.dtsi
> index ecd5ccd..04fc263 100644
> --- a/arch/arm64/boot/dts/qcom/pmk8350.dtsi
> +++ b/arch/arm64/boot/dts/qcom/pmk8350.dtsi
> @@ -62,9 +62,10 @@
> };
>
> pmk8350_gpios: gpio@b000 {
> - compatible = "qcom,pmk8350-gpio";
> + compatible = "qcom,pmk8350-gpio", "qcom,spmi-gpio";
> reg = <0xb000>;
> gpio-controller;
> + gpio-ranges = <&pmk8350_gpios 0 0 4>;
> #gpio-cells = <2>;
> interrupt-controller;
> #interrupt-cells = <2>;

Reviewed-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>