From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EEB3F296BA8 for ; Mon, 19 Jan 2026 07:36:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768808200; cv=none; b=eXcTLJu0H8qoChwU3VQL9p7qwgmLBu3Nf8U8tSQWszOORATNfSK8Yd6Z+YWr+zCk/vO/pn/lKVlv8hOp2gBdPDYrlcPOziS6jgegRI7czbhEJxe3w89Ukz6silIGS6Q6iW20W34m7ReyC47SV3UWxg8b2hdLK1IpPDvR8eIhwlc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768808200; c=relaxed/simple; bh=rjH9EBJjnsTLG6mQj5j5983rfdayM3mJk1uhIwBlYyY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nBTqEVlROE0SdOdny2rZDMiw6sXS/sO3ug7qvqscMYlCl05NfPteEMEzsaWd7rD5CRhsWQc3mjzk3TgyjjsFZlOMeM0bScDqzv7ozkQ+uMCMxDNVnkJQCieU03LQT7Yl/FApMkG7HsFnQT3hz3NZYfCKTrO93rTpW6ZzoNTg2pY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=JtdQcObv; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=YAN9OGbs; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="JtdQcObv"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="YAN9OGbs" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60IJRj0m4057587 for ; Mon, 19 Jan 2026 07:36:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= niXb+Ms2tUibq0tveFSnX+rpPdxCeIikMFq3shCx9m8=; b=JtdQcObv4ZXv2HG7 m8K+6qpHZFv64b7I4wn1aZ5gFNhWqnndG4ErEKrNt2BTkHAwcuf33nCPT+atiyUi aUiVL654zESJdmDJP2oekkugJMZnqkFOnze7mosYaTi51uwpReWDkeZNRhZiv1EJ FUOH9TqQ0czrYOTza2lqVcvhKAJchtOVz9prYsdCrJkRGY0/dfFCTxQttf53Jr2v GEKd1KF71xktwYAxUR6codMV1yTo0gQE/YUBGeIy9nv0nFREc0s/Rya0SFAsRdHw qt4yUuf7z3/rCQsmt+7Vcl8RKsLkJki26gOZFKTrASv3m0rxfQc3efH8OvRb6SVw grbJTA== Received: from mail-dy1-f198.google.com (mail-dy1-f198.google.com [74.125.82.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4br36dc403-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 19 Jan 2026 07:36:38 +0000 (GMT) Received: by mail-dy1-f198.google.com with SMTP id 5a478bee46e88-2b6be90b6d1so3958804eec.1 for ; Sun, 18 Jan 2026 23:36:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1768808197; x=1769412997; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=niXb+Ms2tUibq0tveFSnX+rpPdxCeIikMFq3shCx9m8=; b=YAN9OGbsdGijDGMQmltjvObcbCtpOSYVBMrU4Amth23MVVxgTEbTjZNmwtDstnGeHC +lRdZmB4+sasXLX4u2qXaAoyhgp1xl5BFEvFy/2b/6DUWiJoamPPIvTt8riAJA6koT5U 3j6cEwBHali2UjCk7DjF+iSOBaV+rLCgrIHtZW882sRLMZqlrfPGv2ZvfKngt9qGW4B9 bsP2KCUtBWNWQH/FArLIh6c/wdoIu6U3xBUFlDA7qmZRXsA3IXe4eaeR9yUaHJDMmoe/ Lv0QuVPUxiSW1qXu0zcFINkWMF9mK1SNdCfBV969ygJCWeAl7U3R3ptRyYEFGG7gSCL2 D/sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768808197; x=1769412997; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=niXb+Ms2tUibq0tveFSnX+rpPdxCeIikMFq3shCx9m8=; b=PWqsaU1rU53nJMqQx3dJXqb0b8+CWmtQrbV8u5y+UfoJbjSBo+ZtGjF0cKELd2QjDq 1n1OhQZpu0FspQIpwXR2E3ttpxOzwEL2Jr+YYrHo9OZrW4SzKxvDGy4XV560r1e6TcZB vFkCNfsJFGMLenppBtWwhQmuhsg9A16uNylWThV4gpyvnk+z8OTx5lmkmv6/ZgNeyzXp iD6ul+xB2VCfBXchwUUTaNnhRFOIZviQ9mD4xBMUK0pZKAUihWiaERuHIHGcRhoq3nxE StS1TTv9NTRQAj+GcEoWas2bHtm9P9K+kiBV9excUBntf7dixM2YWGxsQ60WZZAOFUQA HTmA== X-Forwarded-Encrypted: i=1; AJvYcCUBgEkRGfoKeT2Za6CoUA4DYH8+F/Xs4RgofINLdi2B0aG/LkH9IN99IfSNmkwetOy8WyulHYOgN3w0XIM=@vger.kernel.org X-Gm-Message-State: AOJu0YywJDTanZb0I8F/dismNBkkOofgFxcjVqzRYWt26UOq41JGEpqf tNHb634PLozSxNOWJqzD1F+996z5Vf4ovLHQPuUwxkiVM7UkV41juY+k5KRzUV2aF2snjKNUcQR Atgp14QXSRHvfcPm+mh55QbHzGJSSwJq8Ey+NZM89wz0R5N2O1D0z5JazorzsZBChthI= X-Gm-Gg: AY/fxX7qXwVYUKt6MdUIhfNV+C8g+Xa0KIOX6NY9+gjO3hRDKoOhTF4I7lhpdlnbFl1 HrJ1XOgpNfpcxpALT7pypK7ExNsy9K+aDqCYKya8ximPfPHQlHq1fUKycX0M9tBe3VRNc6QaiOT j/YuhDEbjwoXuLxLZav1tnjs4joPTJ7y9e326jwGwhmHbZYa1niIxfB+lOrO+oXPlhOpUel8Pxn TLPbSre3BDuX28MGWcBUsDbbqjrHx1xejN/pK6NCHZpkILViReYjfE49OooOmYDYQxamRQfmsN3 fZfE9Z8W6D8Uf7ZfH9N8mWOzrUStXTBYK2yTUYObODerAJKDncEzwWHfAHDkw0NLeg+XoIa/Nj0 b2klxJVdi+JdofuKgFBaJmkx6+LCMLhIwp2dbra9XU6tPLg== X-Received: by 2002:a05:7301:d8f:b0:2ae:5a73:23d6 with SMTP id 5a478bee46e88-2b6b4053d20mr8038994eec.19.1768808197242; Sun, 18 Jan 2026 23:36:37 -0800 (PST) X-Received: by 2002:a05:7301:d8f:b0:2ae:5a73:23d6 with SMTP id 5a478bee46e88-2b6b4053d20mr8038964eec.19.1768808196649; Sun, 18 Jan 2026 23:36:36 -0800 (PST) Received: from [10.217.219.121] ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2b6b3682540sm11721042eec.34.2026.01.18.23.36.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 18 Jan 2026 23:36:35 -0800 (PST) Message-ID: Date: Mon, 19 Jan 2026 13:06:28 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 4/4] arm64: dts: qcom: lemans-evk: Enable secondary USB controller in host mode To: Dmitry Baryshkov , Swati Agarwal Cc: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Icenowy Zheng , Matthias Kaehlcke , =?UTF-8?Q?J=2E_Neusch=C3=A4fer?= , Jens Glathe , Mike Looijmans , Catalin Popescu , Bjorn Andersson , Konrad Dybcio , Pin-yen Lin , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org References: <20251220063537.3639535-1-swati.agarwal@oss.qualcomm.com> <20251220063537.3639535-5-swati.agarwal@oss.qualcomm.com> <53dojwu2xfshqaii3dzmglhjsne75jyf5r6ycerbr32w4v3rlf@umkbjczudotn> Content-Language: en-US From: Krishna Kurapati In-Reply-To: <53dojwu2xfshqaii3dzmglhjsne75jyf5r6ycerbr32w4v3rlf@umkbjczudotn> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTE5MDA2MSBTYWx0ZWRfX5erVItkEShRW e2tHNCeR8DSI6iV6+ZioRJEZ/q55KdLwF1ucd1rUFcODPo2iNb+Yk7PzoN3z568cCRx4hwpHJ/k NIZrBR9UpNBDtydpe2x5wsPm4Hm8WChECoG2yG1pu+HxRCM+GtNVaWW0zpW4rtCsJintSqUX63Z J7PzR6VOXUan7QHw/i2mNhVrdlrO+H/GE29mejL0oGKEVQiFSZmj1JS9QaES1GnMddlub7lKL45 3rhKdXSXY3xnaeeE+l3WDemdykmRYdSKdHgl04R0iEq+FeS5ZPMiUsPuh60kyMqESXfajQbxsXI Ne0fl1TBImPKa1eut6ZrvVlmQulXiUKATIdxoDnsEl1bC2opMUiABx/XUqf31+pQLaxmgcTqEIy A/q8AybYCF97nTJYCX0uJpYvYGgFkSY4erk3B6hi9SO52kd4D6vdJNRf6x5BC4yvQV5RBNV5J6E xfskunvJfqW2hcTCRkw== X-Proofpoint-GUID: kP6UuDxK7vr8Mq-bEnDFVxZPhBxy3Bpb X-Authority-Analysis: v=2.4 cv=GJ0F0+NK c=1 sm=1 tr=0 ts=696ddf06 cx=c_pps a=wEP8DlPgTf/vqF+yE6f9lg==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=zYNpofc-SOyKt3YyfrMA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=bBxd6f-gb0O0v-kibOvt:22 X-Proofpoint-ORIG-GUID: kP6UuDxK7vr8Mq-bEnDFVxZPhBxy3Bpb X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2026-01-19_01,2026-01-19_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 spamscore=0 lowpriorityscore=0 clxscore=1015 phishscore=0 bulkscore=0 adultscore=0 impostorscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2601190061 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 >> 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 >>>> 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 >>>>>> 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 >>>>>>>> --- [...] >>>>>>>> +&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,