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 9F29C146D53 for ; Tue, 7 Jul 2026 23:23:06 +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=1783466587; cv=none; b=n5EbQIoCW+pxK2D3TWYaNQrNHBcyvuvDJUSpaxbAvV3GP3mRm1s6wpyJ2222rAW6u3Xkpb9BqABqfg3PBV75EkFHm6QTJXIoOtuJlrLkYxuWGRyLCOK72AZyjm8FxcPTsiF1+VDUA4e56n7i/I79qQzId6Rm8IRs0TqJ2RWmUXA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783466587; c=relaxed/simple; bh=SJa3pQ8h3Kv91gDuryXySxmy3NsotB0qcSocnnfjDdI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=cuDvQliYe4Psh89xNCsRwxTbFX/VIr+YAvu79HpNoxz6iBs2+oIVSy1syot6qW0kBd96LBLCp+AZlKDV9zPZV8MEDJl1MXVR2WMe2p3wYlzbDIlsftxKyndjGupOTBIKMEdeFKQ0HtyYsDeZMskjppCUblZWOyTq4EUTRZ5H2PM= 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=JaKmF/A4; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=f40nOzJR; 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="JaKmF/A4"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="f40nOzJR" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 667Mcppm948943 for ; Tue, 7 Jul 2026 23:23:06 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= 3qcPbC/1smoMIhS6pthmDany4hLubp0OaErXI33GxI8=; b=JaKmF/A4ybzL+k84 G/bjkBIdnWPmluT5B6mXJIwZzA2RsAFLCXR+yPPxIH/P87FdbvYoG+6rxj/j9Ll4 LlpInFwxRGbInHqT/2lLPiD5e0j2FuET8bBs5HZubWoSuckejgJ0XKZWwMTRqCkm sIg4kwvSrwSlpiwRgl8YvVFHUrE97z3q9z9U3YtguPlt2+8dmvgzUvTrsHTRDh3h azbJchmeIpYpW1rV6yyh2ch07OsnP3xrwrtQJK3bGkbpYVBStqHPOyTgKsnlGKMR Q8jSsJwSmqUHUNW12Lvsou9f/n5TmM1Z4L1O6LNmNreMufl/jbhFWzFaeAq+r++d 2d+yMQ== Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4f8ye0k7bs-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 07 Jul 2026 23:23:05 +0000 (GMT) Received: by mail-pg1-f200.google.com with SMTP id 41be03b00d2f7-c891ed872ddso31475a12.2 for ; Tue, 07 Jul 2026 16:23:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1783466585; x=1784071385; 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=3qcPbC/1smoMIhS6pthmDany4hLubp0OaErXI33GxI8=; b=f40nOzJRKt1oRlDRH7BraqpGq0Cr5NTHuHJuM8iJ7qOhL93OR4wkmBhkUEf1mXMJ9o E+tynEawlwz3XUi/ugytlQeWMVi4ptXOSgnelJ9wP+RI3YOAwLvAGKYv6bGREgbcNIVH lfcS/+yLjHWzbQe+kHWP0SgHmm00I52hGdVrUPqFrOWTOhF0mCUNDG0XuIlL0dJ0BvGu wZfVdYahCc5MEVRlCozdy7uEwCWWBQnY+u6/T++BAdRMmBnYlCsbBQbttFcyKxhq8HkE JxsyH8Kfn1Bl3lVUg6jA1Sl5YMf3A/uFxu8udEAk3uDynXNYipv101qHnAr1DXTwYuDY wuQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783466585; x=1784071385; 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=3qcPbC/1smoMIhS6pthmDany4hLubp0OaErXI33GxI8=; b=lva+Oyo2nCe5uXyVmsVzSLqL5EXiUDUmK8/9k4FQcPq2HlpZ+1xl5JkEJ2azyi1uu1 FS9iIdC/5S04nJnBncv3khuYbNuLfN5MBHxulrqSBxuZ9W7QWi64bx73EB5FO3c5o57r kTrEj3YlYoHgN9jriMHFpZYk/d5SbrVICBHidai4WiBxUS+SX2U+H20LuNF3s86jUq/M ssjYdRQw7M0gNhe8bdZa0uZRUtbzRhlS77EPl97732I7mnE0/32fPlxSVaLOU7ecO5fu D7NnCvgBE9G9IOpSN9OVOhTz+hezklwyZtGNHKMFHYWhRyE3mCeVFYbwMyweg6didRuI gArA== X-Forwarded-Encrypted: i=1; AHgh+Rpwh3VVMWJ+0uGh+Y/Q+47LkTllDfU1Yh7ODoh8jhiJFdWbppLcTmAFdkeNXemTZmqu3q9Bi26R4S9vImo=@vger.kernel.org X-Gm-Message-State: AOJu0YxKJLsEshORbTnkXFKK+5rdr2JbKJKv5s1CVCBkQ40iYbabcTa5 eHga6BNG+prutn1KVS6nwrivneBIDLkVZjJ2U/nMh9qP4J/MS5wW2curwB90c42NEp5ph3FCumj 6uBon4FaCT9gtd3qTknGt367kDnxUGpoLkTvJMopepM/IKvoClC5mump6qDgxLMNmhP4= X-Gm-Gg: AfdE7ckp+Ks1l5CFV/SmS6OOTvMizthh2ggcLFjCou3aD6UHkIrGsu/KMkt+wsqfRip CqjkYovTUfS8ZtDo+i3zU8xWpwvjvRiysl6N6o+KLnixb25aI8lVJfWVFVp6HlS4rUEjRnQiwxP xslHPUiDUUzLPS48/g7Ect9apl+dvojY/X4v1GYkqs72CLZ/Q6P8l1W0zjA/2gAGAQNc0yTykac CR/C67iS5srSh734Qli8/FNlAimgK4qwIcmaAoQgHoc4hkrelBV4PZ+ydSRcSYGa0tQdBrZ5wgp YKY2RMTu7Hso+Ppr93hzYk2jUsBIC74LLBBDWB45jcv4ZPfUy2vMTVVOGIaYKJErD3NwvpsqKe/ 8Qo+/rwX8gZmtzSjSb8eWdYY8n5znxfTEHJnZF1EI4c+loRw2GcO5GImtdOP77+o9ieVFxLz/2n O2puQ= X-Received: by 2002:a05:6a21:3295:b0:3bf:a36c:5498 with SMTP id adf61e73a8af0-3c08ef78172mr8408717637.48.1783466585188; Tue, 07 Jul 2026 16:23:05 -0700 (PDT) X-Received: by 2002:a05:6a21:3295:b0:3bf:a36c:5498 with SMTP id adf61e73a8af0-3c08ef78172mr8408679637.48.1783466584626; Tue, 07 Jul 2026 16:23:04 -0700 (PDT) Received: from ?IPV6:2603:8001:7f00:fc12:b897:54f3:b10a:6577? ([2603:8001:7f00:fc12:b897:54f3:b10a:6577]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-13b658a99afsm13112035c88.0.2026.07.07.16.23.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Jul 2026 16:23:04 -0700 (PDT) Message-ID: <088fa4b1-1b5f-4991-97b4-9654eab66253@oss.qualcomm.com> Date: Tue, 7 Jul 2026 16:23:03 -0700 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 v4 1/9] dt-bindings: soc: qcom: eud: Add per-path child nodes for UTMI routing To: Konrad Dybcio , Dmitry Baryshkov Cc: Bjorn Andersson , Greg Kroah-Hartman , Konrad Dybcio , Krzysztof Kozlowski , Rob Herring , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260501170635.2641748-1-elson.serrao@oss.qualcomm.com> <20260501170635.2641748-2-elson.serrao@oss.qualcomm.com> Content-Language: en-US From: Elson Serrao In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: p3bcw_AR35ztEI-9TgD_JsNM3GTDpWWb X-Proofpoint-Spam-Info: AW1haW4tMjYwNzA3MDIzMCBTYWx0ZWRfX6DWSPA4GpUd3 82U1KyDquuDXwr4CYGZEqd7Tg+krI/v8yTN8RjpnRHT3FCeLQsbA3Lcn5n/Vvq1LOzc5hrJj6aP xegzSEvD1D3IO+rieilQQipMWw8x4xI= X-Authority-Analysis: v=2.4 cv=SZfHsPRu c=1 sm=1 tr=0 ts=6a4d8a59 cx=c_pps a=oF/VQ+ItUULfLr/lQ2/icg==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=VwQbUJbxAAAA:8 a=pGLkceISAAAA:8 a=EUspDBNiAAAA:8 a=euQb0ivSr0ruaFWTCHgA:9 a=QEXdDO2ut3YA:10 a=3WC7DwWrALyhR5TkjVHa:22 X-Proofpoint-GUID: p3bcw_AR35ztEI-9TgD_JsNM3GTDpWWb X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzA3MDIzMCBTYWx0ZWRfX7ughu1Hahn4A MJAw3duoTL76/kqz0onJiakBnb/z3VWG2LLsMIA4FGqq2ZtwKH0xyo9tyo52T4VsrHcM7fcOFvU zNhrPp5MNsxaKL1pDUBfEkQ8kSXEBHAbCHG8MCKkOPRmqtL+rQzvtv0P/1prirnXnlq7dpN0Rg9 c9W4hNX40dZAMG/GOpKez/z24AYFi5JlZTiXsbSxlMCn1uXAV15bswRJ6voscilMiJ/VEy4XTyh LN22Bcz1mjZWGR3kjq78WF7ViGSe4WMsmJR3CnuxCkt8kCkaBnvWIL9C8yv3ASJCyOXJeBQXm33 OM9jPJ05j2/AftnymyX84RRhmvr4o7RlKjLQN7GDc21YI3fGwMcLNJb2IGM6D9Wz5yl0IDi9scl 2wSN3pXEOqt+EfZu/aLoRCIOROGsewUQ8E2M8b2qcxIb0XIg9xR8WkIrdz4YMWbLf8T1Gr8MzC0 qv2jiJXikDOWE8BnSLQ== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-07_06,2026-07-06_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 malwarescore=0 bulkscore=0 spamscore=0 adultscore=0 lowpriorityscore=0 phishscore=0 clxscore=1015 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607070230 On 7/6/2026 2:27 AM, Konrad Dybcio wrote: > On 7/4/26 2:05 AM, Dmitry Baryshkov wrote: >> On Fri, May 01, 2026 at 10:06:27AM -0700, Elson Serrao wrote: >>> The Qualcomm Embedded USB Debugger (EUD) can intercept one or two >>> independent High-Speed UTMI paths, depending on the SoC configuration. >>> Each path is distinct, with its own connector/controller connection >>> and role-dependent UTMI routing. >>> >>> Because the EUD sits between the USB connector and the USB controller, >>> it must relay role changes across the UTMI path. In device role, the >>> EUD inserts its internal hub into the path to enable debug >>> functionality. In host role, the path remains directly connected >>> between the PHY and the USB controller, bypassing the EUD hub. These >>> hardware constraints require per-path role awareness, as UTMI path >>> roles may differ. >>> >>> The existing binding models only a single UTMI path and assumes a >>> uniform routing model. While sufficient for simple device-role-only >>> configurations, this representation does not accurately describe EUD >>> hardware when role switching and/or multiple UTMI paths are involved. >>> >>> To address this limitation, per-path child nodes are introduced to >>> describe individual UTMI paths through the EUD. Each path includes its >>> own ports description, allowing controller and connector associations, >>> as well as role-aware routing. >>> >>> Signed-off-by: Elson Serrao >>> --- > > [...] > >>> +oneOf: >>> + - required: >>> + - ports >>> + - required: >>> + - eud-path@0 >> >> Do we really need a separate eud-path node? It doesn't represent any >> particular part of the EUD device. Can we simply add more ports to the >> ports list? >> >> For example: >> >> ports { >> port@0 { endpoint { remote-endpoint = <&usb0_host>; }; }; >> port@1 { endpoint { remote-endpoint = <&connector0; }; }; >> port@2 { endpoint { remote-endpoint = <&usb1_host>; }; }; >> port@3 { endpoint { remote-endpoint = <&connector1; }; }; >> }; > > I think this was originally born out of the role switch framework being > strongly tied to a single OF node (because the way they're found is via > graph traversal and not via a phandle) > For additional context, the rationale for the path-based topology was previously discussed here: https://lore.kernel.org/all/CAO9ioeW7O+arR2VdAZboty_cAdtYm--ppMx9RT3nTQpJbTGccg@mail.gmail.com/ Thanks Elson