]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: x1e80100: Disable the SMB2360 4th instance by default
authorAbel Vesa <abel.vesa@linaro.org>
Mon, 3 Jun 2024 08:17:17 +0000 (11:17 +0300)
committerBjorn Andersson <andersson@kernel.org>
Thu, 6 Jun 2024 03:02:30 +0000 (22:02 -0500)
The CRD board doesn't have the 4th SMB2360 PMIC populated while the QCP
does. So enable it on QCP only. This fixes the warning for the missing
PMIC on CRD as well.

Fixes: 2559e61e7ef4 ("arm64: dts: qcom: x1e80100-pmics: Add the missing PMICs")
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Tested-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240603-x1e80100-dts-pmics-drop-4th-smb2360-from-crd-v2-1-fb63973cc07d@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/x1e80100-pmics.dtsi
arch/arm64/boot/dts/qcom/x1e80100-qcp.dts

index a5662d39fdfffc8f02ea60701ec04da83f7aa153..e34e70922cd3355ecb36a9f4d0c44dadafdb5380 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
 
+               status = "disabled";
+
                smb2360_3_eusb2_repeater: phy@fd00 {
                        compatible = "qcom,smb2360-eusb2-repeater";
                        reg = <0xfd00>;
index 97c81667c6caf7e23db5b568263287b7d5c2aa69..3e72024b72a74a49d2d9c1d1f405a8efbec90d09 100644 (file)
        status = "okay";
 };
 
+&smb2360_3 {
+       status = "okay";
+};
+
 &smb2360_0_eusb2_repeater {
        vdd18-supply = <&vreg_l3d_1p8>;
        vdd3-supply = <&vreg_l2b_3p0>;