mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
	Swati Agarwal <swati.agarwal@oss.qualcomm.com>
Cc: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Icenowy Zheng" <uwu@icenowy.me>,
	"Matthias Kaehlcke" <mka@chromium.org>,
	"J. Neuschäfer" <j.ne@posteo.net>,
	"Jens Glathe" <jens.glathe@oldschoolsolutions.biz>,
	"Mike Looijmans" <mike.looijmans@topic.nl>,
	"Catalin Popescu" <catalin.popescu@leica-geosystems.com>,
	"Bjorn Andersson" <andersson@kernel.org>,
	"Konrad Dybcio" <konradybcio@kernel.org>,
	"Pin-yen Lin" <treapking@chromium.org>,
	linux-usb@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH v3 4/4] arm64: dts: qcom: lemans-evk: Enable secondary USB controller in host mode
Date: Mon, 19 Jan 2026 13:06:28 +0530	[thread overview]
Message-ID: <f2a9a7f5-f406-439e-8d86-94e98b2e18e9@oss.qualcomm.com> (raw)
In-Reply-To: <53dojwu2xfshqaii3dzmglhjsne75jyf5r6ycerbr32w4v3rlf@umkbjczudotn>



On 1/19/2026 12:01 PM, Dmitry Baryshkov wrote:
> On Mon, Jan 19, 2026 at 09:42:03AM +0530, Swati Agarwal wrote:
>> On Wed, Jan 14, 2026 at 11:39 AM Dmitry Baryshkov
>> <dmitry.baryshkov@oss.qualcomm.com> wrote:
>>>
>>> On Wed, Jan 14, 2026 at 11:10:26AM +0530, Swati Agarwal wrote:
>>>> On Tue, Jan 13, 2026 at 4:59 PM Dmitry Baryshkov
>>>> <dmitry.baryshkov@oss.qualcomm.com> wrote:
>>>>>
>>>>> On Tue, Jan 13, 2026 at 01:32:41PM +0530, Swati Agarwal wrote:
>>>>>> On Sat, Dec 20, 2025 at 9:47 PM Dmitry Baryshkov
>>>>>> <dmitry.baryshkov@oss.qualcomm.com> wrote:
>>>>>>>
>>>>>>> On Sat, Dec 20, 2025 at 12:05:37PM +0530, Swati Agarwal wrote:
>>>>>>>> Enable secondary USB controller in host mode on lemans EVK Platform.
>>>>>>>>
>>>>>>>> For secondary USB Typec port, there is a genesys USB HUB GL3590 having 4
>>>>>>>> ports sitting in between SOC and HD3SS3220 Type-C port controller and SS
>>>>>>>> lines run from the SoC through the hub to the Port controller. Mark the
>>>>>>>> second USB controller as host only capable.
>>>>>>>>
>>>>>>>> Add HD3SS3220 Type-C port controller along with Type-c connector for
>>>>>>>> controlling vbus supply.
>>>>>>>>
>>>>>>>> Signed-off-by: Swati Agarwal <swati.agarwal@oss.qualcomm.com>
>>>>>>>> ---

[...]

