Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4132175rdb; Thu, 14 Sep 2023 12:46:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGZivN24THtcfK9EgU3YHSUNmRW28YNEZab3gGbEW0Mtm9UBPWc+Yalo8dvIpr7aMHKRu4C X-Received: by 2002:a17:902:e84a:b0:1b5:64a4:bea0 with SMTP id t10-20020a170902e84a00b001b564a4bea0mr8228490plg.10.1694720768281; Thu, 14 Sep 2023 12:46:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694720768; cv=none; d=google.com; s=arc-20160816; b=jbOS2rATcXRJIzeMFejy7qzImHEj9UPs4w6fltqUc4glK1TkC6htrGwKYt0jBOSR4v aM8vAsbXIXn9K7l9g3cctc90tCep0hD4mks3NXgXuzMmdm/SGpGTT3ymQuSQDu2P6v8q Mk9b3GrlDUXfBda1Ecx10Hvtqw7uKNSTRRmoj8iQs35UG+5O/ifpzedqxpVpRq2XUrmz osECKYHz7zxe0RK9bzGBLdCvX3h4t3T5ngvapynmFAjma2VppLYZmuSprjztvyJLjVbY ca+EpjGCSvcMa4hLlrdHknAHJobICbHLKDKe/pkeuHLMIUeBye4o4LBCBfOQljlFfF+0 g7EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=3URuZ09QSAKbBw6gINqV6mSQ/w4QlMbyqprEySlnHgk=; fh=ZRBcTrCI6drnkyxlvOsA9RQd53QRl6NYYADhNVIID78=; b=ewao0gVhTvdJtiH+a+sf6c5TRgQsuXdWcjWSNa78OsLFVEeN28/ARvIxZnBkmugAeB bHchXgedU5G0Mi093yLtl/T4dPX9fvBrDuknUGWN0mEb5NG/z27kC4NQiAQvHy/ynrzc WYo8H8WSH4TUsiLt1SUcv4868kXmBc/bEDBmQ4UcFRM/uxklkPi9juHbfdw2o+BTWssK /HyFeFB18GH2FuKSqfwbujHxSs08ZofX2w3AqR2qY6TegDtVkJVD1XOilwlcyL9Ro8BJ dPYwCaXMG+XipSbQ2SxblxGQXZdTKBK0ShU+fTFi/19ZssfAXgJlAbx690xQAmL2wklU vjuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=LAdnh+d4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id iw10-20020a170903044a00b001c3fab52a94si2098118plb.212.2023.09.14.12.46.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 12:46:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=LAdnh+d4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 2774184DB7A8; Thu, 14 Sep 2023 08:44:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241019AbjINPor (ORCPT + 99 others); Thu, 14 Sep 2023 11:44:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230384AbjINPor (ORCPT ); Thu, 14 Sep 2023 11:44:47 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1B2B99; Thu, 14 Sep 2023 08:44:42 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38EFE4kh019136; Thu, 14 Sep 2023 15:44:16 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=3URuZ09QSAKbBw6gINqV6mSQ/w4QlMbyqprEySlnHgk=; b=LAdnh+d4ilMfzDSnW9b1pUJOafFqnCIqMNX55X46+zzfI1pnrQ71DYNCEMHae8FFTr2D kjL7/gGyVy7LvJX8edGENEQ4a0P/4KtF4eMp7++hz8hckp1Kc/1hTX7pAPX0xITttxeX CFRu9vnnfTUj9zAwRXREqD1xe8W+0gbKndFumN1h0sw8PM/mIV30Hz3D72pfKMRe9hRb ANf7bLh9b48W27Vm08gNm3DTomHg/mhnW3K2Y4DK+qZQs4k9n5wPH8gUZm+jZ5PubOAS hugCLhNzdOjkeuI8ld9JvPJCGKStn0X5EvlO+qzpIy1EiwcbEKoxEbMEVG9eczygN79S GA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t3h0dk63x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Sep 2023 15:44:16 +0000 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 38EFiFSN011248 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Sep 2023 15:44:15 GMT Received: from [10.216.57.92] (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.36; Thu, 14 Sep 2023 08:44:07 -0700 Message-ID: Date: Thu, 14 Sep 2023 21:14:03 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.1 Subject: Re: [PATCH v11 12/13] arm64: dts: qcom: sa8295p: Enable tertiary controller and its 4 USB ports To: Konrad Dybcio , Thinh Nguyen , Greg Kroah-Hartman , Philipp Zabel , Andy Gross , "Bjorn Andersson" , Rob Herring , "Krzysztof Kozlowski" , Felipe Balbi , Wesley Cheng , Johan Hovold , Mathias Nyman CC: , , , , , , , , References: <20230828133033.11988-1-quic_kriskura@quicinc.com> <20230828133033.11988-13-quic_kriskura@quicinc.com> Content-Language: en-US From: Krishna Kurapati PSSNV In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] 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-ORIG-GUID: _6q4ql8E1qgd2ZUlJawOgsWiQpJ_J39I X-Proofpoint-GUID: _6q4ql8E1qgd2ZUlJawOgsWiQpJ_J39I X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-14_09,2023-09-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 mlxscore=0 suspectscore=0 mlxlogscore=850 phishscore=0 priorityscore=1501 lowpriorityscore=0 spamscore=0 malwarescore=0 bulkscore=0 impostorscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309140135 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 14 Sep 2023 08:44:48 -0700 (PDT) On 9/13/2023 5:41 PM, Konrad Dybcio wrote: > On 28.08.2023 15:30, Krishna Kurapati wrote: >> Enable tertiary controller for SA8295P (based on SC8280XP). >> Add pinctrl support for usb ports to provide VBUS to connected peripherals. >> >> Signed-off-by: Krishna Kurapati >> --- >> arch/arm64/boot/dts/qcom/sa8295p-adp.dts | 53 ++++++++++++++++++++++++ >> 1 file changed, 53 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts >> index fd253942e5e5..473fe858fbed 100644 >> --- a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts >> +++ b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts >> @@ -9,6 +9,7 @@ >> #include >> #include >> #include >> +#include >> >> #include "sa8540p.dtsi" >> #include "sa8540p-pmics.dtsi" >> @@ -584,6 +585,20 @@ &usb_1_qmpphy { >> status = "okay"; >> }; >> >> +&usb_2 { >> + pinctrl-0 = <&usb2_en_state>, >> + <&usb3_en_state>, >> + <&usb4_en_state>, >> + <&usb5_en_state>; >> + pinctrl-names = "default"; >> + >> + status = "okay"; >> +}; >> + >> +&usb_2_dwc3 { >> + dr_mode = "host"; > I believe you mentioned that the MP controller is host-only > by design. If that's true, move this property to the SoC dtsi > and leave an appropriate comment. > Hi Konrad, Yes, it is host only controller. We can move this to sc8280xp.dtsi but wanted to keep uniformity, so made the change here. I can move it to base DT. Regards, Krishna,