]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: sc8180x: add refgen regulator and use it for DSI
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Sun, 21 Sep 2025 07:09:22 +0000 (10:09 +0300)
committerBjorn Andersson <andersson@kernel.org>
Mon, 27 Oct 2025 15:09:58 +0000 (10:09 -0500)
Add the refgen regulator block and use it for the DSI controllers.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250921-refgen-v1-6-9d93e64133ea@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sc8180x.dtsi

index 85c2afcb417def2be3d99026c7febd9f9db25da3..e3143a4a41c948cf4ddbf4b137a1323366566fdc 100644 (file)
                        status = "disabled";
                };
 
+               refgen: regulator@88e7000 {
+                       compatible = "qcom,sc8180x-refgen-regulator",
+                                    "qcom,sdm845-refgen-regulator";
+                       reg = <0x0 0x088e7000 0x0 0x60>;
+               };
+
                usb_prim_qmpphy: phy@88e8000 {
                        compatible = "qcom,sc8180x-qmp-usb3-dp-phy";
                        reg = <0 0x088e8000 0 0x3000>;
                                phys = <&mdss_dsi0_phy>;
                                phy-names = "dsi";
 
+                               refgen-supply = <&refgen>;
+
                                status = "disabled";
 
                                ports {
                                phys = <&mdss_dsi1_phy>;
                                phy-names = "dsi";
 
+                               refgen-supply = <&refgen>;
+
                                status = "disabled";
 
                                ports {