From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 8AB2C25B311 for ; Tue, 9 Dec 2025 15:31:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765294277; cv=none; b=fu+Kf7YgyCJlS2u9VCddTdSIUTdhwXe61Lf90OZeT7YESg6ZIDZ8CgwkUSDzX/u8yVVuZJyY1btGM933Q5dL+o9OcFR+waqJ8YKeMsJpyRhI3OkMIeYdiIBoAcdphGk+bQP5qoBAt0Y8LzK9j91mL1MDwwjPSz/zRPRPHYz6dSw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765294277; c=relaxed/simple; bh=KCb30gx7f4oKZDZUU0e+gs3C4HrrmkkGV6npmE6kIAk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=PBFQ1lN6f9zGrFH1FrxbNbiGRDB2R3adW5Ivp7FuZExqztuxfwiMbMwMVTL0w/TBqqE3a70pwGcJjDw6SS1xs6vTxLVU5d4g5Dj3OmiZ+/gIFbvAc01tRtNajrwFne5ePyFyEZSJysqmRSvfFycpQAnMipfQjmNFATHxBwf4+Ao= 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=GRwKEgp+; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=cgTbxdMK; arc=none smtp.client-ip=205.220.180.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="GRwKEgp+"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="cgTbxdMK" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5B9FUrt2580175 for ; Tue, 9 Dec 2025 15:31:14 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= thb0hjUV4NRW58vBjYa9I4NxttjPT7GRJDee8NVVxG4=; b=GRwKEgp+V0GKlm7O y7Ts4UQZFHj4YRxIVr35wnfy7nNEGyOphYc4Ac4W4/d/JR+O6AiceTJRwRH+sc9J JazRnhTYLwyg7wM29LKU6c03rSAfxXdb/7nNtKXp1dSO/zXw3TJIys0ONTODaCLd ZD6jtd6n9h8VQls4DQautq2yNiNYPcX43EH2PzOGU4NDUZT7VDoDdFgPt/osjIUQ swselhcdJ02SMtMiFIWztSsw5xERoqWGNxxLK1pTmhTbDTNqNuSxc4PGTPYlZfOO L7QbZi3ae8ALGrzLoY5q6VrUl3yPopuPZygxbksh7uDMvoBo0c+XqJe0a9dCsOSf Q1dkXg== Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4axjjm8uvb-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 09 Dec 2025 15:31:13 +0000 (GMT) Received: by mail-pj1-f70.google.com with SMTP id 98e67ed59e1d1-340c0604e3dso6763837a91.2 for ; Tue, 09 Dec 2025 07:31:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1765294273; x=1765899073; 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=thb0hjUV4NRW58vBjYa9I4NxttjPT7GRJDee8NVVxG4=; b=cgTbxdMKnYsSZuMVGDLmkL/0N+Sapl/OuqhtwmswnZWETqqRNrdl/j6amSHnglN9th ZYSGz1RinNcmLfNpPF49TmHnzBhsob+sAPmWqsTWy5io/ZrIvlhjpXIFKMdh4oLmB91/ JhKq4DtFSJDAFUh6/oS3JbiGWxlh5J/VDkV5LOX8qWQnJ/nZ3K6WLbXjVqFTND6Jfehi wlVayPmVLbun5IIMbC60jRQ0coeVsftGGVCErLI61F3qiLOpcuymjXKnWoNNuckvZAbS 4Kyqno+uAEV9fnycufEt+p/+BX7CJP2/8zQ0wTuwfU+MKBJHj+g9Zfm21lkoxE7TxLTK vwBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765294273; x=1765899073; 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=thb0hjUV4NRW58vBjYa9I4NxttjPT7GRJDee8NVVxG4=; b=bVqbUOeD46MmPXOEh9PO4bU3U4Qb7WF39DhZQuZHhf6PVCyCZXl4s9lBDjPwMkj7ag uLp38QNfl1G1bEKrOPj+UzvfsuokwpVBjKY7Ct/gf5VVajLdObtMIOQiUoKYNFBj2vux HcJSj7nOppJcbuW+Y6XlHY+oXDYSFt/NwxLEsTvlh8PP4ehLoEF1M9Hr5kGc7hDIvh/u PFo69Mcsw3jhU5aH/X7zaDJPDwyCggtCY9/8ZJHjJNw68TEZUs9gl6b/wjNQnuDQIEHH 81zKSwJmmR+DWcQGe0OpI6+FqJqTafLEP2Fr++mT4qJlsynvr7SangN5o0BzMZSZE8Sx ZxWg== X-Forwarded-Encrypted: i=1; AJvYcCWs/8mU0akQFznBW9ZjPm7nIiNZA1FnqVCZZl33GtNRWUbfshCWdvCNdVkOXSIAJxhH32vFbGMI/KcI/1Q=@vger.kernel.org X-Gm-Message-State: AOJu0YyOF2wHVBOkkjYyKNMysz0aCYgFR2J44YH95JC11xZjUkpcqU8W BlhhQLbRoyN0UOU0hoenWL0f7DE8C/2kU00s9PybZ/k644KfAsoqXr7KcFwIlVWZoeEmK2n/H4m x3Hil+pTPRCwcNQVNz3Dukr1BpPdcqr5s2hIRMUjTBkK+/bVSnrxERN2de2uEPxg1U3FQDAxZ58 U= X-Gm-Gg: ASbGncvKlJBJtvchEBN16I2kA4eZe/e+GZtM6jBLUURduKmjvlgZRdsuNSESVZz/s6B Rv2dLtnZj8+NPgf8zLXwl5MASb+3SK2pzgrdCofnvDWC4ZHnqeo+N4rPLRKwzJOvhF5EiWgJils q8HGy9mp4Cb0Qr0dXaElr9VLpuRnUpHhJt+sL9xiCTuQJYSKwe3p2W45ZxoA/Iqz4sNrkcSOAn0 AVnsLP0wL88wQZZ5tmuobsAeGGODMl16m0Y1yTmhXka0M372Bpul5Ovde8fkEsO04YdheeHZDWa zuW0cQdHgncqrMaamKUonnNfPPjEpeL48QPnaG1tHH2GSUmYvfXuoHX5qloGHb7NOMewW7qNKTS KF+wSYU/yBrDMiCZWh4NF98jLGNmYeB6uNOFaKHVfDRccIg== X-Received: by 2002:a05:7022:4289:b0:11b:fe75:d03 with SMTP id a92af1059eb24-11e0315ee80mr8364229c88.8.1765294272415; Tue, 09 Dec 2025 07:31:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IF9WxP/KWShg/hGEgDY14g8/pXhFx/huFNzQ7Xe9WB9pU56V2oDPS7bXrRuHGDh4G3Pps7B4Q== X-Received: by 2002:a05:7022:4289:b0:11b:fe75:d03 with SMTP id a92af1059eb24-11e0315ee80mr8364208c88.8.1765294271684; Tue, 09 Dec 2025 07:31:11 -0800 (PST) Received: from [192.168.1.3] ([122.177.247.113]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-11df7552defsm72868773c88.2.2025.12.09.07.31.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Dec 2025 07:31:11 -0800 (PST) Message-ID: Date: Tue, 9 Dec 2025 21:01:02 +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 v2] arm64: dts: qcom: hamoa-iot-evk: Add vbus regulator support for Type-A ports To: Dmitry Baryshkov Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio References: <20251209041701.3245452-1-krishna.kurapati@oss.qualcomm.com> <6awlcjah2ajwzxzdvoch5e3vn2ztvxyjdbikffhp6efti3f4wt@swhugoqsmf6z> <34aabb90-c81c-43eb-ba95-024f97d91afb@oss.qualcomm.com> Content-Language: en-US From: Krishna Kurapati In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=QtlTHFyd c=1 sm=1 tr=0 ts=693840c2 cx=c_pps a=0uOsjrqzRL749jD1oC5vDA==:117 a=E0qm/x4VGr2IK/H1a0Uz4A==:17 a=IkcTkHD0fZMA:10 a=wP3pNCr1ah4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=VwQbUJbxAAAA:8 a=pGLkceISAAAA:8 a=zC5czPtbmswiYTL7XGkA:9 a=QEXdDO2ut3YA:10 a=mQ_c8vxmzFEMiUWkPHU9:22 X-Proofpoint-GUID: -J57U4oGqEVfFHI_H5BBkSeypveP_hd_ X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjA5MDExNiBTYWx0ZWRfXy9GFHCA5QANP u9zsPeETfJD31ezEe4QHKg060UL3GXkX9a5VuudOAKkLTGo9ucC3/rb/w69iYFkB/AkPyxWJyIJ R/n5p5MUgFtPpcVXiIQRm56sZFSs1xcXBXicYSdPcCkn7w1gDaEGmtupMmzUb4lc89fBJZaSkbR xSwJHGIesPfL7TA+rDx5vULTtLUF7jd+3k99Oy7VfRcDL9SvGvZalGIFHGjTzef0TJufUS1tto4 7SRLNc76QLwo+MCP7uEYHLaO/As2O6l22BweWavUBbudzWoA94bOZqRGdMsF4+O+oGq3YJq37kX V1xXVRCa/j6F26eHTseEkx1uxQZ29/mLWv383iskKLCz+52+owD4airnGrz60BUlJdIE44BWm32 wWOilQIJUw9HdjrQ/CW+A75PI33Tdg== X-Proofpoint-ORIG-GUID: -J57U4oGqEVfFHI_H5BBkSeypveP_hd_ 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=2025-12-09_04,2025-12-09_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 impostorscore=0 suspectscore=0 adultscore=0 malwarescore=0 phishscore=0 bulkscore=0 clxscore=1015 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2512090116 On 12/9/2025 8:49 PM, Dmitry Baryshkov wrote: > On Tue, Dec 09, 2025 at 01:31:10PM +0530, Krishna Kurapati wrote: >> >> >> On 12/9/2025 1:22 PM, Dmitry Baryshkov wrote: >>> On Tue, Dec 09, 2025 at 09:47:01AM +0530, Krishna Kurapati wrote: >>>> The Multiport controller on Hamoa EVK platform is connected to Two Type-A >>>> ports. VBUS for each of these ports are provided by a TPS2559QWDRCTQ1 >>>> regulator, controlled from PMIC GPIOs. >>>> >>>> Add the necessary regulators and GPIO configuration to power these. >>> >>> Should this also include corresponding USB-A connector devices? See >>> qcs6490-radxa-dragon-q6a.dts for the example of how to describe them. >>> >> >> Hi Dmitry, >> >> I see same discussion that came up when we were trying to upstream TypeA >> connectors of SA8295: >> >> https://lore.kernel.org/all/CAA8EJppf+j6H8vPOrer1Oj6SuM=qHKXoBahtCaCr7an-cbpyOQ@mail.gmail.com/ >> >> There is no entity (either phy or dwc3) as of today that can read the vbus >> from connector-A node and use it. So keeping these regulators always on for >> now. > > There are two distinct questions: > - one is how you describe the board and onboard devices / connectors > - another one is how to make sure VBus is enabled. > > I'd suggest having full description (with connectors, graph links > between USB host and connector and vbus-supply properties) and then > having the comment before regulator-always-on describing why it's on. > Thanks for the review Dmitry. So, IIUC, the suggestion is to add the connector nodes for Type-A ports, add the vbus in the connector and mark the vbus regulator nodes as always ON. W.r.t the graph nodes, we can't link the connector to any available node today. Can we leave the remote endpoints empty and unlinked to anything. Regards, Krishna,