]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: sm6350: add refgen regulator and use it for DSI
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Sun, 21 Sep 2025 07:09:25 +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 controller.

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

index 8459b27cacc72a4827a2e289e669163ad6250059..dd009569a6683a25f13b068e3e0bd8746b2ac501 100644 (file)
                        resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
                };
 
+               refgen: regulator@88e7000 {
+                       compatible = "qcom,sm6350-refgen-regulator",
+                                    "qcom,sm8250-refgen-regulator";
+                       reg = <0x0 0x088e7000 0x0 0x84>;
+               };
+
                usb_1_qmpphy: phy@88e8000 {
                        compatible = "qcom,sm6350-qmp-usb3-dp-phy";
                        reg = <0x0 0x088e8000 0x0 0x3000>;
                                phys = <&mdss_dsi0_phy>;
                                phy-names = "dsi";
 
+                               refgen-supply = <&refgen>;
+
                                #address-cells = <1>;
                                #size-cells = <0>;