* [PATCH v6 0/4] Enable secondary USB controller in host mode
@ 2026-03-18 4:06 Swati Agarwal
2026-03-18 4:06 ` [PATCH v6 1/4] dt-bindings: usb: Add binding for Genesys Logic GL3590 hub Swati Agarwal
` (4 more replies)
0 siblings, 5 replies; 16+ messages in thread
From: Swati Agarwal @ 2026-03-18 4:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Icenowy Zheng, Matthias Kaehlcke, Mike Looijmans,
Pin-yen Lin, Chaoyi Chen, J . Neuschäfer, Jens Glathe,
Bjorn Andersson, Konrad Dybcio
Cc: linux-usb, devicetree, linux-kernel, linux-arm-msm, Swati Agarwal
Enable secondary USB controller in host mode.
This patch depends on:
https://lore.kernel.org/all/20260306091355.1178333-1-swati.agarwal@oss.qualcomm.com/
Changes in v6:
- Removed vdd12-supply property status for all hubs.
- Added connections between genesys hub, HD3 port controller and type-C
connector as follows.
GL3590 USB HD3SS3220 Type‑C USB TYPE‑C
HUB Port Controller Connector
HS HUB HS con
|------------------------------------|
SS HUB HD3-out SBU con
|--------------------|
HD3-in SS con
|---------------------|
Changes in v5:
Updated comment description in DT.
Updated vdd-supply status for other hubs in bindings.
Changes in v4:
Updated power supply property for hub.
Updated details for all 4 ports of hub.
Changes in v3:
Updated binding properties for genesys hub.
Changes in v2:
Add Genesys Logic GL3590 hub support.
Rename hd3ss3220_ instance for primary port controller.
Link to v5:
https://lore.kernel.org/all/20260122092852.887624-1-swati.agarwal@oss.qualcomm.com/
Link to v4:
https://lore.kernel.org/all/20260120103312.2174727-1-swati.agarwal@oss.qualcomm.com/
Link to v3:
https://lore.kernel.org/all/20251220063537.3639535-1-swati.agarwal@oss.qualcomm.com/
Link to v2:
https://lore.kernel.org/all/20251216120749.94007-1-swati.agarwal@oss.qualcomm.com/
Link to v1:
https://lore.kernel.org/all/20251203-swati-v1-1-250efcb4e6a7@oss.qualcomm.com/
Swati Agarwal (4):
dt-bindings: usb: Add binding for Genesys Logic GL3590 hub
usb: misc: onboard_usb_hub: Add Genesys Logic GL3590 hub support
arm64: dts: qcom: lemans-evk: Rename hd3ss3220_ instance for primary
port controller
arm64: dts: qcom: lemans-evk: Enable secondary USB controller in host
mode
.../bindings/usb/genesys,gl850g.yaml | 16 ++
arch/arm64/boot/dts/qcom/lemans-evk.dts | 216 +++++++++++++++++-
drivers/usb/misc/onboard_usb_dev.c | 1 +
drivers/usb/misc/onboard_usb_dev.h | 8 +
4 files changed, 237 insertions(+), 4 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH v6 1/4] dt-bindings: usb: Add binding for Genesys Logic GL3590 hub
2026-03-18 4:06 [PATCH v6 0/4] Enable secondary USB controller in host mode Swati Agarwal
@ 2026-03-18 4:06 ` Swati Agarwal
2026-03-18 7:01 ` Krzysztof Kozlowski
2026-03-18 4:06 ` [PATCH v6 2/4] usb: misc: onboard_usb_hub: Add Genesys Logic GL3590 hub support Swati Agarwal
` (3 subsequent siblings)
4 siblings, 1 reply; 16+ messages in thread
From: Swati Agarwal @ 2026-03-18 4:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Icenowy Zheng, Matthias Kaehlcke, Mike Looijmans,
Pin-yen Lin, Chaoyi Chen, J . Neuschäfer, Jens Glathe,
Bjorn Andersson, Konrad Dybcio
Cc: linux-usb, devicetree, linux-kernel, linux-arm-msm, Swati Agarwal
Add the binding for the USB3.2 Genesys Logic GL3590 hub.
GL3590 hub requires 1.2V and 3.3V supplies for operation.
Signed-off-by: Swati Agarwal <swati.agarwal@oss.qualcomm.com>
---
.../devicetree/bindings/usb/genesys,gl850g.yaml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml b/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml
index 9a94b2a74a1e..d8ca9fe5a593 100644
--- a/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml
+++ b/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml
@@ -15,6 +15,7 @@ properties:
- usb5e3,608
- usb5e3,610
- usb5e3,620
+ - usb5e3,625
- usb5e3,626
reg: true
@@ -26,6 +27,10 @@ properties:
description:
The regulator that provides 3.3V or 5.0V core power to the hub.
+ vdd12-supply:
+ description:
+ The regulator that provides 1.2V power to the hub.
+
peer-hub: true
ports:
@@ -69,6 +74,17 @@ allOf:
peer-hub: true
vdd-supply: true
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - usb5e3,625
+ then:
+ properties:
+ peer-hub: true
+ vdd-supply: true
+
unevaluatedProperties: false
examples:
--
2.34.1
^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH v6 2/4] usb: misc: onboard_usb_hub: Add Genesys Logic GL3590 hub support
2026-03-18 4:06 [PATCH v6 0/4] Enable secondary USB controller in host mode Swati Agarwal
2026-03-18 4:06 ` [PATCH v6 1/4] dt-bindings: usb: Add binding for Genesys Logic GL3590 hub Swati Agarwal
@ 2026-03-18 4:06 ` Swati Agarwal
2026-03-30 11:43 ` Dmitry Baryshkov
2026-03-18 4:06 ` [PATCH v6 3/4] arm64: dts: qcom: lemans-evk: Rename hd3ss3220_ instance for primary port controller Swati Agarwal
` (2 subsequent siblings)
4 siblings, 1 reply; 16+ messages in thread
From: Swati Agarwal @ 2026-03-18 4:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Icenowy Zheng, Matthias Kaehlcke, Mike Looijmans,
Pin-yen Lin, Chaoyi Chen, J . Neuschäfer, Jens Glathe,
Bjorn Andersson, Konrad Dybcio
Cc: linux-usb, devicetree, linux-kernel, linux-arm-msm, Swati Agarwal
Add support for the GL3590 4 ports USB3.2 hub.
Signed-off-by: Swati Agarwal <swati.agarwal@oss.qualcomm.com>
---
drivers/usb/misc/onboard_usb_dev.c | 1 +
drivers/usb/misc/onboard_usb_dev.h | 8 ++++++++
2 files changed, 9 insertions(+)
diff --git a/drivers/usb/misc/onboard_usb_dev.c b/drivers/usb/misc/onboard_usb_dev.c
index ba37eb99efba..b52dafeefcda 100644
--- a/drivers/usb/misc/onboard_usb_dev.c
+++ b/drivers/usb/misc/onboard_usb_dev.c
@@ -661,6 +661,7 @@ static const struct usb_device_id onboard_dev_id_table[] = {
{ USB_DEVICE(VENDOR_ID_GENESYS, 0x0608) }, /* Genesys Logic GL850G USB 2.0 HUB */
{ USB_DEVICE(VENDOR_ID_GENESYS, 0x0610) }, /* Genesys Logic GL852G USB 2.0 HUB */
{ USB_DEVICE(VENDOR_ID_GENESYS, 0x0620) }, /* Genesys Logic GL3523 USB 3.1 HUB */
+ { USB_DEVICE(VENDOR_ID_GENESYS, 0x0625) }, /* Genesys Logic GL3590 USB 3.2 HUB */
{ USB_DEVICE(VENDOR_ID_MICROCHIP, 0x2412) }, /* USB2412 USB 2.0 HUB */
{ USB_DEVICE(VENDOR_ID_MICROCHIP, 0x2514) }, /* USB2514B USB 2.0 HUB */
{ USB_DEVICE(VENDOR_ID_MICROCHIP, 0x2517) }, /* USB2517 USB 2.0 HUB */
diff --git a/drivers/usb/misc/onboard_usb_dev.h b/drivers/usb/misc/onboard_usb_dev.h
index 35d15b034664..15fcf3ff2031 100644
--- a/drivers/usb/misc/onboard_usb_dev.h
+++ b/drivers/usb/misc/onboard_usb_dev.h
@@ -108,6 +108,13 @@ static const struct onboard_dev_pdata genesys_gl852g_data = {
.is_hub = true,
};
+static const struct onboard_dev_pdata genesys_gl3590_data = {
+ .reset_us = 50,
+ .num_supplies = 2,
+ .supply_names = { "vdd", "vdd12" },
+ .is_hub = true,
+};
+
static const struct onboard_dev_pdata usb_a_conn_data = {
.num_supplies = 1,
.supply_names = { "vbus" },
@@ -153,6 +160,7 @@ static const struct of_device_id onboard_dev_match[] = {
{ .compatible = "usb5e3,608", .data = &genesys_gl850g_data, },
{ .compatible = "usb5e3,610", .data = &genesys_gl852g_data, },
{ .compatible = "usb5e3,620", .data = &genesys_gl852g_data, },
+ { .compatible = "usb5e3,625", .data = &genesys_gl3590_data, },
{ .compatible = "usb5e3,626", .data = &genesys_gl852g_data, },
{ .compatible = "usbbda,179", .data = &realtek_rtl8188etv_data, },
{ .compatible = "usbbda,411", .data = &realtek_rts5411_data, },
--
2.34.1
^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH v6 3/4] arm64: dts: qcom: lemans-evk: Rename hd3ss3220_ instance for primary port controller
2026-03-18 4:06 [PATCH v6 0/4] Enable secondary USB controller in host mode Swati Agarwal
2026-03-18 4:06 ` [PATCH v6 1/4] dt-bindings: usb: Add binding for Genesys Logic GL3590 hub Swati Agarwal
2026-03-18 4:06 ` [PATCH v6 2/4] usb: misc: onboard_usb_hub: Add Genesys Logic GL3590 hub support Swati Agarwal
@ 2026-03-18 4:06 ` Swati Agarwal
2026-03-18 4:06 ` [PATCH v6 4/4] arm64: dts: qcom: lemans-evk: Enable secondary USB controller in host mode Swati Agarwal
2026-03-18 7:03 ` [PATCH v6 0/4] " Krzysztof Kozlowski
4 siblings, 0 replies; 16+ messages in thread
From: Swati Agarwal @ 2026-03-18 4:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Icenowy Zheng, Matthias Kaehlcke, Mike Looijmans,
Pin-yen Lin, Chaoyi Chen, J . Neuschäfer, Jens Glathe,
Bjorn Andersson, Konrad Dybcio
Cc: linux-usb, devicetree, linux-kernel, linux-arm-msm,
Swati Agarwal, Konrad Dybcio, Dmitry Baryshkov
Rename the hd3ss3220_ instance to improve clarity and simplify usage when
adding a secondary port controller.
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Swati Agarwal <swati.agarwal@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/lemans-evk.dts | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/lemans-evk.dts b/arch/arm64/boot/dts/qcom/lemans-evk.dts
index a1ef4eba2a20..2d7eace9d7ac 100644
--- a/arch/arm64/boot/dts/qcom/lemans-evk.dts
+++ b/arch/arm64/boot/dts/qcom/lemans-evk.dts
@@ -62,7 +62,7 @@ port@1 {
reg = <1>;
usb0_con_ss_ep: endpoint {
- remote-endpoint = <&hd3ss3220_in_ep>;
+ remote-endpoint = <&hd3ss3220_0_in_ep>;
};
};
};
@@ -550,7 +550,7 @@ ports {
port@0 {
reg = <0>;
- hd3ss3220_in_ep: endpoint {
+ hd3ss3220_0_in_ep: endpoint {
remote-endpoint = <&usb0_con_ss_ep>;
};
};
@@ -558,7 +558,7 @@ hd3ss3220_in_ep: endpoint {
port@1 {
reg = <1>;
- hd3ss3220_out_ep: endpoint {
+ hd3ss3220_0_out_ep: endpoint {
remote-endpoint = <&usb_0_dwc3_ss>;
};
};
@@ -984,7 +984,7 @@ &usb_0_dwc3_hs {
};
&usb_0_dwc3_ss {
- remote-endpoint = <&hd3ss3220_out_ep>;
+ remote-endpoint = <&hd3ss3220_0_out_ep>;
};
&usb_0_hsphy {
--
2.34.1
^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH v6 4/4] arm64: dts: qcom: lemans-evk: Enable secondary USB controller in host mode
2026-03-18 4:06 [PATCH v6 0/4] Enable secondary USB controller in host mode Swati Agarwal
` (2 preceding siblings ...)
2026-03-18 4:06 ` [PATCH v6 3/4] arm64: dts: qcom: lemans-evk: Rename hd3ss3220_ instance for primary port controller Swati Agarwal
@ 2026-03-18 4:06 ` Swati Agarwal
2026-03-18 7:03 ` [PATCH v6 0/4] " Krzysztof Kozlowski
4 siblings, 0 replies; 16+ messages in thread
From: Swati Agarwal @ 2026-03-18 4:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Icenowy Zheng, Matthias Kaehlcke, Mike Looijmans,
Pin-yen Lin, Chaoyi Chen, J . Neuschäfer, Jens Glathe,
Bjorn Andersson, Konrad Dybcio
Cc: linux-usb, devicetree, linux-kernel, linux-arm-msm, Swati Agarwal
Enable secondary USB controller in host mode on lemans EVK Platform.
Secondary USB controller is connected to a Genesys Logic USB HUB GL3590
having 4 ports. The ports of hub that are present on lemans EVK standalone
board are used as follows:-
1) port-1 is connected to HD3SS3220 Type-C port controller.
2) port-4 is used for the M.2 E key on corekit. Standard core kit uses UART
for Bluetooth. This port is to be used only if user optionally replaces the
WiFi card with the NFA765 chip which uses USB for Bluetooth.
Remaining 2 ports will become functional when the interface plus mezzanine
board is stacked on top of corekit:
3) port-2 is connected to another hub which is present on the mezz through
which 4 type-A ports are connected.
4) port-3 is used for the M.2 B key for a 5G card when the mezz is
connected.
Secondary USB Controller
↓
GL3590 USB Hub (4 ports)
|
|-- Port 1 → HD3SS3220 Type‑C Port Controller → USB‑C Connector
|
|-- Port 2 → Mezzanine USB Hub (when mezz attached)
|
|-- Port 3 → M.2 B‑Key Slot (when mezz attached)
|
|-- Port 4 → M.2 E‑Key Slot
(Default: BT via UART;
USB only if NFA765 module is installed)
Mark the second USB controller as host only capable and add the HD3SS3220
Type-C port controller along with Type-C connector for controlling vbus
supply.
Signed-off-by: Swati Agarwal <swati.agarwal@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/lemans-evk.dts | 208 ++++++++++++++++++++++++
1 file changed, 208 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/lemans-evk.dts b/arch/arm64/boot/dts/qcom/lemans-evk.dts
index 2d7eace9d7ac..7c2dcf97bdcf 100644
--- a/arch/arm64/boot/dts/qcom/lemans-evk.dts
+++ b/arch/arm64/boot/dts/qcom/lemans-evk.dts
@@ -87,6 +87,44 @@ usb2_con_hs_ep: endpoint {
};
};
+ connector-1 {
+ compatible = "usb-c-connector";
+ label = "USB1-Type-C";
+ data-role = "host";
+ power-role = "source";
+
+ vbus-supply = <&vbus_supply_regulator_1>;
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ usb1_con_hs_ep: endpoint {
+ remote-endpoint = <&usb_hub_2_1>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ usb1_con_ss_ep: endpoint {
+ remote-endpoint = <&hd3ss3220_1_in_ep>;
+ };
+
+ };
+
+ port@2 {
+ reg = <2>;
+
+ usb1_con_sbu_ep: endpoint {
+ };
+ };
+ };
+ };
+
edp0-connector {
compatible = "dp-connector";
label = "EDP0";
@@ -169,6 +207,16 @@ usb2_vbus: regulator-usb2-vbus {
enable-active-high;
};
+ vbus_supply_regulator_1: regulator-vbus-supply-1 {
+ compatible = "regulator-fixed";
+ regulator-name = "vbus_supply_1";
+ gpio = <&expander1 3 GPIO_ACTIVE_HIGH>;
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ regulator-boot-on;
+ enable-active-high;
+ };
+
vmmc_sdc: regulator-vmmc-sdc {
compatible = "regulator-fixed";
@@ -564,6 +612,40 @@ hd3ss3220_0_out_ep: endpoint {
};
};
};
+
+ usb-typec@47 {
+ compatible = "ti,hd3ss3220";
+ reg = <0x47>;
+
+ interrupts-extended = <&pmm8654au_2_gpios 6 IRQ_TYPE_EDGE_FALLING>;
+
+ id-gpios = <&tlmm 51 GPIO_ACTIVE_HIGH>;
+
+ pinctrl-0 = <&usb1_id>, <&usb1_intr>;
+ pinctrl-names = "default";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ hd3ss3220_1_in_ep: endpoint {
+ remote-endpoint = <&usb1_con_ss_ep>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ hd3ss3220_1_out_ep: endpoint {
+ remote-endpoint = <&usb_hub_3_1>;
+ };
+ };
+ };
+ };
+
};
&i2c18 {
@@ -755,6 +837,14 @@ usb2_id: usb2-id-state {
bias-pull-up;
power-source = <0>;
};
+
+ usb1_intr: usb1-intr-state {
+ pins = "gpio6";
+ function = "normal";
+ input-enable;
+ bias-pull-up;
+ power-source = <0>;
+ };
};
&qup_i2c19_default {
@@ -948,6 +1038,12 @@ usb_id: usb-id-state {
function = "gpio";
bias-pull-up;
};
+
+ usb1_id: usb1-id-state {
+ pins = "gpio51";
+ function = "gpio";
+ bias-pull-up;
+ };
};
&uart10 {
@@ -1018,6 +1114,118 @@ &usb_2_hsphy {
status = "okay";
};
+&usb_1 {
+ dr_mode = "host";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ status = "okay";
+
+ usb_hub_2_x: hub@1 {
+ compatible = "usb5e3,610";
+ reg = <1>;
+
+ peer-hub = <&usb_hub_3_x>;
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@1 {
+ reg = <1>;
+
+ usb_hub_2_1: endpoint {
+ remote-endpoint = <&usb1_con_hs_ep>;
+ };
+ };
+
+ /*
+ * Port-2 and port-3 are not connected to anything on corekit.
+ */
+ port@2 {
+ reg = <2>;
+
+ usb_hub_2_2: endpoint {
+ };
+ };
+
+ port@3 {
+ reg = <3>;
+
+ usb_hub_2_3: endpoint {
+ };
+ };
+
+ /*
+ * Port-4 is connected to M.2 E key connector on corekit.
+ */
+ port@4 {
+ reg = <4>;
+
+ usb_hub_2_4: endpoint {
+ };
+ };
+ };
+ };
+
+ usb_hub_3_x: hub@2 {
+ compatible = "usb5e3,625";
+ reg = <2>;
+
+ peer-hub = <&usb_hub_2_x>;
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@1 {
+ reg = <1>;
+
+ usb_hub_3_1: endpoint {
+ remote-endpoint = <&hd3ss3220_1_out_ep>;
+ };
+ };
+
+ port@2 {
+ reg = <2>;
+
+ usb_hub_3_2: endpoint {
+ };
+ };
+
+ port@3 {
+ reg = <3>;
+
+ usb_hub_3_3: endpoint {
+ };
+ };
+
+ port@4 {
+ reg = <4>;
+
+ usb_hub_3_4: endpoint {
+ };
+ };
+ };
+ };
+};
+
+&usb_1_hsphy {
+ vdda-pll-supply = <&vreg_l7a>;
+ vdda18-supply = <&vreg_l6c>;
+ vdda33-supply = <&vreg_l9a>;
+
+ status = "okay";
+};
+
+&usb_1_qmpphy {
+ vdda-phy-supply = <&vreg_l1c>;
+ vdda-pll-supply = <&vreg_l7a>;
+
+ status = "okay";
+};
+
&xo_board_clk {
clock-frequency = <38400000>;
};
--
2.34.1
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v6 1/4] dt-bindings: usb: Add binding for Genesys Logic GL3590 hub
2026-03-18 4:06 ` [PATCH v6 1/4] dt-bindings: usb: Add binding for Genesys Logic GL3590 hub Swati Agarwal
@ 2026-03-18 7:01 ` Krzysztof Kozlowski
2026-03-26 10:07 ` Swati Agarwal
0 siblings, 1 reply; 16+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-18 7:01 UTC (permalink / raw)
To: Swati Agarwal
Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Icenowy Zheng, Matthias Kaehlcke, Mike Looijmans,
Pin-yen Lin, Chaoyi Chen, J . Neuschäfer, Jens Glathe,
Bjorn Andersson, Konrad Dybcio, linux-usb, devicetree,
linux-kernel, linux-arm-msm
On Wed, Mar 18, 2026 at 09:36:41AM +0530, Swati Agarwal wrote:
A nit, subject: drop second/last, redundant "binding fir". The
"dt-bindings" prefix is already stating that these are bindings.
See also:
https://elixir.bootlin.com/linux/v6.17-rc3/source/Documentation/devicetree/bindings/submitting-patches.rst#L18
> reg: true
> @@ -26,6 +27,10 @@ properties:
> description:
> The regulator that provides 3.3V or 5.0V core power to the hub.
>
> + vdd12-supply:
> + description:
> + The regulator that provides 1.2V power to the hub.
> +
> peer-hub: true
>
> ports:
> @@ -69,6 +74,17 @@ allOf:
> peer-hub: true
> vdd-supply: true
Here and in other cases you forgot to forbid new property (: false).
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v6 0/4] Enable secondary USB controller in host mode
2026-03-18 4:06 [PATCH v6 0/4] Enable secondary USB controller in host mode Swati Agarwal
` (3 preceding siblings ...)
2026-03-18 4:06 ` [PATCH v6 4/4] arm64: dts: qcom: lemans-evk: Enable secondary USB controller in host mode Swati Agarwal
@ 2026-03-18 7:03 ` Krzysztof Kozlowski
2026-03-23 7:36 ` Swati Agarwal
4 siblings, 1 reply; 16+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-18 7:03 UTC (permalink / raw)
To: Swati Agarwal
Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Icenowy Zheng, Matthias Kaehlcke, Mike Looijmans,
Pin-yen Lin, Chaoyi Chen, J . Neuschäfer, Jens Glathe,
Bjorn Andersson, Konrad Dybcio, linux-usb, devicetree,
linux-kernel, linux-arm-msm
On Wed, Mar 18, 2026 at 09:36:40AM +0530, Swati Agarwal wrote:
> Enable secondary USB controller in host mode.
>
> This patch depends on:
> https://lore.kernel.org/all/20260306091355.1178333-1-swati.agarwal@oss.qualcomm.com/
Honestly? No. Drivers cannot depend on DTS.
Also, combining here USB is a no-go. Do not combine independent
patchsets into one patchset.
I also do not see how you addressed my comments from previous version.
You never bothered to respond and I do not see them implemented.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v6 0/4] Enable secondary USB controller in host mode
2026-03-18 7:03 ` [PATCH v6 0/4] " Krzysztof Kozlowski
@ 2026-03-23 7:36 ` Swati Agarwal
2026-03-23 7:42 ` Krzysztof Kozlowski
0 siblings, 1 reply; 16+ messages in thread
From: Swati Agarwal @ 2026-03-23 7:36 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Icenowy Zheng, Matthias Kaehlcke, Mike Looijmans,
Pin-yen Lin, Chaoyi Chen, J . Neuschäfer, Jens Glathe,
Bjorn Andersson, Konrad Dybcio, linux-usb, devicetree,
linux-kernel, linux-arm-msm
On Wed, Mar 18, 2026 at 12:33 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> On Wed, Mar 18, 2026 at 09:36:40AM +0530, Swati Agarwal wrote:
> > Enable secondary USB controller in host mode.
> >
> > This patch depends on:
> > https://lore.kernel.org/all/20260306091355.1178333-1-swati.agarwal@oss.qualcomm.com/
>
> Honestly? No. Drivers cannot depend on DTS.
Hi Krysztof,
Here what i meant by dependency is that I have rebase this patch
series over below patch series. Below patch series is related to USB2
micro USB controller support on lemans EVK.
https://lore.kernel.org/all/20260306091355.1178333-1-swati.agarwal@oss.qualcomm.com/
There is no dependency of drivers on DT.
>
> Also, combining here USB is a no-go. Do not combine independent
> patchsets into one patchset.
>
> I also do not see how you addressed my comments from previous version.
> You never bothered to respond and I do not see them implemented.
Apologies if i missed replying any comments.
Regarding your comment on v3 series below:- GL3590 hub used in lemans
EVK requires only 1.2V and 3.3V supplies for operation, confirmes the
same from our internal HW team and update the same in thereafter patch
sets.
https://lore.kernel.org/all/20251220-economic-gay-firefly-1873a9@quoll/
Regards,
Swati
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v6 0/4] Enable secondary USB controller in host mode
2026-03-23 7:36 ` Swati Agarwal
@ 2026-03-23 7:42 ` Krzysztof Kozlowski
2026-03-26 7:04 ` Swati Agarwal
2026-03-26 10:09 ` Swati Agarwal
0 siblings, 2 replies; 16+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-23 7:42 UTC (permalink / raw)
To: Swati Agarwal
Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Icenowy Zheng, Matthias Kaehlcke, Mike Looijmans,
Pin-yen Lin, Chaoyi Chen, J . Neuschäfer, Jens Glathe,
Bjorn Andersson, Konrad Dybcio, linux-usb, devicetree,
linux-kernel, linux-arm-msm
On 23/03/2026 08:36, Swati Agarwal wrote:
> On Wed, Mar 18, 2026 at 12:33 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>>
>> On Wed, Mar 18, 2026 at 09:36:40AM +0530, Swati Agarwal wrote:
>>> Enable secondary USB controller in host mode.
>>>
>>> This patch depends on:
>>> https://lore.kernel.org/all/20260306091355.1178333-1-swati.agarwal@oss.qualcomm.com/
>>
>> Honestly? No. Drivers cannot depend on DTS.
> Hi Krysztof,
>
> Here what i meant by dependency is that I have rebase this patch
> series over below patch series. Below patch series is related to USB2
And you should not. Drivers cannot be based on DTS branch.
> micro USB controller support on lemans EVK.
> https://lore.kernel.org/all/20260306091355.1178333-1-swati.agarwal@oss.qualcomm.com/
>
> There is no dependency of drivers on DT.
>
>>
>> Also, combining here USB is a no-go. Do not combine independent
>> patchsets into one patchset.
>>
>> I also do not see how you addressed my comments from previous version.
>> You never bothered to respond and I do not see them implemented.
>
> Apologies if i missed replying any comments.
> Regarding your comment on v3 series below:- GL3590 hub used in lemans
> EVK requires only 1.2V and 3.3V supplies for operation, confirmes the
> same from our internal HW team and update the same in thereafter patch
> sets.
> https://lore.kernel.org/all/20251220-economic-gay-firefly-1873a9@quoll/
This does not address the feedback. I did not talk about Lemans EVK. I
don't even have its datasheet. We speak here about GL3590. I found at
least three supplies in datasheet. Your binding has only two.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v6 0/4] Enable secondary USB controller in host mode
2026-03-23 7:42 ` Krzysztof Kozlowski
@ 2026-03-26 7:04 ` Swati Agarwal
2026-03-26 7:26 ` Krzysztof Kozlowski
2026-03-26 10:09 ` Swati Agarwal
1 sibling, 1 reply; 16+ messages in thread
From: Swati Agarwal @ 2026-03-26 7:04 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Icenowy Zheng, Matthias Kaehlcke, Mike Looijmans,
Pin-yen Lin, Chaoyi Chen, J . Neuschäfer, Jens Glathe,
Bjorn Andersson, Konrad Dybcio, linux-usb, devicetree,
linux-kernel, linux-arm-msm
On Mon, Mar 23, 2026 at 1:12 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> On 23/03/2026 08:36, Swati Agarwal wrote:
> > On Wed, Mar 18, 2026 at 12:33 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
> >>
> >> On Wed, Mar 18, 2026 at 09:36:40AM +0530, Swati Agarwal wrote:
> >>> Enable secondary USB controller in host mode.
> >>>
> >>> This patch depends on:
> >>> https://lore.kernel.org/all/20260306091355.1178333-1-swati.agarwal@oss.qualcomm.com/
> >>
> >> Honestly? No. Drivers cannot depend on DTS.
> > Hi Krysztof,
> >
> > Here what i meant by dependency is that I have rebase this patch
> > series over below patch series. Below patch series is related to USB2
>
> And you should not. Drivers cannot be based on DTS branch.
>
> > micro USB controller support on lemans EVK.
> > https://lore.kernel.org/all/20260306091355.1178333-1-swati.agarwal@oss.qualcomm.com/
> >
> > There is no dependency of drivers on DT.
> >
> >>
> >> Also, combining here USB is a no-go. Do not combine independent
> >> patchsets into one patchset.
> >>
> >> I also do not see how you addressed my comments from previous version.
> >> You never bothered to respond and I do not see them implemented.
> >
> > Apologies if i missed replying any comments.
> > Regarding your comment on v3 series below:- GL3590 hub used in lemans
> > EVK requires only 1.2V and 3.3V supplies for operation, confirmes the
> > same from our internal HW team and update the same in thereafter patch
> > sets.
> > https://lore.kernel.org/all/20251220-economic-gay-firefly-1873a9@quoll/
>
> This does not address the feedback. I did not talk about Lemans EVK. I
> don't even have its datasheet. We speak here about GL3590. I found at
> least three supplies in datasheet. Your binding has only two.
Hi Krysztof,
For HUB GL3590, there are three supplies which are VP10, VP33 and
VP12. I have already used VP12 and VP33 in bindings. VP10 i have not
mentioned since its internal supply and other two are external
supplies to hub. VP10 is internal regulator and its pins just loop
back. Regarding AVDD10 and AVDD33, so AVDD10 is internal power hub
which is routed to several pins for different functions such as the
PLL and AVDD33 is external power hub where the external 3.3V gets
connected for multiple devices.
Regards,
Swati
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v6 0/4] Enable secondary USB controller in host mode
2026-03-26 7:04 ` Swati Agarwal
@ 2026-03-26 7:26 ` Krzysztof Kozlowski
0 siblings, 0 replies; 16+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-26 7:26 UTC (permalink / raw)
To: Swati Agarwal
Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Icenowy Zheng, Matthias Kaehlcke, Mike Looijmans,
Pin-yen Lin, Chaoyi Chen, J . Neuschäfer, Jens Glathe,
Bjorn Andersson, Konrad Dybcio, linux-usb, devicetree,
linux-kernel, linux-arm-msm
On 26/03/2026 08:04, Swati Agarwal wrote:
>>> micro USB controller support on lemans EVK.
>>> https://lore.kernel.org/all/20260306091355.1178333-1-swati.agarwal@oss.qualcomm.com/
>>>
>>> There is no dependency of drivers on DT.
>>>
>>>>
>>>> Also, combining here USB is a no-go. Do not combine independent
>>>> patchsets into one patchset.
>>>>
>>>> I also do not see how you addressed my comments from previous version.
>>>> You never bothered to respond and I do not see them implemented.
>>>
>>> Apologies if i missed replying any comments.
>>> Regarding your comment on v3 series below:- GL3590 hub used in lemans
>>> EVK requires only 1.2V and 3.3V supplies for operation, confirmes the
>>> same from our internal HW team and update the same in thereafter patch
>>> sets.
>>> https://lore.kernel.org/all/20251220-economic-gay-firefly-1873a9@quoll/
>>
>> This does not address the feedback. I did not talk about Lemans EVK. I
>> don't even have its datasheet. We speak here about GL3590. I found at
>> least three supplies in datasheet. Your binding has only two.
>
> Hi Krysztof,
> For HUB GL3590, there are three supplies which are VP10, VP33 and
> VP12. I have already used VP12 and VP33 in bindings. VP10 i have not
> mentioned since its internal supply and other two are external
> supplies to hub. VP10 is internal regulator and its pins just loop
> back. Regarding AVDD10 and AVDD33, so AVDD10 is internal power hub
> which is routed to several pins for different functions such as the
> PLL and AVDD33 is external power hub where the external 3.3V gets
> connected for multiple devices.
OK, I understand.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v6 1/4] dt-bindings: usb: Add binding for Genesys Logic GL3590 hub
2026-03-18 7:01 ` Krzysztof Kozlowski
@ 2026-03-26 10:07 ` Swati Agarwal
2026-03-26 10:09 ` Krzysztof Kozlowski
0 siblings, 1 reply; 16+ messages in thread
From: Swati Agarwal @ 2026-03-26 10:07 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Icenowy Zheng, Matthias Kaehlcke, Mike Looijmans,
Pin-yen Lin, Chaoyi Chen, J . Neuschäfer, Jens Glathe,
Bjorn Andersson, Konrad Dybcio, linux-usb, devicetree,
linux-kernel, linux-arm-msm
On Wed, Mar 18, 2026 at 12:31 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> On Wed, Mar 18, 2026 at 09:36:41AM +0530, Swati Agarwal wrote:
>
> A nit, subject: drop second/last, redundant "binding fir". The
> "dt-bindings" prefix is already stating that these are bindings.
> See also:
> https://elixir.bootlin.com/linux/v6.17-rc3/source/Documentation/devicetree/bindings/submitting-patches.rst#L18
>
> > reg: true
> > @@ -26,6 +27,10 @@ properties:
> > description:
> > The regulator that provides 3.3V or 5.0V core power to the hub.
> >
> > + vdd12-supply:
> > + description:
> > + The regulator that provides 1.2V power to the hub.
> > +
> > peer-hub: true
> >
> > ports:
> > @@ -69,6 +74,17 @@ allOf:
> > peer-hub: true
> > vdd-supply: true
>
> Here and in other cases you forgot to forbid new property (: false).
Hi Krysztof,
My v5 patch series address this thing as follows:-
https://lore.kernel.org/all/20260122092852.887624-2-swati.agarwal@oss.qualcomm.com/
But as per feedback from Rob on v4 and v5 series, i address it as per
his comment.
https://lore.kernel.org/all/20260122170651.GA2632938-robh@kernel.org/#t
https://lore.kernel.org/all/20260121022449.GA1804139-robh@kernel.org/#t
Let me know how we should proceed further on this @Rob Herring
@Krzysztof Kozlowski .
Regards,
Swati
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v6 1/4] dt-bindings: usb: Add binding for Genesys Logic GL3590 hub
2026-03-26 10:07 ` Swati Agarwal
@ 2026-03-26 10:09 ` Krzysztof Kozlowski
2026-03-26 11:42 ` Swati Agarwal
0 siblings, 1 reply; 16+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-26 10:09 UTC (permalink / raw)
To: Swati Agarwal
Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Icenowy Zheng, Matthias Kaehlcke, Mike Looijmans,
Pin-yen Lin, Chaoyi Chen, J . Neuschäfer, Jens Glathe,
Bjorn Andersson, Konrad Dybcio, linux-usb, devicetree,
linux-kernel, linux-arm-msm
On 26/03/2026 11:07, Swati Agarwal wrote:
> https://lore.kernel.org/all/20260121022449.GA1804139-robh@kernel.org/#t
Exactly this comment is not implemented. v5 repeated it. I repeated now.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v6 0/4] Enable secondary USB controller in host mode
2026-03-23 7:42 ` Krzysztof Kozlowski
2026-03-26 7:04 ` Swati Agarwal
@ 2026-03-26 10:09 ` Swati Agarwal
1 sibling, 0 replies; 16+ messages in thread
From: Swati Agarwal @ 2026-03-26 10:09 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Icenowy Zheng, Matthias Kaehlcke, Mike Looijmans,
Pin-yen Lin, Chaoyi Chen, J . Neuschäfer, Jens Glathe,
Bjorn Andersson, Konrad Dybcio, linux-usb, devicetree,
linux-kernel, linux-arm-msm
On Mon, Mar 23, 2026 at 1:12 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> On 23/03/2026 08:36, Swati Agarwal wrote:
> > On Wed, Mar 18, 2026 at 12:33 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
> >>
> >> On Wed, Mar 18, 2026 at 09:36:40AM +0530, Swati Agarwal wrote:
> >>> Enable secondary USB controller in host mode.
> >>>
> >>> This patch depends on:
> >>> https://lore.kernel.org/all/20260306091355.1178333-1-swati.agarwal@oss.qualcomm.com/
> >>
> >> Honestly? No. Drivers cannot depend on DTS.
> > Hi Krysztof,
> >
> > Here what i meant by dependency is that I have rebase this patch
> > series over below patch series. Below patch series is related to USB2
>
> And you should not. Drivers cannot be based on DTS branch.
>
> > micro USB controller support on lemans EVK.
> > https://lore.kernel.org/all/20260306091355.1178333-1-swati.agarwal@oss.qualcomm.com/
> >
> > There is no dependency of drivers on DT.
Hi Krysztof,
Sure, i will send a separate series for driver and DT.
Regards,
Swati
> >
> >>
> >> Also, combining here USB is a no-go. Do not combine independent
> >> patchsets into one patchset.
> >>
> >> I also do not see how you addressed my comments from previous version.
> >> You never bothered to respond and I do not see them implemented.
> >
> > Apologies if i missed replying any comments.
> > Regarding your comment on v3 series below:- GL3590 hub used in lemans
> > EVK requires only 1.2V and 3.3V supplies for operation, confirmes the
> > same from our internal HW team and update the same in thereafter patch
> > sets.
> > https://lore.kernel.org/all/20251220-economic-gay-firefly-1873a9@quoll/
>
> This does not address the feedback. I did not talk about Lemans EVK. I
> don't even have its datasheet. We speak here about GL3590. I found at
> least three supplies in datasheet. Your binding has only two.
>
> Best regards,
> Krzysztof
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v6 1/4] dt-bindings: usb: Add binding for Genesys Logic GL3590 hub
2026-03-26 10:09 ` Krzysztof Kozlowski
@ 2026-03-26 11:42 ` Swati Agarwal
0 siblings, 0 replies; 16+ messages in thread
From: Swati Agarwal @ 2026-03-26 11:42 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Icenowy Zheng, Matthias Kaehlcke, Mike Looijmans,
Pin-yen Lin, Chaoyi Chen, J . Neuschäfer, Jens Glathe,
Bjorn Andersson, Konrad Dybcio, linux-usb, devicetree,
linux-kernel, linux-arm-msm
On Thu, Mar 26, 2026 at 3:39 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> On 26/03/2026 11:07, Swati Agarwal wrote:
> > https://lore.kernel.org/all/20260121022449.GA1804139-robh@kernel.org/#t
>
> Exactly this comment is not implemented. v5 repeated it. I repeated now.
Hi Krysztof,
Are you trying to say, i should mark vdd12-supply false wherever
applicable but dont mark it as true and it should be by default
considered as true? Correct me if my understanding is wrong.
Regards,
Swati
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v6 2/4] usb: misc: onboard_usb_hub: Add Genesys Logic GL3590 hub support
2026-03-18 4:06 ` [PATCH v6 2/4] usb: misc: onboard_usb_hub: Add Genesys Logic GL3590 hub support Swati Agarwal
@ 2026-03-30 11:43 ` Dmitry Baryshkov
0 siblings, 0 replies; 16+ messages in thread
From: Dmitry Baryshkov @ 2026-03-30 11:43 UTC (permalink / raw)
To: Swati Agarwal
Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Icenowy Zheng, Matthias Kaehlcke, Mike Looijmans,
Pin-yen Lin, Chaoyi Chen, J . Neuschäfer, Jens Glathe,
Bjorn Andersson, Konrad Dybcio, linux-usb, devicetree,
linux-kernel, linux-arm-msm
On Wed, Mar 18, 2026 at 09:36:42AM +0530, Swati Agarwal wrote:
> Add support for the GL3590 4 ports USB3.2 hub.
>
> Signed-off-by: Swati Agarwal <swati.agarwal@oss.qualcomm.com>
> ---
> drivers/usb/misc/onboard_usb_dev.c | 1 +
> drivers/usb/misc/onboard_usb_dev.h | 8 ++++++++
> 2 files changed, 9 insertions(+)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2026-03-30 11:44 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-18 4:06 [PATCH v6 0/4] Enable secondary USB controller in host mode Swati Agarwal
2026-03-18 4:06 ` [PATCH v6 1/4] dt-bindings: usb: Add binding for Genesys Logic GL3590 hub Swati Agarwal
2026-03-18 7:01 ` Krzysztof Kozlowski
2026-03-26 10:07 ` Swati Agarwal
2026-03-26 10:09 ` Krzysztof Kozlowski
2026-03-26 11:42 ` Swati Agarwal
2026-03-18 4:06 ` [PATCH v6 2/4] usb: misc: onboard_usb_hub: Add Genesys Logic GL3590 hub support Swati Agarwal
2026-03-30 11:43 ` Dmitry Baryshkov
2026-03-18 4:06 ` [PATCH v6 3/4] arm64: dts: qcom: lemans-evk: Rename hd3ss3220_ instance for primary port controller Swati Agarwal
2026-03-18 4:06 ` [PATCH v6 4/4] arm64: dts: qcom: lemans-evk: Enable secondary USB controller in host mode Swati Agarwal
2026-03-18 7:03 ` [PATCH v6 0/4] " Krzysztof Kozlowski
2026-03-23 7:36 ` Swati Agarwal
2026-03-23 7:42 ` Krzysztof Kozlowski
2026-03-26 7:04 ` Swati Agarwal
2026-03-26 7:26 ` Krzysztof Kozlowski
2026-03-26 10:09 ` Swati Agarwal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®