Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp3001337rdb; Tue, 6 Feb 2024 04:30:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IFqsIROhKwcN0rqEanIkp8bhIL7bNSXFfUs13gk94lwqc0sBZdZuiyAhOSK3FhznqTsr5HX X-Received: by 2002:a05:6a20:7209:b0:19a:112e:89dc with SMTP id y9-20020a056a20720900b0019a112e89dcmr1100036pzb.62.1707222630505; Tue, 06 Feb 2024 04:30:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707222630; cv=pass; d=google.com; s=arc-20160816; b=p/KPx4lDxFIYoQJP+fzLsB0u5+J7/eFlZOf7QGJvHktlqgrtwwSw3Gl3aCCT4iVxma 90LxYFa9VMHrLOjztBnxAZh+063+HnmXy7GQMEViHN8plO7ZiCCen/23DIEZLvJTLBF9 CFaKRrxZj7wbLCmbg53yHxdRDf6CXzlWWnTCOJ7cxHKSlAmo4CSunxOyLFn9iZVPmoQG HHHfhR8xaq3P/1WU7qZ8tlo0qNgNhUYpYfXOPOpvs8iBDhd5PyqvpVVKSZQdlrpzOzqf UouJ8veDs6aI8M+mUqdyRgDb6WFPClOCnhwvj4eLfYbDhEGVjlgyX0rfmH98go68reoP 4E4w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=DWZvQfOEZAi4zGBX85k2bSEpbWrY5pCWn77sPDjSgjg=; fh=p8iK0zrl+2FYaJIzS5whoT0ERvsgpTPTVqQTixMWJgM=; b=zNOqxBulaPTX6XxGwSGR4ewczhLpgnHUQL1/prxQ+B3Oe7hjidegJ9E04yf2USukDV GqNp8afERztoVw0N3DNdxxRd9CovogTmfR0E1bIMXrEc8p+Hp0oFCtq6OL3zgDccuOpV wn2YE7Ds63DRqRlBFjVuq/LH3gBCImWqGyRB/yzfID6/oi98cRoLId7eulONZ/bxP1nY NuiFgyMAVCOM1G18AILhMQSLCliRlTMJhgJA5iBvrFvF2FSo31LV92f4IwjonoXDqxoI ImxESaR3DfxREavxFaz2yv2TWugEq8gWm8zOPihBCbdGKTqU7lSfMboqc8CdovWVk32n qurw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FcEM1Okx; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-54937-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54937-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCXEm3RjJMrIg9TUd/RMJvWSNHpWQD30BFIRsoXU0LnkbHMdHii0kMBqp0UlXjVyJn58Yo1I7fv1RMCgOFPG1C0BeN+By4nEsPeJyG2jrQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id bt22-20020a056a00439600b006dbe92f12dasi1569504pfb.375.2024.02.06.04.30.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 04:30:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54937-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FcEM1Okx; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-54937-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54937-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 222BC288D17 for ; Tue, 6 Feb 2024 12:30:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 35A0B130AFE; Tue, 6 Feb 2024 12:13:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="FcEM1Okx" Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com [209.85.128.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9471B130AFA for ; Tue, 6 Feb 2024 12:13:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707221604; cv=none; b=PNQC0mjmaNKf9ESb0loAuVQ2qe5NEu+kNuanxSs+Dj7xTp1jauDtypiM2jD6vWe/xpjCsWmC0q6SJwfLaOrTl7gnHGyLo1Lc7eALl39ZbrU3FK9pPtbqeU5HJnESAfW0dJagjmPUuLlI+7eFcfenlm+oVo2epu63B3GVZxrCZLU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707221604; c=relaxed/simple; bh=kVSEa7MznoMUBu2AWAT4VY/U+2IhwRWGQSLHsHRj5j0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=r2RBepNNqaEA9PNOJvdsA8pO5/Xa5N3E2v7RW2XEuP8YGgTO6ZiFQtay69q8PqzaVP9bSDkL1uN4gFQUbv+hIaHy+JsCqo2Auv4CJhoaFGsJfsTnKLtfLxYPiEvh8LMEVzcnDDLLg2jbbTL6dMl63zGST4/mHwSEy36bfU0MLe8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=FcEM1Okx; arc=none smtp.client-ip=209.85.128.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-60460399a33so19117897b3.1 for ; Tue, 06 Feb 2024 04:13:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707221601; x=1707826401; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=DWZvQfOEZAi4zGBX85k2bSEpbWrY5pCWn77sPDjSgjg=; b=FcEM1OkxPXe7jUa0X5dbasdooGSII6UzdymDSIe28PEPzDGsQ5l02WRs8+fxYqG9Vu 6hDaJHbo1DVBq7IUiw6pUdyymKdwe9qedV92hyfG8aWgwM+cBRVawMij2F+jSLjcCJP1 B6ZtIWA5xQ65ktskodCWNNCUYTHFFfzlgGdBzXZOeYoGaSKHEF0PFs0n5KjmgFRahn4r tztgBAKTF7vDFqhjJYXceACoEFzQbHjW9rhmd5jZ11+9zqZX1y4dkHgyeZO17XhDcvKC PnHiixg8JsYR1CorAjYfUNff5wBV4Ab+dz7YMF5miZBRWE8x+q86qPe+t5YsDKkzUAyQ eV0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707221601; x=1707826401; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DWZvQfOEZAi4zGBX85k2bSEpbWrY5pCWn77sPDjSgjg=; b=QgMh9da/IQIIWo4Gy7R5yqGCQjBL/GpINLrLCDCN8TW39/2ZQiRS6QzROYTm9azR5w RKlyMStze2YLtTAxq8C60NZV/dmtDdQIGNP81PeFkAUyNSVB43Ia2uJsuyQhmFlWF2Fn ZiKO3tu+kpizX0mh7qc815QSSOzztB/qpMnNGSAQ45/lwrLxxcZW5PkX+xHfn17zq2eZ hXeUgI3yCvVs+ziwmNsupZzR2hJrscxJcJpMy2hNW0EF9I+VtcCIrpCg1mx/B1thXMKH fu7XxasZV/SDvmg1qSjWPiM+3RItHCKWmw+HKADAJbLhHpV+AUEHWSWN/B8rOA1YGLuk 0r8A== X-Gm-Message-State: AOJu0YwwgMATjgK2aAGEMXyOju5/W2LJCcyDNIhlVR1Z88nGyRNset3j cqFStEnBrlzI4wjDgljmNHW4W+0dcH4WuGNnnc3cTHgtwjzOKm4GsLzV9pLvAf6c8VCOLFszRhv G6iBIPFvFzvDc8WnXIR82JnyrSOAjkjICOERH1w== X-Received: by 2002:a81:7e14:0:b0:5ff:82fc:9686 with SMTP id o20-20020a817e14000000b005ff82fc9686mr1383428ywn.3.1707221601625; Tue, 06 Feb 2024 04:13:21 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240206114745.1388491-1-quic_kriskura@quicinc.com> <20240206114745.1388491-3-quic_kriskura@quicinc.com> In-Reply-To: <20240206114745.1388491-3-quic_kriskura@quicinc.com> From: Dmitry Baryshkov Date: Tue, 6 Feb 2024 14:13:10 +0200 Message-ID: Subject: Re: [PATCH 2/3] arm64: dts: qcom: sa8295p: Enable tertiary controller and its 4 USB ports To: Krishna Kurapati Cc: Krzysztof Kozlowski , Rob Herring , Bjorn Andersson , Konrad Dybcio , Conor Dooley , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, quic_ppratap@quicinc.com, quic_jackp@quicinc.com Content-Type: text/plain; charset="UTF-8" On Tue, 6 Feb 2024 at 14:03, Krishna Kurapati wrote: > > Enable tertiary controller for SA8295P (based on SC8280XP). > Add pinctrl support for usb ports to provide VBUS to connected peripherals. These are not just pinctrl entries. They hide VBUS regulators. Please implement them properly as corresponding vbus regulators. > > Signed-off-by: Krishna Kurapati > --- > arch/arm64/boot/dts/qcom/sa8295p-adp.dts | 49 ++++++++++++++++++++++++ > 1 file changed, 49 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts > index fd253942e5e5..6da444042f82 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,16 @@ &usb_1_qmpphy { > status = "okay"; > }; > > +&usb_2 { > + pinctrl-0 = <&usb2_en>, > + <&usb3_en>, > + <&usb4_en>, > + <&usb5_en>; > + pinctrl-names = "default"; > + > + status = "okay"; > +}; > + > &usb_2_hsphy0 { > vdda-pll-supply = <&vreg_l5a>; > vdda18-supply = <&vreg_l7g>; > @@ -636,6 +647,44 @@ &xo_board_clk { > > /* PINCTRL */ > > +&pmm8540c_gpios { > + usb2_en: usb2-en-state { > + pins = "gpio9"; > + function = "normal"; > + qcom,drive-strength = ; > + output-high; > + power-source = <0>; > + }; > +}; > + > +&pmm8540e_gpios { > + usb3_en: usb3-en-state { > + pins = "gpio5"; > + function = "normal"; > + qcom,drive-strength = ; > + output-high; > + power-source = <0>; > + }; > +}; > + > +&pmm8540g_gpios { > + usb4_en: usb4-en-state { > + pins = "gpio5"; > + function = "normal"; > + qcom,drive-strength = ; > + output-high; > + power-source = <0>; > + }; > + > + usb5_en: usb5-en-state { > + pins = "gpio9"; > + function = "normal"; > + qcom,drive-strength = ; > + output-high; > + power-source = <0>; > + }; > +}; > + > &tlmm { > pcie2a_default: pcie2a-default-state { > clkreq-n-pins { > -- > 2.34.1 > > -- With best wishes Dmitry