]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: sdm670: add refgen regulator and use it for DSI
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Sun, 21 Sep 2025 07:09:23 +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-7-9d93e64133ea@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sdm670.dtsi

index c33f3de779f6ef457a3336fa4fbe39175c378cce..c3264a31bccf25fca9eae7fa7734ff43c9db410a 100644 (file)
                        };
                };
 
+               refgen: regulator@ff1000 {
+                       compatible = "qcom,sdm670-refgen-regulator",
+                                    "qcom,sdm845-refgen-regulator";
+                       reg = <0x0 0x00ff1000 0x0 0x60>;
+               };
+
                mem_noc: interconnect@1380000 {
                        compatible = "qcom,sdm670-mem-noc";
                        reg = <0 0x01380000 0 0x27200>;
 
                                phys = <&mdss_dsi0_phy>;
 
+                               refgen-supply = <&refgen>;
+
                                #address-cells = <1>;
                                #size-cells = <0>;
 
 
                                phys = <&mdss_dsi1_phy>;
 
+                               refgen-supply = <&refgen>;
+
                                #address-cells = <1>;
                                #size-cells = <0>;