Message ID | 1621937466-1502-5-git-send-email-skakit@codeaurora.org (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | Add PMIC DT files for sc7280 | expand |
On Tue, May 25, 2021 at 03:40:59PM +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@codeaurora.org> > --- > Changes in V5: > - This is split from patch [3/11] and added newly in V5. isn't the split from patch [4/8]? https://patchwork.kernel.org/project/linux-arm-msm/patch/1621318822-29332-5-git-send-email-skakit@codeaurora.org/ > arch/arm64/boot/dts/qcom/pm8350c.dtsi | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/qcom/pm8350c.dtsi b/arch/arm64/boot/dts/qcom/pm8350c.dtsi > index f926508..e1b75ae 100644 > --- a/arch/arm64/boot/dts/qcom/pm8350c.dtsi > +++ b/arch/arm64/boot/dts/qcom/pm8350c.dtsi > @@ -21,9 +21,10 @@ > }; > > pm8350c_gpios: gpio@8800 { > - compatible = "qcom,pm8350c-gpio"; > + compatible = "qcom,pm8350c-gpio", "qcom,spmi-gpio"; > reg = <0x8800>; > gpio-controller; > + gpio-ranges = <&pm8350c_gpios 0 0 9>; > #gpio-cells = <2>; > interrupt-controller; > #interrupt-cells = <2>; Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
diff --git a/arch/arm64/boot/dts/qcom/pm8350c.dtsi b/arch/arm64/boot/dts/qcom/pm8350c.dtsi index f926508..e1b75ae 100644 --- a/arch/arm64/boot/dts/qcom/pm8350c.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8350c.dtsi @@ -21,9 +21,10 @@ }; pm8350c_gpios: gpio@8800 { - compatible = "qcom,pm8350c-gpio"; + compatible = "qcom,pm8350c-gpio", "qcom,spmi-gpio"; reg = <0x8800>; gpio-controller; + gpio-ranges = <&pm8350c_gpios 0 0 9>; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>;
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@codeaurora.org> --- Changes in V5: - This is split from patch [3/11] and added newly in V5. arch/arm64/boot/dts/qcom/pm8350c.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)