Thread (17 messages) 17 messages, 5 authors, 2026-02-13

Re: [PATCH v5 4/4] arm64: dts: qcom: lemans-evk: Enable secondary USB controller in host mode

From: Dmitry Baryshkov <hidden>
Date: 2026-02-13 18:14:37
Also in: linux-arm-msm, linux-usb, lkml

On Thu, Feb 12, 2026 at 02:30:36PM +0530, Krishna Kurapati PSSNV wrote:
On Wed, Feb 4, 2026 at 3:04 PM Konrad Dybcio
[off-list ref] wrote:
quoted
On 2/4/26 6:56 AM, Krishna Kurapati wrote:
quoted

On 2/4/2026 7:03 AM, Dmitry Baryshkov wrote:
quoted
On Tue, Jan 27, 2026 at 10:53:46AM +0530, Swati Agarwal wrote:
quoted
On Thu, Jan 22, 2026 at 4:02 PM Dmitry Baryshkov
[off-list ref] wrote:
quoted
On Thu, Jan 22, 2026 at 02:58:52PM +0530, Swati Agarwal wrote:
[...]
quoted
quoted
quoted
quoted
quoted
quoted
+
       edp0-connector {
               compatible = "dp-connector";
               label = "EDP0";
@@ -141,6 +180,16 @@ vbus_supply_regulator_0: regulator-vbus-supply-0 {
               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";
@@ -536,6 +585,39 @@ 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 {
+                             };
Why is this port disconnected? It it really N/C?
Hi Dmitry,

Sorry for the confusion, Can we do it as follows:

hub:                    Hd3ss3220   typec-connector

usb_hub_2_1 <-> port@1       port@1 <-> empty
usb_hub_3_1 <-> port@2       port@2 <-> <empty>
                              port@0 <-> port@0
You still missed the _why_. Why port@1 of HD3SS3220 is not connected?
There are no remote endpoints added in dwc3 node. Since we are making dr_mode host. Hence keeping this remore endpoint empty.
So can you like.. add the endpoints under that node and problem
solved?
quoted
solved?
The lines go from SoC to Hub directly and not the port controller. And
hence can't connect remote endpoints of dwc3 controller to the hd3
node.
A comment in the commit message (and/or in the DTSI) would be nice.
Regards,
Krishna,
-- 
With best wishes
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help