Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp451691rdb; Thu, 22 Feb 2024 08:38:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWYG2s3FpeVA43sIy6vb2AS/e29Gga+zz7MV//oaFg0Jm1ctWqoeYx3LcMbqw3uA8hKObaeg8CC/LdIydlpM72Li49Aj3bJyD3VlomIVQ== X-Google-Smtp-Source: AGHT+IF0ZX+53Fo5LO4TJbS+MG5WyFLlLRCDU9hC+SRE/IVJoo/oDixjmz+WuNJRCfvhIWUqdcj9 X-Received: by 2002:a05:6a21:1394:b0:1a0:c5fb:e187 with SMTP id oa20-20020a056a21139400b001a0c5fbe187mr4452313pzb.32.1708619892180; Thu, 22 Feb 2024 08:38:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708619892; cv=pass; d=google.com; s=arc-20160816; b=Q13JiJza6xfCZnUZqIcfEYOLvaNId1kG7hKJc5ZEBoaDD/g4sUdoWYxYCDTKLOsKGN y7qFgkwJqDsHKlHPKfzA4mKB94E6U4HE/anBGWEYnoa+xVlxnAnGG0XGIZ6azwfCrx+h cE5gH+3CDoXFEoRf7lXaJJfdKNCkJ67O8G9u9SpcyUo53xXv7jnT/7ucvE7rqYsDzFjj jrhdwdbK7o7Da7nK/1RyQ/rl9Ah61bQOLqkNxIlRdg8o6BSLDd+cZKZhOuzvcj7zA9Hr nGrLz+bwtAT8iLe5lPwneo7YTN7lrovuEe+wZrQI7rgVaF7UQiLT34JQvKoAciVwZrat 6+WA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=VkGlsO5Mrfm3ug1ikkXZ4Ko+065GQMTl3KKTloxaHRI=; fh=myci97YMzz+HRc13a/SCm7IFGtggBgEF8Ee8WxmWcrI=; b=sjzQi8guXQHPtr2yXw43zM04/XAYgynybMhHVzct2NmZ0o+UyjfY6CkpqqRIWqiYj5 dNz0FgFpcF135KARL7yNuRa2e8o5uIy7eXMP3lngd6GX9vDGssRTT8NyijqX4Eku0ffc IhP1vQ5aWQrv/YrM+t3rC7jcjJXatX8CU2CoYdMumHDl+wI3Nt16Xlrmd8OtrgQVB9KK pkIVcERBEIW0dahFPL4EhoWt4ihdHqYqzElmAjizA1eNyiGQOTQZRHoYHSGRAPm7RLgN ynburdDXQAykWwRZ8pQzT9VI4acR+FLCHpwM2zGKONdUbx4xRljh9UQ3vX+IFb905uw8 fmlA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="Wcgi/ear"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-76861-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76861-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id x3-20020a636303000000b005d8e379746fsi10562865pgb.469.2024.02.22.08.38.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 08:38:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76861-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="Wcgi/ear"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-76861-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76861-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 13C62B2B064 for ; Thu, 22 Feb 2024 16:13:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3C82D15697B; Thu, 22 Feb 2024 16:11:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="Wcgi/ear" 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 E1810155A59; Thu, 22 Feb 2024 16:11:42 +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=1708618304; cv=none; b=Nwy9tQvROQrg/Rz5RyIlhjsgjQ0HpphZX3t9P3m+nqlkx6ErwLSrfMh2fJcikPM4vqXY7uMJbnz3RT0SokTqy0fF5CWE1eVM0tqnh+VJYMX7Iryo21dwQW0sxjZcahntO1donotYSs+/YdywyiirqWaSoTF06f9qNM5017YQreE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708618304; c=relaxed/simple; bh=ODWAXk37uneRRqTuBv4cWoCMKia5zti02gXxeRYGzfg=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=e+87svp4TfjG9q112yCx1fXSpjJ6DM1yO3Cj4XTRPbvWfwf5vj1uuk2ErRrToXgf1J2HMiT7y6N7f07f94HDqEVMwgOuTx6DoR1/e4oWdcPuflSB9hKKrPsFod6KEY7dPDROjA1mr45XrvOAP2rKL+hHN0fYvlHTN5nj+AtjRok= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=Wcgi/ear; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41ME0Uw0004898; Thu, 22 Feb 2024 16:11:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=VkGlsO5Mrfm3ug1ikkXZ4Ko+065GQMTl3KKTloxaHRI=; b=Wc gi/ear9ii7PqqSdoUkOjrnztKdKVFRyHlKKtvpDEkavoLTOtgN5L5Toc45h2Dg03 cySRywimZGBcub6CmgYXa/CgTDYN/Hm95MQbTSIWLjX5uigTPIKyz+4UGWig1dyK qFKtqBcYu0C6HI/bahlTIIVGdMM5AC1Rj5mSlXZtFdVA9dVTH187pcC8nNYG+hh4 /C4DGzUXK9hR717dUEp58GuAETcwSWd6En21QTaVO1QaqUmowNqGruhNdOHeuo+X 3gQbClyKk1YOIHPZQNKn53l7U1Vsdx6KsU966EE8FOm5rKTeqQlQboZcD21RcoRS ZPevnel8sDaTpHTgYkcg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wdwmd1yt8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Feb 2024 16:11:31 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 41MGBUNA018720 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Feb 2024 16:11:30 GMT Received: from [10.216.18.198] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 22 Feb 2024 08:11:24 -0800 Message-ID: <407ea19a-17a2-471b-80e9-1c35dbc21bb4@quicinc.com> Date: Thu, 22 Feb 2024 21:41:20 +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 6/9] arm64: dts: qcom: qcs6490-rb3gen2: Enable USB role switching To: Bjorn Andersson , Rob Clark , Abhinav Kumar , "Dmitry Baryshkov" , Sean Paul , "Marijn Suijten" , David Airlie , Daniel Vetter , , "Bjorn Andersson" , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , , References: <20240221-rb3gen2-dp-connector-v1-0-dc0964ef7d96@quicinc.com> <20240221-rb3gen2-dp-connector-v1-6-dc0964ef7d96@quicinc.com> Content-Language: en-US From: Krishna Kurapati PSSNV In-Reply-To: <20240221-rb3gen2-dp-connector-v1-6-dc0964ef7d96@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: Vdf4OS8I7J8VXnlr-FvlAMW764c5s7EW X-Proofpoint-ORIG-GUID: Vdf4OS8I7J8VXnlr-FvlAMW764c5s7EW X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-22_12,2024-02-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 impostorscore=0 mlxlogscore=999 suspectscore=0 malwarescore=0 spamscore=0 bulkscore=0 priorityscore=1501 phishscore=0 mlxscore=0 clxscore=1011 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2402220127 On 2/22/2024 4:49 AM, Bjorn Andersson wrote: > With the ADSP remoteproc loaded pmic_glink can be introduced and wired > up to provide role and orientation switching signals. > > Signed-off-by: Bjorn Andersson > --- > arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 48 +++++++++++++++++++++++++++- > 1 file changed, 47 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts > index ab498494caea..079bf43b14cc 100644 > --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts > +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts > @@ -121,6 +121,41 @@ debug_vm_mem: debug-vm@d0600000 { > }; > }; > > + pmic-glink { > + compatible = "qcom,qcm6490-pmic-glink", "qcom,pmic-glink"; > + > + #address-cells = <1>; > + #size-cells = <0>; > + > + connector@0 { > + compatible = "usb-c-connector"; > + reg = <0>; > + power-role = "dual"; > + data-role = "dual"; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + > + pmic_glink_hs_in: endpoint { > + remote-endpoint = <&usb_1_dwc3_hs>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + > + pmic_glink_ss_in: endpoint { > + remote-endpoint = <&usb_1_dwc3_ss>; > + }; > + }; For the role switching part: Tested-By: Krishna Kurapati PSSNV Regards, Krishna,