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 C750623D2B1 for ; Mon, 14 Jul 2025 08:56:08 +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=1752483370; cv=none; b=b49hUWdKi/3iinud0M/ufHWJfOnyL4UE7o/zaCbWbBUN/hDg987N9tuDGrHjUO/VVR5FZBIzZxgidAJZJQPy3s+eUx9ppXcPmv+AMD22hsojZJczfdst6v2NsnxOOCMnRQaLpldEaiK8kXP8vXsKMVG11izXzvkM4SAQDdKz+KY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752483370; c=relaxed/simple; bh=X4I+rX7MASVYPmxglye1FOXudOJ3WWjuc7xvNa75H00=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=rjFEkd6kppSXvygggcDokpx9NnxFFmQyrC5/GAEGvn8iy2xsap/4yVY2NOYdzLg5l0c7N80VCy/3NxGVc+3DFOyXKT1+T6jA3KO0ESdiCSQfLIeIAo6RfP8zQpnrJ1AtXMl1fBnm3SvgXxn7O6XRkgrbiMF/P2YFtK4jvcV1cwA= 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=pVKSxzIQ; 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="pVKSxzIQ" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 56E0M3hp032291 for ; Mon, 14 Jul 2025 08:56:07 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= 5jY0WGc6ztQzUZ3gymsyEgC3n2Bv8t4dcCvQb5/DBr8=; b=pVKSxzIQrhKpDbPi r5coC3MplEo48xRgsX5iu1wil4cZlcdLj/qXYycNo0fQI/0YVH92iMmb3cVCZB/u i+QJ9/3lADJmAl99qFOuwIOsW03gGT4Of8kGu4ZcvNb/FvPkZ+Z7L4VEF2/Esfqh pvi0lzNiN4DrvK1DDX5emiJuufWiQ0xGqCJxnAsENLy4WCpDWXvJXW6JNC1GxOSM BJmmjbkQ/t98PISBMf9oI26tbu0Xx/rg1yHLs6FAr3Gix3IEK3KFs0je0/Wms8rI nlkqjX+9KLU1qF8cv0g+yVQzz1p1h4mpnmsh9fpHsKX5M0icSpxvGFbRmRhGR/c/ Vk1BZg== Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 47ufut3v95-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 14 Jul 2025 08:56:07 +0000 (GMT) Received: by mail-qt1-f198.google.com with SMTP id d75a77b69052e-4ab7a01c38cso118151cf.3 for ; Mon, 14 Jul 2025 01:56:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752483367; x=1753088167; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5jY0WGc6ztQzUZ3gymsyEgC3n2Bv8t4dcCvQb5/DBr8=; b=B+X3tJ429GoOuFzX7u+Nr++SaGwVXQlfbT2Rlng00dYGnnUqHUgcsWOCic8MIR/pSc nFL+Rnl8/b3c2ltwoeb97Dfaio+6PREu4UQim1cSmhHOxI7fONfw1iqj9y8nLpRY+Lu/ hqg86f0tCeftBWFIptEVLMxIykUFy6YLDCcJg7QIcARKclm8/WvsmE10dDva9qQO4BaH XoilVj8ncg5PrVPhV1/NBiPx8HgwLkThGK4cAS2EdILMCr5dJmsqpNGX+md74OQ2v8G5 h+xJ4TWvh5bCkPIzHFFil2DHkzPjMSnxhjDZRxkNNXj/Pc+0lH96nB56FA1ACQCmjPql pDHw== X-Forwarded-Encrypted: i=1; AJvYcCWPT+ztxE3XahHcuqsuaQHLtCHJudFMz81Pfdm0Su4LuXVngu3KqV649+hm43HOPr7sGcpmp+4TS+0wEmw=@vger.kernel.org X-Gm-Message-State: AOJu0YyPlTFwlFFjsEplW3Q5upXcOuf7Rxb2uXvHv0b1430Zts5u3GQL bKpYDcSvlzuTpcNDP/S2iChkXuhHRvxBN1B10ADFz3SS0EFEjbdrsx5T5y93haiZzl5el3rQkXw u/FbG0cX5VftFQiKOeVAkAkaf7lNjEgJnrH4FxZDSULhImHzluBI7oLIOvf4s54gQhRI= X-Gm-Gg: ASbGncvPog5MBdurCuAVkXl9nfQOEC4caqSJJzQfmw03DAYDxspeHkk79zUg2C6ONVd oMFRKk/4W7LubzDLnVsUnRgzvAgRVDEJgs8oc2DeLpYglPPQqgg87kqRQBVaFa41VWZlFp403YM 71YQsuhtBP9DGx8bhwIUcJvyqbu40Wq9jzxQmjrXHcbJqrQ8WLAbXsVYcMP/+qiQSyrRQp0L2HO 3/fq62ZsrZNF12x63i+vDzfodjITZ4sTyAlKjasE3+AqZNgINdjs6GqYPzexRpSYLqmZQ3wzpNm /bHui72VMS4zfjmsxvCFxVIj1uEhXisl5pgtxDqRK2AWaMSEmdNLRKe+TEv0kfEzT1A0JkurvEc 12KwP3iowI+hraFZFBCoL X-Received: by 2002:a05:620a:472b:b0:7d3:b0a3:6aa7 with SMTP id af79cd13be357-7dde9953e8amr657113485a.3.1752483366614; Mon, 14 Jul 2025 01:56:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGNHAGDmj1FNKm7Td/jrJizwNYUh9v+mDxMjEP9OpPhXFzcce8+hBlEif0l1OBFKxoCqJ1Zqw== X-Received: by 2002:a05:620a:472b:b0:7d3:b0a3:6aa7 with SMTP id af79cd13be357-7dde9953e8amr657112785a.3.1752483366190; Mon, 14 Jul 2025 01:56:06 -0700 (PDT) Received: from [192.168.143.225] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ae6e7e910ddsm792022066b.18.2025.07.14.01.56.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Jul 2025 01:56:05 -0700 (PDT) Message-ID: <7095596c-58b6-4581-9823-0f924b4ca005@oss.qualcomm.com> Date: Mon, 14 Jul 2025 10:56:04 +0200 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] usb: dwc3: qcom: Remove extcon functionality from glue To: Krishna Kurapati , Thinh Nguyen , Greg Kroah-Hartman , Bjorn Andersson , Dmitry Baryshkov Cc: linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org References: <20250714044703.2091075-1-krishna.kurapati@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20250714044703.2091075-1-krishna.kurapati@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=e7gGSbp/ c=1 sm=1 tr=0 ts=6874c627 cx=c_pps a=mPf7EqFMSY9/WdsSgAYMbA==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=Wb1JkmetP80A:10 a=EUspDBNiAAAA:8 a=gYDs5GclryXmtiFo2a0A:9 a=QEXdDO2ut3YA:10 a=dawVfQjAaf238kedN5IG:22 X-Proofpoint-GUID: 0iPOncBBi1KImlyKtkoSj7raCLlkiHcl X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNzE0MDA1MiBTYWx0ZWRfX+jdNESV8WIHK 7ezgrYWqeia0Cb4hIxEAcwpRXXs3wBrToI93CFVEdBdo+z1oYhRwn9Mu6+bWqJGFmeXohoF9dRL wDj58Uu+u39N5oN8IJ85u4zTm+gXqioMqN+0LqX+lqztCzp8GxZMtkhPBFq/YPiPmGyFEvs93o1 cO3NWm+ei9XsKe+0skAJWWHfYENlFx/JMDScDhOPeYli3TjZQ5yoMTGM7lcXj8asuMUeX8q9KGj 50vdkQSI4Qs0snFeI2fUdxkbJcUKp8hSaXWNQSvWaMDbfSDXuUzTxnYhn24lY0ki9IYy3l7s3oU rGNfl3wLbkXTtiUdSnVcLYHJuYi4EjpuJG066RpXEqjpK2fyxFW1Xe3WsYXpEzpy20dEXOhWM1w y8ghTGofp2jUs3h7q5ZQ22cMaFA2FN43dZYeUSub+rDMZupGQrOSAvLPJf2NdhDl9P1KYOGw X-Proofpoint-ORIG-GUID: 0iPOncBBi1KImlyKtkoSj7raCLlkiHcl X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.7,FMLib:17.12.80.40 definitions=2025-07-14_01,2025-07-09_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 spamscore=0 suspectscore=0 phishscore=0 bulkscore=0 impostorscore=0 clxscore=1015 adultscore=0 malwarescore=0 mlxlogscore=883 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505280000 definitions=main-2507140052 On 7/14/25 6:47 AM, Krishna Kurapati wrote: > Deprecate usage of extcon functionality from the glue driver. Now > that the glue driver is a flattened implementation, all existing > DTs would eventually move to new bindings. While doing so let them > make use of role-switch/ typec frameworks to provide role data > rather than using extcon. > > On upstream, summary of targets/platforms using extcon is as follows: > > 1. MSM8916 and MSM8939 use Chipidea controller, hence the changes have no > effect on them. > > 2. Of the other extcon users, most of them use "linux,extcon-usb-gpio" > driver which relies on id/vbus gpios to inform role changes. This can be > transitioned to role switch based driver (usb-conn-gpio) while flattening > those platforms to move away from extcon and rely on role > switching. > > 3. The one target that uses dwc3 controller and extcon and is not based > on reading gpios is "arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi". > This platform uses TI chip to provide extcon. If usb on this platform is > being flattneed, then effort should be put in to define a usb-c-connector > device in DT and make use of role switch functionality in TUSB320L driver. > > Signed-off-by: Krishna Kurapati > --- Reviewed-by: Konrad Dybcio Konrad