[v1] arm64: dts: qcom: sa8775p: pmic: rectify phandle for gpio-ranges used by pmm8654au_1_gpios

Message ID 20230913094111.14744-1-quic_shazhuss@quicinc.com
State New
Headers
Series [v1] arm64: dts: qcom: sa8775p: pmic: rectify phandle for gpio-ranges used by pmm8654au_1_gpios |

Commit Message

Shazad Hussain Sept. 13, 2023, 9:41 a.m. UTC
  Use correct phandle pmm8654au_1_gpios referred by gpio-ranges for
pmic pmm8654au_1.

Fixes: e5a893a7cec5 ("arm64: dts: qcom: sa8775p: add PMIC GPIO controller nodes")
Reported-by: Anant Goel <quic_anantg@quicinc.com>
Signed-off-by: Shazad Hussain <quic_shazhuss@quicinc.com>
---
 arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Konrad Dybcio Sept. 13, 2023, 9:45 a.m. UTC | #1
On 13.09.2023 11:41, Shazad Hussain wrote:
> Use correct phandle pmm8654au_1_gpios referred by gpio-ranges for
> pmic pmm8654au_1.
> 
> Fixes: e5a893a7cec5 ("arm64: dts: qcom: sa8775p: add PMIC GPIO controller nodes")
> Reported-by: Anant Goel <quic_anantg@quicinc.com>
> Signed-off-by: Shazad Hussain <quic_shazhuss@quicinc.com>
> ---
https://lore.kernel.org/linux-arm-msm/20230818135538.47481-1-krzysztof.kozlowski@linaro.org/

Konrad
  
Shazad Hussain Sept. 13, 2023, 9:47 a.m. UTC | #2
On 9/13/2023 3:15 PM, Konrad Dybcio wrote:
> On 13.09.2023 11:41, Shazad Hussain wrote:
>> Use correct phandle pmm8654au_1_gpios referred by gpio-ranges for
>> pmic pmm8654au_1.
>>
>> Fixes: e5a893a7cec5 ("arm64: dts: qcom: sa8775p: add PMIC GPIO controller nodes")
>> Reported-by: Anant Goel <quic_anantg@quicinc.com>
>> Signed-off-by: Shazad Hussain <quic_shazhuss@quicinc.com>
>> ---
> https://lore.kernel.org/linux-arm-msm/20230818135538.47481-1-krzysztof.kozlowski@linaro.org/
> 
> Konrad

Thanks Konrad for pointing this out :)

-Shazad
  
Krzysztof Kozlowski Sept. 13, 2023, 10:10 a.m. UTC | #3
On 13/09/2023 11:41, Shazad Hussain wrote:
> Use correct phandle pmm8654au_1_gpios referred by gpio-ranges for
> pmic pmm8654au_1.
> 
> Fixes: e5a893a7cec5 ("arm64: dts: qcom: sa8775p: add PMIC GPIO controller nodes")
> Reported-by: Anant Goel <quic_anantg@quicinc.com>
> Signed-off-by: Shazad Hussain <quic_shazhuss@quicinc.com>

This was already reported and fixed.

Best regards,
Krzysztof
  

Patch

diff --git a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi b/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi
index 3c3b6287cd27..eaa43f022a65 100644
--- a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi
+++ b/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi
@@ -173,7 +173,7 @@ 
 			compatible = "qcom,pmm8654au-gpio", "qcom,spmi-gpio";
 			reg = <0x8800>;
 			gpio-controller;
-			gpio-ranges = <&pmm8654au_2_gpios 0 0 12>;
+			gpio-ranges = <&pmm8654au_1_gpios 0 0 12>;
 			#gpio-cells = <2>;
 			interrupt-controller;
 			#interrupt-cells = <2>;