>>>>>>>> +&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>;
>>>>>>>> +             #address-cells = <1>;
>>>>>>>> +             #size-cells = <0>;
>>>>>>>> +
>>>>>>>> +             ports {
>>>>>>>> +                     #address-cells = <1>;
>>>>>>>> +                     #size-cells = <0>;
>>>>>>>> +
>>>>>>>> +                     port@1 {
>>>>>>>> +                             reg = <1>;
>>>>>>>> +
>>>>>>>> +                             usb_hub_2_1: endpoint {
>>>>>>>> +                                     remote-endpoint = <&usb1_hs_in>;
>>>>>>>> +                             };
>>>>>>>
>>>>>>> Are all other ports disconnected? If so, why do we need a hub?
>>>>>> Hi Dmitry,
>>>>>> I didn't understand your query, can you give more context to it?
>>>>>
>>>>> You have described one port of the hub. How are other ports routed? Are
>>>>> they connected to outer ports? To some other devices? Unconnected?
>>>> Hi Dmitry,
>>>> I would like to put it this way, USB HUB has 4 ports but only one port
>>>> of the hub is used between SOC and Type-C controller.
>>>> Remaining 3 ports are used by other devices.
>>>
>>> Which devices?
>> Hi Dmitry,
>>
>> For Lemans EVK standalone corekit board, there are 4 ports as follows:-
>>
>> 1) p1 is connected to type c port controller.
>> 2) p4 is used for the m.2 E key (NFA765 Bluetooth) on corekit. This
>> isn't used on a standard core kit, only if we optionally replace the
>> wifi card with the NFA765 which uses USB for BT. standard kits all use
>> UART for BT.
> 
> Nice. Hopefully Mani patches will be landed soon and we can describe
> this one properly.
> 
>>
>> Remaining 2 ports will become functional when the interface plus
>> mezzanine is stacked on top of corekit.
>>
>> 3) p2 is connected to another hub which is present on the mezz through
>> which 4 type-A ports are connected.
>> 4) p3 is used for the m.2 B key for a 5G card when the mezz is connected.
> 
> Please add a comment for these two, e.g. routed to the connector ABCDEF.
> 

Hi Dmitry,

  Thanks for the review. Can we send v4 with the following changes:

  Add 4 ports each to hs and ss hub nodes and link the first port to 
Type-C connector and add comments for the other 3 ports. When M.2 E 
conncetor comes up, we can link the second port to it in a different patch.

  Let me know if the above is reasonable.

Regards,
Krishna,

  reply	other threads:[~2026-01-19  7:36 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-20  6:35 [PATCH v3 0/4] " Swati Agarwal
2025-12-20  6:35 ` [PATCH v3 1/4] dt-bindings: usb: Add binding for Genesys Logic GL3590 hub Swati Agarwal
2025-12-20  9:17   ` Krzysztof Kozlowski
2025-12-20  6:35 ` [PATCH v3 2/4] usb: misc: onboard_usb_hub: Add Genesys Logic GL3590 hub support Swati Agarwal
2025-12-20 16:07   ` Dmitry Baryshkov
2025-12-20  6:35 ` [PATCH v3 3/4] arm64: dts: qcom: lemans-evk: Rename hd3ss3220_ instance for primary port controller Swati Agarwal
2025-12-20 16:07   ` Dmitry Baryshkov
2025-12-22 10:17   ` Konrad Dybcio
2025-12-20  6:35 ` [PATCH v3 4/4] arm64: dts: qcom: lemans-evk: Enable secondary USB controller in host mode Swati Agarwal
2025-12-20 16:17   ` Dmitry Baryshkov
2026-01-13  8:02     ` Swati Agarwal
2026-01-13 11:29       ` Dmitry Baryshkov
2026-01-14  5:40         ` Swati Agarwal
2026-01-14  6:09           ` Dmitry Baryshkov
2026-01-19  4:12             ` Swati Agarwal
2026-01-19  6:31               ` Dmitry Baryshkov
2026-01-19  7:36                 ` Krishna Kurapati [this message]
2026-01-19  7:43                   ` Dmitry Baryshkov
2025-12-22 10:19   ` Konrad Dybcio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f2a9a7f5-f406-439e-8d86-94e98b2e18e9@oss.qualcomm.com \
    --to=krishna.kurapati@oss.qualcomm.com \
    --cc=andersson@kernel.org \
    --cc=catalin.popescu@leica-geosystems.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=j.ne@posteo.net \
    --cc=jens.glathe@oldschoolsolutions.biz \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mike.looijmans@topic.nl \
    --cc=mka@chromium.org \
    --cc=robh@kernel.org \
    --cc=swati.agarwal@oss.qualcomm.com \
    --cc=treapking@chromium.org \
    --cc=uwu@icenowy.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®