* [PATCH 01/14] regulator: dt-bindings: qcom,sdm845-refgen-regulator: document more platforms
2025-09-21 7:09 [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable Dmitry Baryshkov
@ 2025-09-21 7:09 ` Dmitry Baryshkov
2025-09-22 20:36 ` Rob Herring (Arm)
2025-09-21 7:09 ` [PATCH 02/14] arm64: dts: qcom: lemans: move USB PHYs to a proper place Dmitry Baryshkov
` (15 subsequent siblings)
16 siblings, 1 reply; 26+ messages in thread
From: Dmitry Baryshkov @ 2025-09-21 7:09 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Konrad Dybcio, Bjorn Andersson,
cros-qcom-dts-watchers
Cc: linux-arm-msm, linux-kernel, devicetree
Document refgen block being present on SDM670, Lemans and QCS8300
platforms. It should be used to provide reference voltage to DSI
controller.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
.../devicetree/bindings/regulator/qcom,sdm845-refgen-regulator.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/regulator/qcom,sdm845-refgen-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,sdm845-refgen-regulator.yaml
index f02f97d4fdd215f3c83f851a5c5713488051e58d..40f9223d4c27219222a1036dece3b53ce0334a1e 100644
--- a/Documentation/devicetree/bindings/regulator/qcom,sdm845-refgen-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/qcom,sdm845-refgen-regulator.yaml
@@ -23,11 +23,14 @@ properties:
- enum:
- qcom,sc7180-refgen-regulator
- qcom,sc8180x-refgen-regulator
+ - qcom,sdm670-refgen-regulator
- qcom,sm8150-refgen-regulator
- const: qcom,sdm845-refgen-regulator
- items:
- enum:
+ - qcom,qcs8300-refgen-regulator
+ - qcom,sa8775p-refgen-regulator
- qcom,sc7280-refgen-regulator
- qcom,sc8280xp-refgen-regulator
- qcom,sm6350-refgen-regulator
--
2.47.3
^ permalink raw reply related [flat|nested] 26+ messages in thread* Re: [PATCH 01/14] regulator: dt-bindings: qcom,sdm845-refgen-regulator: document more platforms
2025-09-21 7:09 ` [PATCH 01/14] regulator: dt-bindings: qcom,sdm845-refgen-regulator: document more platforms Dmitry Baryshkov
@ 2025-09-22 20:36 ` Rob Herring (Arm)
0 siblings, 0 replies; 26+ messages in thread
From: Rob Herring (Arm) @ 2025-09-22 20:36 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: linux-kernel, Liam Girdwood, Conor Dooley, Konrad Dybcio,
Krzysztof Kozlowski, devicetree, cros-qcom-dts-watchers,
Mark Brown, Bjorn Andersson, linux-arm-msm
On Sun, 21 Sep 2025 10:09:17 +0300, Dmitry Baryshkov wrote:
> Document refgen block being present on SDM670, Lemans and QCS8300
> platforms. It should be used to provide reference voltage to DSI
> controller.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
> .../devicetree/bindings/regulator/qcom,sdm845-refgen-regulator.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 02/14] arm64: dts: qcom: lemans: move USB PHYs to a proper place
2025-09-21 7:09 [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable Dmitry Baryshkov
2025-09-21 7:09 ` [PATCH 01/14] regulator: dt-bindings: qcom,sdm845-refgen-regulator: document more platforms Dmitry Baryshkov
@ 2025-09-21 7:09 ` Dmitry Baryshkov
2025-09-24 13:15 ` Konrad Dybcio
2025-09-21 7:09 ` [PATCH 03/14] arm64: dts: qcom: lemans: add refgen regulator and use it for DSI Dmitry Baryshkov
` (14 subsequent siblings)
16 siblings, 1 reply; 26+ messages in thread
From: Dmitry Baryshkov @ 2025-09-21 7:09 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Konrad Dybcio, Bjorn Andersson,
cros-qcom-dts-watchers
Cc: linux-arm-msm, linux-kernel, devicetree
Sort the lemans.dtsi, moving USB1 and USB2 PHYs to a proper place,
making the DT file sorted by the address.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/lemans.dtsi | 100 +++++++++++++++++------------------
1 file changed, 50 insertions(+), 50 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/lemans.dtsi b/arch/arm64/boot/dts/qcom/lemans.dtsi
index cf685cb186edcade643790ba22f6a900beb85679..7b5f0b4d1be75d1aa757069522bbcf20898a321e 100644
--- a/arch/arm64/boot/dts/qcom/lemans.dtsi
+++ b/arch/arm64/boot/dts/qcom/lemans.dtsi
@@ -3901,6 +3901,32 @@ usb_0_hsphy: phy@88e4000 {
status = "disabled";
};
+ usb_1_hsphy: phy@88e6000 {
+ compatible = "qcom,sa8775p-usb-hs-phy",
+ "qcom,usb-snps-hs-5nm-phy";
+ reg = <0 0x088e6000 0 0x120>;
+ clocks = <&gcc GCC_USB_CLKREF_EN>;
+ clock-names = "ref";
+ resets = <&gcc GCC_USB2_PHY_SEC_BCR>;
+
+ #phy-cells = <0>;
+
+ status = "disabled";
+ };
+
+ usb_2_hsphy: phy@88e7000 {
+ compatible = "qcom,sa8775p-usb-hs-phy",
+ "qcom,usb-snps-hs-5nm-phy";
+ reg = <0 0x088e7000 0 0x120>;
+ clocks = <&gcc GCC_USB_CLKREF_EN>;
+ clock-names = "ref";
+ resets = <&gcc GCC_USB3_PHY_TERT_BCR>;
+
+ #phy-cells = <0>;
+
+ status = "disabled";
+ };
+
usb_0_qmpphy: phy@88e8000 {
compatible = "qcom,sa8775p-qmp-usb3-uni-phy";
reg = <0 0x088e8000 0 0x2000>;
@@ -3925,6 +3951,30 @@ usb_0_qmpphy: phy@88e8000 {
status = "disabled";
};
+ usb_1_qmpphy: phy@88ea000 {
+ compatible = "qcom,sa8775p-qmp-usb3-uni-phy";
+ reg = <0 0x088ea000 0 0x2000>;
+
+ clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
+ <&gcc GCC_USB_CLKREF_EN>,
+ <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>,
+ <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
+ clock-names = "aux", "ref", "com_aux", "pipe";
+
+ resets = <&gcc GCC_USB3_PHY_SEC_BCR>,
+ <&gcc GCC_USB3PHY_PHY_SEC_BCR>;
+ reset-names = "phy", "phy_phy";
+
+ power-domains = <&gcc USB30_SEC_GDSC>;
+
+ #clock-cells = <0>;
+ clock-output-names = "usb3_sec_phy_pipe_clk_src";
+
+ #phy-cells = <0>;
+
+ status = "disabled";
+ };
+
usb_0: usb@a600000 {
compatible = "qcom,sa8775p-dwc3", "qcom,snps-dwc3";
reg = <0 0x0a600000 0 0xfc100>;
@@ -3973,43 +4023,6 @@ usb_0: usb@a600000 {
status = "disabled";
};
- usb_1_hsphy: phy@88e6000 {
- compatible = "qcom,sa8775p-usb-hs-phy",
- "qcom,usb-snps-hs-5nm-phy";
- reg = <0 0x088e6000 0 0x120>;
- clocks = <&gcc GCC_USB_CLKREF_EN>;
- clock-names = "ref";
- resets = <&gcc GCC_USB2_PHY_SEC_BCR>;
-
- #phy-cells = <0>;
-
- status = "disabled";
- };
-
- usb_1_qmpphy: phy@88ea000 {
- compatible = "qcom,sa8775p-qmp-usb3-uni-phy";
- reg = <0 0x088ea000 0 0x2000>;
-
- clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
- <&gcc GCC_USB_CLKREF_EN>,
- <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>,
- <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
- clock-names = "aux", "ref", "com_aux", "pipe";
-
- resets = <&gcc GCC_USB3_PHY_SEC_BCR>,
- <&gcc GCC_USB3PHY_PHY_SEC_BCR>;
- reset-names = "phy", "phy_phy";
-
- power-domains = <&gcc USB30_SEC_GDSC>;
-
- #clock-cells = <0>;
- clock-output-names = "usb3_sec_phy_pipe_clk_src";
-
- #phy-cells = <0>;
-
- status = "disabled";
- };
-
usb_1: usb@a800000 {
compatible = "qcom,sa8775p-dwc3", "qcom,snps-dwc3";
reg = <0 0x0a800000 0 0xfc100>;
@@ -4058,19 +4071,6 @@ usb_1: usb@a800000 {
status = "disabled";
};
- usb_2_hsphy: phy@88e7000 {
- compatible = "qcom,sa8775p-usb-hs-phy",
- "qcom,usb-snps-hs-5nm-phy";
- reg = <0 0x088e7000 0 0x120>;
- clocks = <&gcc GCC_USB_CLKREF_EN>;
- clock-names = "ref";
- resets = <&gcc GCC_USB3_PHY_TERT_BCR>;
-
- #phy-cells = <0>;
-
- status = "disabled";
- };
-
usb_2: usb@a400000 {
compatible = "qcom,sa8775p-dwc3", "qcom,snps-dwc3";
reg = <0 0x0a400000 0 0xfc100>;
--
2.47.3
^ permalink raw reply related [flat|nested] 26+ messages in thread* Re: [PATCH 02/14] arm64: dts: qcom: lemans: move USB PHYs to a proper place
2025-09-21 7:09 ` [PATCH 02/14] arm64: dts: qcom: lemans: move USB PHYs to a proper place Dmitry Baryshkov
@ 2025-09-24 13:15 ` Konrad Dybcio
0 siblings, 0 replies; 26+ messages in thread
From: Konrad Dybcio @ 2025-09-24 13:15 UTC (permalink / raw)
To: Dmitry Baryshkov, Liam Girdwood, Mark Brown, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Konrad Dybcio, Bjorn Andersson,
cros-qcom-dts-watchers
Cc: linux-arm-msm, linux-kernel, devicetree
On 9/21/25 9:09 AM, Dmitry Baryshkov wrote:
> Sort the lemans.dtsi, moving USB1 and USB2 PHYs to a proper place,
> making the DT file sorted by the address.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 03/14] arm64: dts: qcom: lemans: add refgen regulator and use it for DSI
2025-09-21 7:09 [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable Dmitry Baryshkov
2025-09-21 7:09 ` [PATCH 01/14] regulator: dt-bindings: qcom,sdm845-refgen-regulator: document more platforms Dmitry Baryshkov
2025-09-21 7:09 ` [PATCH 02/14] arm64: dts: qcom: lemans: move USB PHYs to a proper place Dmitry Baryshkov
@ 2025-09-21 7:09 ` Dmitry Baryshkov
2025-09-21 7:09 ` [PATCH 04/14] arm64: dts: qcom: sc7180: " Dmitry Baryshkov
` (13 subsequent siblings)
16 siblings, 0 replies; 26+ messages in thread
From: Dmitry Baryshkov @ 2025-09-21 7:09 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Konrad Dybcio, Bjorn Andersson,
cros-qcom-dts-watchers
Cc: linux-arm-msm, linux-kernel, devicetree
Add the refgen regulator block and use it for the DSI controllers.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/lemans.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/lemans.dtsi b/arch/arm64/boot/dts/qcom/lemans.dtsi
index 7b5f0b4d1be75d1aa757069522bbcf20898a321e..b9607cfa117c8a5d71105c7787a8db79d36cc842 100644
--- a/arch/arm64/boot/dts/qcom/lemans.dtsi
+++ b/arch/arm64/boot/dts/qcom/lemans.dtsi
@@ -3975,6 +3975,12 @@ usb_1_qmpphy: phy@88ea000 {
status = "disabled";
};
+ refgen: regulator@891c000 {
+ compatible = "qcom,sa8775p-refgen-regulator",
+ "qcom,sm8250-refgen-regulator";
+ reg = <0x0 0x0891c000 0x0 0x84>;
+ };
+
usb_0: usb@a600000 {
compatible = "qcom,sa8775p-dwc3", "qcom,snps-dwc3";
reg = <0 0x0a600000 0 0xfc100>;
@@ -4899,6 +4905,8 @@ mdss0_dsi0: dsi@ae94000 {
operating-points-v2 = <&mdss_dsi_opp_table>;
power-domains = <&rpmhpd SA8775P_MMCX>;
+ refgen-supply = <&refgen>;
+
#address-cells = <1>;
#size-cells = <0>;
@@ -4981,6 +4989,8 @@ mdss0_dsi1: dsi@ae96000 {
operating-points-v2 = <&mdss_dsi_opp_table>;
power-domains = <&rpmhpd SA8775P_MMCX>;
+ refgen-supply = <&refgen>;
+
#address-cells = <1>;
#size-cells = <0>;
--
2.47.3
^ permalink raw reply related [flat|nested] 26+ messages in thread* [PATCH 04/14] arm64: dts: qcom: sc7180: add refgen regulator and use it for DSI
2025-09-21 7:09 [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable Dmitry Baryshkov
` (2 preceding siblings ...)
2025-09-21 7:09 ` [PATCH 03/14] arm64: dts: qcom: lemans: add refgen regulator and use it for DSI Dmitry Baryshkov
@ 2025-09-21 7:09 ` Dmitry Baryshkov
2025-09-21 7:09 ` [PATCH 05/14] arm64: dts: qcom: sc7280: " Dmitry Baryshkov
` (12 subsequent siblings)
16 siblings, 0 replies; 26+ messages in thread
From: Dmitry Baryshkov @ 2025-09-21 7:09 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Konrad Dybcio, Bjorn Andersson,
cros-qcom-dts-watchers
Cc: linux-arm-msm, linux-kernel, devicetree
Add the refgen regulator block and use it for the DSI controller.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sc7180.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi
index a0df10a97c7f8aa5cd468c8983e74256490d1d06..a47182994c564e036dba25c772454320dc41cc7c 100644
--- a/arch/arm64/boot/dts/qcom/sc7180.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi
@@ -1474,6 +1474,12 @@ uart11: serial@a94000 {
};
};
+ refgen: regulator@ff1000 {
+ compatible = "qcom,sc7180-refgen-regulator",
+ "qcom,sdm845-refgen-regulator";
+ reg = <0x0 0x00ff1000 0x0 0x60>;
+ };
+
config_noc: interconnect@1500000 {
compatible = "qcom,sc7180-config-noc";
reg = <0 0x01500000 0 0x28000>;
@@ -3332,6 +3338,8 @@ mdss_dsi0: dsi@ae94000 {
phys = <&mdss_dsi0_phy>;
+ refgen-supply = <&refgen>;
+
#address-cells = <1>;
#size-cells = <0>;
--
2.47.3
^ permalink raw reply related [flat|nested] 26+ messages in thread* [PATCH 05/14] arm64: dts: qcom: sc7280: add refgen regulator and use it for DSI
2025-09-21 7:09 [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable Dmitry Baryshkov
` (3 preceding siblings ...)
2025-09-21 7:09 ` [PATCH 04/14] arm64: dts: qcom: sc7180: " Dmitry Baryshkov
@ 2025-09-21 7:09 ` Dmitry Baryshkov
2025-09-21 7:09 ` [PATCH 06/14] arm64: dts: qcom: sc8180x: " Dmitry Baryshkov
` (11 subsequent siblings)
16 siblings, 0 replies; 26+ messages in thread
From: Dmitry Baryshkov @ 2025-09-21 7:09 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Konrad Dybcio, Bjorn Andersson,
cros-qcom-dts-watchers
Cc: linux-arm-msm, linux-kernel, devicetree
Add the refgen regulator block and use it for the DSI controller.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sc7280.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi
index 4b04dea57ec8cc652e37f1d93c410404adaadd5d..834596fc3fc0a7f9a7e60ac412d39d09c16d6550 100644
--- a/arch/arm64/boot/dts/qcom/sc7280.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi
@@ -3885,6 +3885,12 @@ usb_2_hsphy: phy@88e4000 {
resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
};
+ refgen: regulator@88e7000 {
+ compatible = "qcom,sc7280-refgen-regulator",
+ "qcom,sm8250-refgen-regulator";
+ reg = <0x0 0x088e7000 0x0 0x84>;
+ };
+
usb_1_qmpphy: phy@88e8000 {
compatible = "qcom,sc7280-qmp-usb3-dp-phy";
reg = <0 0x088e8000 0 0x3000>;
@@ -5074,6 +5080,8 @@ mdss_dsi: dsi@ae94000 {
phys = <&mdss_dsi_phy>;
+ refgen-supply = <&refgen>;
+
#address-cells = <1>;
#size-cells = <0>;
--
2.47.3
^ permalink raw reply related [flat|nested] 26+ messages in thread* [PATCH 06/14] arm64: dts: qcom: sc8180x: add refgen regulator and use it for DSI
2025-09-21 7:09 [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable Dmitry Baryshkov
` (4 preceding siblings ...)
2025-09-21 7:09 ` [PATCH 05/14] arm64: dts: qcom: sc7280: " Dmitry Baryshkov
@ 2025-09-21 7:09 ` Dmitry Baryshkov
2025-09-21 7:09 ` [PATCH 07/14] arm64: dts: qcom: sdm670: " Dmitry Baryshkov
` (10 subsequent siblings)
16 siblings, 0 replies; 26+ messages in thread
From: Dmitry Baryshkov @ 2025-09-21 7:09 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Konrad Dybcio, Bjorn Andersson,
cros-qcom-dts-watchers
Cc: linux-arm-msm, linux-kernel, devicetree
Add the refgen regulator block and use it for the DSI controllers.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sc8180x.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qcom/sc8180x.dtsi
index 85c2afcb417def2be3d99026c7febd9f9db25da3..e3143a4a41c948cf4ddbf4b137a1323366566fdc 100644
--- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi
@@ -2530,6 +2530,12 @@ usb_mp_hsphy1: phy@88e5000 {
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>;
@@ -3116,6 +3122,8 @@ mdss_dsi0: dsi@ae94000 {
phys = <&mdss_dsi0_phy>;
phy-names = "dsi";
+ refgen-supply = <&refgen>;
+
status = "disabled";
ports {
@@ -3203,6 +3211,8 @@ mdss_dsi1: dsi@ae96000 {
phys = <&mdss_dsi1_phy>;
phy-names = "dsi";
+ refgen-supply = <&refgen>;
+
status = "disabled";
ports {
--
2.47.3
^ permalink raw reply related [flat|nested] 26+ messages in thread* [PATCH 07/14] arm64: dts: qcom: sdm670: add refgen regulator and use it for DSI
2025-09-21 7:09 [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable Dmitry Baryshkov
` (5 preceding siblings ...)
2025-09-21 7:09 ` [PATCH 06/14] arm64: dts: qcom: sc8180x: " Dmitry Baryshkov
@ 2025-09-21 7:09 ` Dmitry Baryshkov
2025-09-21 7:09 ` [PATCH 08/14] arm64: dts: qcom: sdm845: " Dmitry Baryshkov
` (9 subsequent siblings)
16 siblings, 0 replies; 26+ messages in thread
From: Dmitry Baryshkov @ 2025-09-21 7:09 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Konrad Dybcio, Bjorn Andersson,
cros-qcom-dts-watchers
Cc: linux-arm-msm, linux-kernel, devicetree
Add the refgen regulator block and use it for the DSI controllers.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sdm670.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm670.dtsi b/arch/arm64/boot/dts/qcom/sdm670.dtsi
index c33f3de779f6ef457a3336fa4fbe39175c378cce..c3264a31bccf25fca9eae7fa7734ff43c9db410a 100644
--- a/arch/arm64/boot/dts/qcom/sdm670.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm670.dtsi
@@ -1124,6 +1124,12 @@ i2c15: i2c@a9c000 {
};
};
+ 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>;
@@ -1926,6 +1932,8 @@ mdss_dsi0: dsi@ae94000 {
phys = <&mdss_dsi0_phy>;
+ refgen-supply = <&refgen>;
+
#address-cells = <1>;
#size-cells = <0>;
@@ -2000,6 +2008,8 @@ mdss_dsi1: dsi@ae96000 {
phys = <&mdss_dsi1_phy>;
+ refgen-supply = <&refgen>;
+
#address-cells = <1>;
#size-cells = <0>;
--
2.47.3
^ permalink raw reply related [flat|nested] 26+ messages in thread* [PATCH 08/14] arm64: dts: qcom: sdm845: add refgen regulator and use it for DSI
2025-09-21 7:09 [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable Dmitry Baryshkov
` (6 preceding siblings ...)
2025-09-21 7:09 ` [PATCH 07/14] arm64: dts: qcom: sdm670: " Dmitry Baryshkov
@ 2025-09-21 7:09 ` Dmitry Baryshkov
2025-09-21 7:09 ` [PATCH 09/14] arm64: dts: qcom: sm6350: " Dmitry Baryshkov
` (8 subsequent siblings)
16 siblings, 0 replies; 26+ messages in thread
From: Dmitry Baryshkov @ 2025-09-21 7:09 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Konrad Dybcio, Bjorn Andersson,
cros-qcom-dts-watchers
Cc: linux-arm-msm, linux-kernel, devicetree
Add the refgen regulator block and use it for the DSI controllers.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sdm845.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index 13c9515260ef171121607e1b8434f64c4934720f..1c3a7371a2d371f78e13a5b0bc400f79c62d210b 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -2218,6 +2218,11 @@ uart15: serial@a9c000 {
};
};
+ refgen: regulator@ff1000 {
+ compatible = "qcom,sdm845-refgen-regulator";
+ reg = <0x0 0x00ff1000 0x0 0x60>;
+ };
+
llcc: system-cache-controller@1100000 {
compatible = "qcom,sdm845-llcc";
reg = <0 0x01100000 0 0x45000>, <0 0x01180000 0 0x50000>,
@@ -4750,6 +4755,8 @@ mdss_dsi0: dsi@ae94000 {
phys = <&mdss_dsi0_phy>;
+ refgen-supply = <&refgen>;
+
status = "disabled";
#address-cells = <1>;
@@ -4824,6 +4831,8 @@ mdss_dsi1: dsi@ae96000 {
phys = <&mdss_dsi1_phy>;
+ refgen-supply = <&refgen>;
+
status = "disabled";
#address-cells = <1>;
--
2.47.3
^ permalink raw reply related [flat|nested] 26+ messages in thread* [PATCH 09/14] arm64: dts: qcom: sm6350: add refgen regulator and use it for DSI
2025-09-21 7:09 [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable Dmitry Baryshkov
` (7 preceding siblings ...)
2025-09-21 7:09 ` [PATCH 08/14] arm64: dts: qcom: sdm845: " Dmitry Baryshkov
@ 2025-09-21 7:09 ` Dmitry Baryshkov
2025-09-23 7:17 ` Luca Weiss
2025-09-21 7:09 ` [PATCH 10/14] arm64: dts: qcom: sm8150: " Dmitry Baryshkov
` (7 subsequent siblings)
16 siblings, 1 reply; 26+ messages in thread
From: Dmitry Baryshkov @ 2025-09-21 7:09 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Konrad Dybcio, Bjorn Andersson,
cros-qcom-dts-watchers
Cc: linux-arm-msm, linux-kernel, devicetree
Add the refgen regulator block and use it for the DSI controller.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sm6350.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi
index 8459b27cacc72a4827a2e289e669163ad6250059..dd009569a6683a25f13b068e3e0bd8746b2ac501 100644
--- a/arch/arm64/boot/dts/qcom/sm6350.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi
@@ -1768,6 +1768,12 @@ usb_1_hsphy: phy@88e3000 {
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>;
@@ -2360,6 +2366,8 @@ mdss_dsi0: dsi@ae94000 {
phys = <&mdss_dsi0_phy>;
phy-names = "dsi";
+ refgen-supply = <&refgen>;
+
#address-cells = <1>;
#size-cells = <0>;
--
2.47.3
^ permalink raw reply related [flat|nested] 26+ messages in thread* Re: [PATCH 09/14] arm64: dts: qcom: sm6350: add refgen regulator and use it for DSI
2025-09-21 7:09 ` [PATCH 09/14] arm64: dts: qcom: sm6350: " Dmitry Baryshkov
@ 2025-09-23 7:17 ` Luca Weiss
2025-09-26 13:27 ` Konrad Dybcio
0 siblings, 1 reply; 26+ messages in thread
From: Luca Weiss @ 2025-09-23 7:17 UTC (permalink / raw)
To: Dmitry Baryshkov, Liam Girdwood, Mark Brown, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Konrad Dybcio, Bjorn Andersson,
cros-qcom-dts-watchers
Cc: linux-arm-msm, linux-kernel, devicetree
Hi Dmitry,
On Sun Sep 21, 2025 at 9:09 AM CEST, Dmitry Baryshkov wrote:
> Add the refgen regulator block and use it for the DSI controller.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
> arch/arm64/boot/dts/qcom/sm6350.dtsi | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi
> index 8459b27cacc72a4827a2e289e669163ad6250059..dd009569a6683a25f13b068e3e0bd8746b2ac501 100644
> --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi
> @@ -1768,6 +1768,12 @@ usb_1_hsphy: phy@88e3000 {
> resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
> };
>
> + refgen: regulator@88e7000 {
> + compatible = "qcom,sm6350-refgen-regulator",
> + "qcom,sm8250-refgen-regulator";
> + reg = <0x0 0x088e7000 0x0 0x84>;
Are you sure the size is 0x84? Downstream and hwio_bitra_V1.cmm would
suggest size to be 0x60.
For sc7280, hwio_kodiak_E5.0.cmm does say 0x84 for refgen.
Apart from that, it's also what I have lying around somewhere, should've
upstreamed this already.
Reviewed-by: Luca Weiss <luca.weiss@fairphone.com>
Regards
Luca
> + };
> +
> usb_1_qmpphy: phy@88e8000 {
> compatible = "qcom,sm6350-qmp-usb3-dp-phy";
> reg = <0x0 0x088e8000 0x0 0x3000>;
> @@ -2360,6 +2366,8 @@ mdss_dsi0: dsi@ae94000 {
> phys = <&mdss_dsi0_phy>;
> phy-names = "dsi";
>
> + refgen-supply = <&refgen>;
> +
> #address-cells = <1>;
> #size-cells = <0>;
>
^ permalink raw reply [flat|nested] 26+ messages in thread* Re: [PATCH 09/14] arm64: dts: qcom: sm6350: add refgen regulator and use it for DSI
2025-09-23 7:17 ` Luca Weiss
@ 2025-09-26 13:27 ` Konrad Dybcio
2025-09-26 13:44 ` Dmitry Baryshkov
0 siblings, 1 reply; 26+ messages in thread
From: Konrad Dybcio @ 2025-09-26 13:27 UTC (permalink / raw)
To: Luca Weiss, Dmitry Baryshkov, Liam Girdwood, Mark Brown,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Konrad Dybcio,
Bjorn Andersson, cros-qcom-dts-watchers
Cc: linux-arm-msm, linux-kernel, devicetree
On 9/23/25 9:17 AM, Luca Weiss wrote:
> Hi Dmitry,
>
> On Sun Sep 21, 2025 at 9:09 AM CEST, Dmitry Baryshkov wrote:
>> Add the refgen regulator block and use it for the DSI controller.
>>
>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
>> ---
>> arch/arm64/boot/dts/qcom/sm6350.dtsi | 8 ++++++++
>> 1 file changed, 8 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi
>> index 8459b27cacc72a4827a2e289e669163ad6250059..dd009569a6683a25f13b068e3e0bd8746b2ac501 100644
>> --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi
>> @@ -1768,6 +1768,12 @@ usb_1_hsphy: phy@88e3000 {
>> resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
>> };
>>
>> + refgen: regulator@88e7000 {
>> + compatible = "qcom,sm6350-refgen-regulator",
>> + "qcom,sm8250-refgen-regulator";
>> + reg = <0x0 0x088e7000 0x0 0x84>;
>
> Are you sure the size is 0x84? Downstream and hwio_bitra_V1.cmm would
> suggest size to be 0x60.
>
> For sc7280, hwio_kodiak_E5.0.cmm does say 0x84 for refgen.
0x60
moreover, I see that there are two refgen regulators..
Konrad
^ permalink raw reply [flat|nested] 26+ messages in thread* Re: [PATCH 09/14] arm64: dts: qcom: sm6350: add refgen regulator and use it for DSI
2025-09-26 13:27 ` Konrad Dybcio
@ 2025-09-26 13:44 ` Dmitry Baryshkov
2025-09-26 13:48 ` Konrad Dybcio
0 siblings, 1 reply; 26+ messages in thread
From: Dmitry Baryshkov @ 2025-09-26 13:44 UTC (permalink / raw)
To: Konrad Dybcio
Cc: Luca Weiss, Liam Girdwood, Mark Brown, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Konrad Dybcio, Bjorn Andersson,
cros-qcom-dts-watchers, linux-arm-msm, linux-kernel, devicetree
On Fri, Sep 26, 2025 at 03:27:24PM +0200, Konrad Dybcio wrote:
> On 9/23/25 9:17 AM, Luca Weiss wrote:
> > Hi Dmitry,
> >
> > On Sun Sep 21, 2025 at 9:09 AM CEST, Dmitry Baryshkov wrote:
> >> Add the refgen regulator block and use it for the DSI controller.
> >>
> >> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> >> ---
> >> arch/arm64/boot/dts/qcom/sm6350.dtsi | 8 ++++++++
> >> 1 file changed, 8 insertions(+)
> >>
> >> diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi
> >> index 8459b27cacc72a4827a2e289e669163ad6250059..dd009569a6683a25f13b068e3e0bd8746b2ac501 100644
> >> --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi
> >> +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi
> >> @@ -1768,6 +1768,12 @@ usb_1_hsphy: phy@88e3000 {
> >> resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
> >> };
> >>
> >> + refgen: regulator@88e7000 {
> >> + compatible = "qcom,sm6350-refgen-regulator",
> >> + "qcom,sm8250-refgen-regulator";
> >> + reg = <0x0 0x088e7000 0x0 0x84>;
> >
> > Are you sure the size is 0x84? Downstream and hwio_bitra_V1.cmm would
> > suggest size to be 0x60.
> >
> > For sc7280, hwio_kodiak_E5.0.cmm does say 0x84 for refgen.
>
> 0x60
>
> moreover, I see that there are two refgen regulators..
There are two refgens on each of the platforms, but I think the other
one is used in the automatic way. The HPG only tells us about
programming this one.
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 26+ messages in thread* Re: [PATCH 09/14] arm64: dts: qcom: sm6350: add refgen regulator and use it for DSI
2025-09-26 13:44 ` Dmitry Baryshkov
@ 2025-09-26 13:48 ` Konrad Dybcio
0 siblings, 0 replies; 26+ messages in thread
From: Konrad Dybcio @ 2025-09-26 13:48 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Luca Weiss, Liam Girdwood, Mark Brown, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Konrad Dybcio, Bjorn Andersson,
cros-qcom-dts-watchers, linux-arm-msm, linux-kernel, devicetree
On 9/26/25 3:44 PM, Dmitry Baryshkov wrote:
> On Fri, Sep 26, 2025 at 03:27:24PM +0200, Konrad Dybcio wrote:
>> On 9/23/25 9:17 AM, Luca Weiss wrote:
>>> Hi Dmitry,
>>>
>>> On Sun Sep 21, 2025 at 9:09 AM CEST, Dmitry Baryshkov wrote:
>>>> Add the refgen regulator block and use it for the DSI controller.
>>>>
>>>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
>>>> ---
>>>> arch/arm64/boot/dts/qcom/sm6350.dtsi | 8 ++++++++
>>>> 1 file changed, 8 insertions(+)
>>>>
>>>> diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi
>>>> index 8459b27cacc72a4827a2e289e669163ad6250059..dd009569a6683a25f13b068e3e0bd8746b2ac501 100644
>>>> --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi
>>>> +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi
>>>> @@ -1768,6 +1768,12 @@ usb_1_hsphy: phy@88e3000 {
>>>> resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
>>>> };
>>>>
>>>> + refgen: regulator@88e7000 {
>>>> + compatible = "qcom,sm6350-refgen-regulator",
>>>> + "qcom,sm8250-refgen-regulator";
>>>> + reg = <0x0 0x088e7000 0x0 0x84>;
>>>
>>> Are you sure the size is 0x84? Downstream and hwio_bitra_V1.cmm would
>>> suggest size to be 0x60.
>>>
>>> For sc7280, hwio_kodiak_E5.0.cmm does say 0x84 for refgen.
>>
>> 0x60
>>
>> moreover, I see that there are two refgen regulators..
>
> There are two refgens on each of the platforms, but I think the other
> one is used in the automatic way. The HPG only tells us about
> programming this one.
OK thanks for checking that
Konrad
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 10/14] arm64: dts: qcom: sm8150: add refgen regulator and use it for DSI
2025-09-21 7:09 [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable Dmitry Baryshkov
` (8 preceding siblings ...)
2025-09-21 7:09 ` [PATCH 09/14] arm64: dts: qcom: sm6350: " Dmitry Baryshkov
@ 2025-09-21 7:09 ` Dmitry Baryshkov
2025-09-21 7:09 ` [PATCH 11/14] arm64: dts: qcom: sm8250: " Dmitry Baryshkov
` (6 subsequent siblings)
16 siblings, 0 replies; 26+ messages in thread
From: Dmitry Baryshkov @ 2025-09-21 7:09 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Konrad Dybcio, Bjorn Andersson,
cros-qcom-dts-watchers
Cc: linux-arm-msm, linux-kernel, devicetree
Add the refgen regulator block and use it for the DSI controller.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sm8150.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
index acdba79612aa8f8ad714ffd93d84ac572afdd47a..1ea2beb9e2eaccf0e39dd2baea853d0152e48477 100644
--- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
@@ -3469,6 +3469,12 @@ usb_2_hsphy: phy@88e3000 {
resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
};
+ refgen: regulator@88e7000 {
+ compatible = "qcom,sm8150-refgen-regulator",
+ "qcom,sdm845-refgen-regulator";
+ reg = <0x0 0x088e7000 0x0 0x60>;
+ };
+
usb_1_qmpphy: phy@88e8000 {
compatible = "qcom,sm8150-qmp-usb3-dp-phy";
reg = <0 0x088e8000 0 0x3000>;
@@ -3992,6 +3998,8 @@ mdss_dsi0: dsi@ae94000 {
phys = <&mdss_dsi0_phy>;
+ refgen-supply = <&refgen>;
+
status = "disabled";
#address-cells = <1>;
@@ -4085,6 +4093,8 @@ mdss_dsi1: dsi@ae96000 {
phys = <&mdss_dsi1_phy>;
+ refgen-supply = <&refgen>;
+
status = "disabled";
#address-cells = <1>;
--
2.47.3
^ permalink raw reply related [flat|nested] 26+ messages in thread* [PATCH 11/14] arm64: dts: qcom: sm8250: add refgen regulator and use it for DSI
2025-09-21 7:09 [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable Dmitry Baryshkov
` (9 preceding siblings ...)
2025-09-21 7:09 ` [PATCH 10/14] arm64: dts: qcom: sm8150: " Dmitry Baryshkov
@ 2025-09-21 7:09 ` Dmitry Baryshkov
2025-09-21 7:09 ` [PATCH 12/14] arm64: dts: qcom: qcs8300: add refgen regulator Dmitry Baryshkov
` (5 subsequent siblings)
16 siblings, 0 replies; 26+ messages in thread
From: Dmitry Baryshkov @ 2025-09-21 7:09 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Konrad Dybcio, Bjorn Andersson,
cros-qcom-dts-watchers
Cc: linux-arm-msm, linux-kernel, devicetree
Add the refgen regulator block and use it for the DSI controller.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sm8250.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
index 50dd11432bb2e8d4e9c811b31192331c424f205c..8248ac3119f12919d4988f4bec34fed7139e13e6 100644
--- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
@@ -3901,6 +3901,11 @@ usb_2_hsphy: phy@88e4000 {
resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
};
+ refgen: regulator@88e7000 {
+ compatible = "qcom,sm8250-refgen-regulator";
+ reg = <0x0 0x088e7000 0x0 0x84>;
+ };
+
usb_1_qmpphy: phy@88e8000 {
compatible = "qcom,sm8250-qmp-usb3-dp-phy";
reg = <0 0x088e8000 0 0x3000>;
@@ -4873,6 +4878,8 @@ mdss_dsi0: dsi@ae94000 {
phys = <&mdss_dsi0_phy>;
+ refgen-supply = <&refgen>;
+
status = "disabled";
#address-cells = <1>;
@@ -4967,6 +4974,8 @@ mdss_dsi1: dsi@ae96000 {
phys = <&mdss_dsi1_phy>;
+ refgen-supply = <&refgen>;
+
status = "disabled";
#address-cells = <1>;
--
2.47.3
^ permalink raw reply related [flat|nested] 26+ messages in thread* [PATCH 12/14] arm64: dts: qcom: qcs8300: add refgen regulator
2025-09-21 7:09 [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable Dmitry Baryshkov
` (10 preceding siblings ...)
2025-09-21 7:09 ` [PATCH 11/14] arm64: dts: qcom: sm8250: " Dmitry Baryshkov
@ 2025-09-21 7:09 ` Dmitry Baryshkov
2025-09-21 7:09 ` [PATCH 13/14] arm64: dts: qcom: sc8280xp: " Dmitry Baryshkov
` (4 subsequent siblings)
16 siblings, 0 replies; 26+ messages in thread
From: Dmitry Baryshkov @ 2025-09-21 7:09 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Konrad Dybcio, Bjorn Andersson,
cros-qcom-dts-watchers
Cc: linux-arm-msm, linux-kernel, devicetree
Add the refgen regulator block. It should be used for DSI controllers
once they are added.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/qcs8300.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/qcs8300.dtsi b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
index 8d78ccac411e495592a6ff532c99e7aba087d18c..1bcbac852c8aee6b7a68f5f90eac6831e67d8caf 100644
--- a/arch/arm64/boot/dts/qcom/qcs8300.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
@@ -4294,6 +4294,12 @@ serdes0: phy@8909000 {
status = "disabled";
};
+ refgen: regulator@891c000 {
+ compatible = "qcom,qcs8300-refgen-regulator",
+ "qcom,sm8250-refgen-regulator";
+ reg = <0x0 0x0891c000 0x0 0x84>;
+ };
+
gpu: gpu@3d00000 {
compatible = "qcom,adreno-623.0", "qcom,adreno";
reg = <0x0 0x03d00000 0x0 0x40000>,
--
2.47.3
^ permalink raw reply related [flat|nested] 26+ messages in thread* [PATCH 13/14] arm64: dts: qcom: sc8280xp: add refgen regulator
2025-09-21 7:09 [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable Dmitry Baryshkov
` (11 preceding siblings ...)
2025-09-21 7:09 ` [PATCH 12/14] arm64: dts: qcom: qcs8300: add refgen regulator Dmitry Baryshkov
@ 2025-09-21 7:09 ` Dmitry Baryshkov
2025-09-21 7:09 ` [PATCH 14/14] arm64: dts: qcom: sm6375: " Dmitry Baryshkov
` (3 subsequent siblings)
16 siblings, 0 replies; 26+ messages in thread
From: Dmitry Baryshkov @ 2025-09-21 7:09 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Konrad Dybcio, Bjorn Andersson,
cros-qcom-dts-watchers
Cc: linux-arm-msm, linux-kernel, devicetree
Add the refgen regulator block. It should be used for DSI controllers
once they are added.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
index 279e5e6beae2099f26b8e0b8576cd6c99fa856ef..e48efbd13bfa8dba71928ef11b80ac27eb4b6f85 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
@@ -3723,6 +3723,12 @@ usb_2_qmpphy1: phy@88f1000 {
status = "disabled";
};
+ refgen: regulator@8900000 {
+ compatible = "qcom,sc8280xp-refgen-regulator",
+ "qcom,sm8250-refgen-regulator";
+ reg = <0x0 0x08900000 0x0 0x96>;
+ };
+
usb_1_hsphy: phy@8902000 {
compatible = "qcom,sc8280xp-usb-hs-phy",
"qcom,usb-snps-hs-5nm-phy";
--
2.47.3
^ permalink raw reply related [flat|nested] 26+ messages in thread* [PATCH 14/14] arm64: dts: qcom: sm6375: add refgen regulator
2025-09-21 7:09 [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable Dmitry Baryshkov
` (12 preceding siblings ...)
2025-09-21 7:09 ` [PATCH 13/14] arm64: dts: qcom: sc8280xp: " Dmitry Baryshkov
@ 2025-09-21 7:09 ` Dmitry Baryshkov
2025-09-23 15:31 ` (subset) [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable Mark Brown
` (2 subsequent siblings)
16 siblings, 0 replies; 26+ messages in thread
From: Dmitry Baryshkov @ 2025-09-21 7:09 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Konrad Dybcio, Bjorn Andersson,
cros-qcom-dts-watchers
Cc: linux-arm-msm, linux-kernel, devicetree
Add the refgen regulator block. It should be used for DSI controllers
once they are added.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sm6375.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi
index 0faa3a40ff824a19eb238fec8665de58a983937b..87d6600ccbd94e60309c321fb4af87b35006af58 100644
--- a/arch/arm64/boot/dts/qcom/sm6375.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi
@@ -971,6 +971,12 @@ usb_1_hsphy: phy@162b000 {
status = "disabled";
};
+ refgen: regulator@162f000 {
+ compatible = "qcom,sm6375-refgen-regulator",
+ "qcom,sm8250-refgen-regulator";
+ reg = <0x0 0x0162f000 0x0 0x84>;
+ };
+
spmi_bus: spmi@1c40000 {
compatible = "qcom,spmi-pmic-arb";
reg = <0 0x01c40000 0 0x1100>,
--
2.47.3
^ permalink raw reply related [flat|nested] 26+ messages in thread* Re: (subset) [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable
2025-09-21 7:09 [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable Dmitry Baryshkov
` (13 preceding siblings ...)
2025-09-21 7:09 ` [PATCH 14/14] arm64: dts: qcom: sm6375: " Dmitry Baryshkov
@ 2025-09-23 15:31 ` Mark Brown
2025-09-24 10:13 ` Konrad Dybcio
2025-10-27 22:36 ` Bjorn Andersson
16 siblings, 0 replies; 26+ messages in thread
From: Mark Brown @ 2025-09-23 15:31 UTC (permalink / raw)
To: Liam Girdwood, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Konrad Dybcio, Bjorn Andersson, cros-qcom-dts-watchers,
Dmitry Baryshkov
Cc: linux-arm-msm, linux-kernel, devicetree
On Sun, 21 Sep 2025 10:09:16 +0300, Dmitry Baryshkov wrote:
> On several Qualcomm platforms the DSI internally is using the refgen
> regulator. Document the regulator for the SDM670, Lemans and QCS8300
> platforms. Add corresponding device nodes and link them as a supply to
> the DSI node.
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
Thanks!
[01/14] regulator: dt-bindings: qcom,sdm845-refgen-regulator: document more platforms
commit: e609438851928381e39b5393f17156955a84122a
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 26+ messages in thread* Re: [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable
2025-09-21 7:09 [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable Dmitry Baryshkov
` (14 preceding siblings ...)
2025-09-23 15:31 ` (subset) [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable Mark Brown
@ 2025-09-24 10:13 ` Konrad Dybcio
2025-09-24 17:32 ` Dmitry Baryshkov
2025-10-27 22:36 ` Bjorn Andersson
16 siblings, 1 reply; 26+ messages in thread
From: Konrad Dybcio @ 2025-09-24 10:13 UTC (permalink / raw)
To: Dmitry Baryshkov, Liam Girdwood, Mark Brown, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Konrad Dybcio, Bjorn Andersson,
cros-qcom-dts-watchers
Cc: linux-arm-msm, linux-kernel, devicetree
On 9/21/25 9:09 AM, Dmitry Baryshkov wrote:
> On several Qualcomm platforms the DSI internally is using the refgen
> regulator. Document the regulator for the SDM670, Lemans and QCS8300
> platforms. Add corresponding device nodes and link them as a supply to
> the DSI node.
It's likely that all PHY-ish hardware uses REFGEN, so please make
extra sure your patches won't kill DP/USB/camera
Konrad
^ permalink raw reply [flat|nested] 26+ messages in thread* Re: [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable
2025-09-24 10:13 ` Konrad Dybcio
@ 2025-09-24 17:32 ` Dmitry Baryshkov
2025-09-24 18:13 ` Konrad Dybcio
0 siblings, 1 reply; 26+ messages in thread
From: Dmitry Baryshkov @ 2025-09-24 17:32 UTC (permalink / raw)
To: Konrad Dybcio
Cc: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Konrad Dybcio, Bjorn Andersson,
cros-qcom-dts-watchers, linux-arm-msm, linux-kernel, devicetree
On Wed, 24 Sept 2025 at 13:13, Konrad Dybcio
<konrad.dybcio@oss.qualcomm.com> wrote:
>
> On 9/21/25 9:09 AM, Dmitry Baryshkov wrote:
> > On several Qualcomm platforms the DSI internally is using the refgen
> > regulator. Document the regulator for the SDM670, Lemans and QCS8300
> > platforms. Add corresponding device nodes and link them as a supply to
> > the DSI node.
>
> It's likely that all PHY-ish hardware uses REFGEN, so please make
> extra sure your patches won't kill DP/USB/camera
As far as I understand, DP and USB cast their votes directly in HW.
For camera... I don't know. Do we need an extra vote?
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable
2025-09-24 17:32 ` Dmitry Baryshkov
@ 2025-09-24 18:13 ` Konrad Dybcio
0 siblings, 0 replies; 26+ messages in thread
From: Konrad Dybcio @ 2025-09-24 18:13 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Konrad Dybcio, Bjorn Andersson,
cros-qcom-dts-watchers, linux-arm-msm, linux-kernel, devicetree
On 9/24/25 7:32 PM, Dmitry Baryshkov wrote:
> On Wed, 24 Sept 2025 at 13:13, Konrad Dybcio
> <konrad.dybcio@oss.qualcomm.com> wrote:
>>
>> On 9/21/25 9:09 AM, Dmitry Baryshkov wrote:
>>> On several Qualcomm platforms the DSI internally is using the refgen
>>> regulator. Document the regulator for the SDM670, Lemans and QCS8300
>>> platforms. Add corresponding device nodes and link them as a supply to
>>> the DSI node.
>>
>> It's likely that all PHY-ish hardware uses REFGEN, so please make
>> extra sure your patches won't kill DP/USB/camera
>
> As far as I understand, DP and USB cast their votes directly in HW.
> For camera... I don't know. Do we need an extra vote?
$ rg refgen-supply arch -l
arch/arm64/boot/dts/qcom/lito-camera.dtsi
arch/arm64/boot/dts/qcom/kona-camera.dtsi
arch/arm64/boot/dts/qcom/lagoon-camera.dtsi
arch/arm64/boot/dts/qcom/lahaina-sde.dtsi
arch/arm64/boot/dts/qcom/kona-sde.dtsi
Konrad
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable
2025-09-21 7:09 [PATCH 00/14] arm64: dts: qcom: add refgen regulators where applicable Dmitry Baryshkov
` (15 preceding siblings ...)
2025-09-24 10:13 ` Konrad Dybcio
@ 2025-10-27 22:36 ` Bjorn Andersson
16 siblings, 0 replies; 26+ messages in thread
From: Bjorn Andersson @ 2025-10-27 22:36 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Konrad Dybcio, cros-qcom-dts-watchers,
Dmitry Baryshkov
Cc: linux-arm-msm, linux-kernel, devicetree
On Sun, 21 Sep 2025 10:09:16 +0300, Dmitry Baryshkov wrote:
> On several Qualcomm platforms the DSI internally is using the refgen
> regulator. Document the regulator for the SDM670, Lemans and QCS8300
> platforms. Add corresponding device nodes and link them as a supply to
> the DSI node.
>
>
Applied, thanks!
[01/14] regulator: dt-bindings: qcom,sdm845-refgen-regulator: document more platforms
(no commit info)
[02/14] arm64: dts: qcom: lemans: move USB PHYs to a proper place
commit: 883e20433fe586a6d3e1332d25f5e675921fefd9
[03/14] arm64: dts: qcom: lemans: add refgen regulator and use it for DSI
commit: 7522c9ffaa97041a1a5dfdcb460d2a2b89f860b1
[04/14] arm64: dts: qcom: sc7180: add refgen regulator and use it for DSI
commit: ac44b60f5d12cc5531dd04619b6fc31d84ee4091
[05/14] arm64: dts: qcom: sc7280: add refgen regulator and use it for DSI
commit: f8cfb1932ce35c149bec81ea50fdf9b7472c6013
[06/14] arm64: dts: qcom: sc8180x: add refgen regulator and use it for DSI
commit: 4be2ab8c4e7d35e287962f640a0994982776d4ce
[07/14] arm64: dts: qcom: sdm670: add refgen regulator and use it for DSI
commit: 7223744176ef40969da0caa9dcc3588baa773b99
[08/14] arm64: dts: qcom: sdm845: add refgen regulator and use it for DSI
commit: ca031c24bf66dc51e9304917243ca4d1a5dfa110
[09/14] arm64: dts: qcom: sm6350: add refgen regulator and use it for DSI
commit: e53107df09622c3a6c534ff4bffad9634d05c41e
[10/14] arm64: dts: qcom: sm8150: add refgen regulator and use it for DSI
commit: 0aa588760dd9f2f3d35eecd0a2120afe332b636d
[11/14] arm64: dts: qcom: sm8250: add refgen regulator and use it for DSI
commit: 3aedde1859f341f0f631330928872c535769e20b
[12/14] arm64: dts: qcom: qcs8300: add refgen regulator
commit: 2c9e4d7c6896ef285e884f0abf5c15d198cea469
[13/14] arm64: dts: qcom: sc8280xp: add refgen regulator
commit: d4d1e799e9bf98ddd05023dd98860079e641c547
[14/14] arm64: dts: qcom: sm6375: add refgen regulator
commit: afec70ac038bbd3666677436eb1ec0faf0504f72
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 26+ messages in thread