[PATCH RFC] arm64: dts: qcom: qcs6490-rb3gen2: power on onboard uPD720201 controller

Dmitry Baryshkov posted 1 patch 4 weeks, 1 day ago
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
[PATCH RFC] arm64: dts: qcom: qcs6490-rb3gen2: power on onboard uPD720201 controller
Posted by Dmitry Baryshkov 4 weeks, 1 day ago
One of ports of the TC9563 bridge is connected to the PCIe Renesas host
controller. Specify the voltage regulator, powering on the USB host
controller.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
Note, with these changes I can't get the onboard hub / ASIX controller
to work. Most likely those need to be powered on separately, but my
quick attempts to do it failed up to now.
---
 arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
index e3d2f01881ae..ddb5a381b724 100644
--- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
+++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
@@ -217,6 +217,17 @@ pmic_glink_sbu_in: endpoint {
 		};
 	};
 
+	vreg_pcie0_3v3: regulator-pcie0-3v3 {
+		compatible = "regulator-fixed";
+		regulator-name = "PCIE0-3V3";
+		gpio = <&pm7250b_gpios 1 GPIO_ACTIVE_HIGH>;
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		enable-active-high;
+		pinctrl-0 = <&pcie0_3v3_en>;
+		pinctrl-names = "default";
+	};
+
 	vph_pwr: regulator-vph-pwr {
 		compatible = "regulator-fixed";
 		regulator-name = "vph_pwr";
@@ -807,6 +818,8 @@ &pcie1 {
 	pinctrl-0 = <&pcie1_reset_n>, <&pcie1_wake_n>, <&pcie1_clkreq_n>;
 	pinctrl-names = "default";
 
+	vddpe-3v3-supply = <&vreg_pcie0_3v3>;
+
 	iommu-map = <0x0 &apps_smmu 0x1c80 0x1>,
 		    <0x100 &apps_smmu 0x1c81 0x1>,
 		    <0x208 &apps_smmu 0x1c84 0x1>,
@@ -1378,6 +1391,16 @@ &edp_hot_plug_det {
 };
 
 &pm7250b_gpios {
+	pcie0_3v3_en: pcie0-3v3-en-state {
+		pins = "gpio1";
+		function = "normal";
+
+		bias-disable;
+		input-disable;
+		output-enable;
+		power-source = <0>;
+	};
+
 	lt9611_rst_pin: lt9611-rst-state {
 		pins = "gpio2";
 		function = "normal";

---
base-commit: b74f0330d6283319451a0ef818ef50bf2805d875
change-id: 20260108-rb3gen2-upd720201-8acc1c083778

Best regards,
-- 
With best wishes
Dmitry
Re: [PATCH RFC] arm64: dts: qcom: qcs6490-rb3gen2: power on onboard uPD720201 controller
Posted by Konrad Dybcio 3 weeks, 4 days ago
On 1/9/26 4:30 PM, Dmitry Baryshkov wrote:
> One of ports of the TC9563 bridge is connected to the PCIe Renesas host
> controller. Specify the voltage regulator, powering on the USB host
> controller.
> 
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
> Note, with these changes I can't get the onboard hub / ASIX controller
> to work. Most likely those need to be powered on separately, but my
> quick attempts to do it failed up to now.
> ---

I assume it's connected to the switch?

Does it show up on the bus? What if if you rescan the bus manually?

Konrad
Re: [PATCH RFC] arm64: dts: qcom: qcs6490-rb3gen2: power on onboard uPD720201 controller
Posted by Dmitry Baryshkov 3 weeks, 3 days ago
On Tue, Jan 13, 2026 at 04:00:02PM +0100, Konrad Dybcio wrote:
> On 1/9/26 4:30 PM, Dmitry Baryshkov wrote:
> > One of ports of the TC9563 bridge is connected to the PCIe Renesas host
> > controller. Specify the voltage regulator, powering on the USB host
> > controller.
> > 
> > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> > ---
> > Note, with these changes I can't get the onboard hub / ASIX controller
> > to work. Most likely those need to be powered on separately, but my
> > quick attempts to do it failed up to now.
> > ---
> 
> I assume it's connected to the switch?
> 
> Does it show up on the bus? What if if you rescan the bus manually?

I probably wasn't clear enough. The Renesas PCIe xHCI (placed on the
interposer) works with this patch, but I can not the USB hub and the
ASIX net controller (both a part of the main board) to show up on the
USB bus.

-- 
With best wishes
Dmitry