Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3634660rdb; Wed, 13 Sep 2023 19:41:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF0hxNBjb9nDkLIfiOd2DO6uNgt9GTQGUdUtJesXfcCnDIT4vV6ur+2T2mAV09x4/GM4EdN X-Received: by 2002:a05:6870:d6a8:b0:1d1:40a6:e834 with SMTP id z40-20020a056870d6a800b001d140a6e834mr4694409oap.5.1694659270995; Wed, 13 Sep 2023 19:41:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694659270; cv=none; d=google.com; s=arc-20160816; b=ipqtbJApLrQ6nnzjkDczxkbxXH3DcPpcZhjTSorYXQagVw193nlau3BfIoPJqb0prK Z1CMaoCgVXfgYYndsAbbl7QcK5pcTAeBFrgun0uXX3o6lfuP0HXUt3Yu9Q7Dasdqujyh iyEQupWY6oWhWiuDTUdkWBkfF9rUhL1k1LHNbRWxc0QF9yEXZvs0v37I9eXRKNCbm49Y hoV1gr8iblPO9SlM0g4Uanv7KUOjb1QSSMOd90zCe9MPiyz0Vff4zxe3bH87RMyrbKl9 DVYnaKINAYtAToMoO9BV3+++yNoOeeCliuogSJx9NmEika8NxxHzJvhfWxkxc/7EyMHr SgLQ== 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:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=q3K1Nls0KcoT9xh2kC7N040+hi/MqUqF+7oTGY6x81w=; fh=/LR8NXzJB5v2K0CiusohEgJn+3/oJxcK+/jz9Y83LK8=; b=Sv+yBnDNcTCvU0+Uhae6yGNT7F56oGOG8EQZYizbIeQeTHOg5otS3g3WYuz74F/KiR fVDlbVc9suNXEtDT2fLpvWzvpjwkQlNT+6S4zTxIDasynQ0zIiKFGMKZRQt9GorM1UZ9 5eQaUv1nZmx8s/YotFuX0eotDNtl2Im9WRh5t/OLllKbhga7jjC959IU0beNP5mb5Vhf WNMcDeNheNAAaAuIrbXeSmsZGFVKeJ6m9hjeiIC5KinedvGR95bg5TCYiquhp5RV+yaR iQJyQcCpq7NAawzZRdjBkptwCU1CykS33yZsRN1HiUzr/PPZjTLnPJ2Ge9CPTB3r13uc Unzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PiaVrrfj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id m11-20020a633f0b000000b0056f7592d736si504936pga.34.2023.09.13.19.41.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 19:41:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PiaVrrfj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 3F59D81D0C4E; Wed, 13 Sep 2023 05:11:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230351AbjIMMLt (ORCPT + 99 others); Wed, 13 Sep 2023 08:11:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232235AbjIMMLs (ORCPT ); Wed, 13 Sep 2023 08:11:48 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D31019B0 for ; Wed, 13 Sep 2023 05:11:44 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2b9c907bc68so116042121fa.2 for ; Wed, 13 Sep 2023 05:11:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694607102; x=1695211902; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=q3K1Nls0KcoT9xh2kC7N040+hi/MqUqF+7oTGY6x81w=; b=PiaVrrfj6i59VIzWhRs7SjvHhgMVGNlY0mMrZ0XAF7ub2OQwQEywqxYaxaSsHGI2TP 6iWobdXJzqdRtwrMjBlH5qLKzDsA+Y6eu6yR/2FJT6NWm+LfhrX+GdpopAe6d5kEHLWC 9howduRmaxx1afcOkSUtWEsQU/tFyEZJ/fWCQEGBk8zoz8KqxKuUUAGQ/dxepVdcx+fr iQi8XyICpy8KHLCvdxxDb3vZSUwZxpt+JZ4MbZGRv/64QcHWDG8Pw79iIb0uh2UvZDe4 OwF5mAT74FdGwLhn7fCtn87ysDoCdYHpXOlyfr/3GUToyKj4dz98LjVQ/EwDoSJdf1L1 IfzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694607102; x=1695211902; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=q3K1Nls0KcoT9xh2kC7N040+hi/MqUqF+7oTGY6x81w=; b=rHHhsQQUF2QbxVu2B4Xo7GcGxTHLR6H3vjEH0eReHZHPZaTtqVdfEQqV1bOYssEBBW YtCqrdEOqK+T/HVzUvXI/qxnt1/dXQG3hKTqTWaZTCyUoaXy6NnYZzoR8tfqqba7Tjz1 CmuLk5cR2aUExW2nLMQ2SsTs26t9UBEDjxVNPrbs5g/42D7AUXAH22xBjCVeKmNMLi7A ACdEyn3I8whqsHwZTrAcT34elYXASblJcNegvooMn8ROtPyqzqcf5uOcvEdnwaS0+Oeb slOaQFGNym4non9IXNy1bcm6Jb7z8Tg67Qv41E9k0ezWiBrWsGs4jJura+J1Jdc15lyk 3LMQ== X-Gm-Message-State: AOJu0YwjZCQRq6VbLcmchDb8Bul5OY+bZU3LWSIXKOD+TrgBiJQWPAGq NYuODvO+5crhRe9TfYZP0PwIaA== X-Received: by 2002:a2e:8903:0:b0:2b9:f1ad:9503 with SMTP id d3-20020a2e8903000000b002b9f1ad9503mr2211220lji.35.1694607102448; Wed, 13 Sep 2023 05:11:42 -0700 (PDT) Received: from [192.168.37.232] (178235177106.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.106]) by smtp.gmail.com with ESMTPSA id p21-20020a170906229500b00992b8d56f3asm8319579eja.105.2023.09.13.05.11.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Sep 2023 05:11:41 -0700 (PDT) Message-ID: Date: Wed, 13 Sep 2023 14:11:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v11 12/13] arm64: dts: qcom: sa8295p: Enable tertiary controller and its 4 USB ports Content-Language: en-US To: Krishna Kurapati , Thinh Nguyen , Greg Kroah-Hartman , Philipp Zabel , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Felipe Balbi , Wesley Cheng , Johan Hovold , Mathias Nyman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, quic_pkondeti@quicinc.com, quic_ppratap@quicinc.com, quic_jackp@quicinc.com, ahalaney@redhat.com, quic_shazhuss@quicinc.com References: <20230828133033.11988-1-quic_kriskura@quicinc.com> <20230828133033.11988-13-quic_kriskura@quicinc.com> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+HW0DXcKDwARAQABzShLb25yYWQgRHli Y2lvIDxrb25yYWQuZHliY2lvQGxpbmFyby5vcmc+wsGOBBMBCAA4FiEEU24if9oCL2zdAAQV R4cBcg5dfFgFAmQ5bqwCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQR4cBcg5dfFjO BQ//YQV6fkbqQCceYebGg6TiisWCy8LG77zV7DB0VMIWJv7Km7Sz0QQrHQVzhEr3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A cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20230828133033.11988-13-quic_kriskura@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 (snail.vger.email [0.0.0.0]); Wed, 13 Sep 2023 05:11:48 -0700 (PDT) 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. Konrad