Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp669495rdb; Thu, 8 Feb 2024 18:42:30 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXECaB36+azhnzboRtCD6bsherZtkBteJ9/yPzjxBoqKGTvV+sSBNbiZ5a7OBLn8pSaa3Fft+7HgnnWFKoAHkdOMU1Y509V7Ss4NC9RVQ== X-Google-Smtp-Source: AGHT+IEZF/g+VI0jokmVFKC8GfenR3dRUtq2kyN0iy32ahfRHsfgBtHu9WuOqF/vYgs27+S+JNYZ X-Received: by 2002:a05:6a20:c61d:b0:19e:9885:1077 with SMTP id gp29-20020a056a20c61d00b0019e98851077mr339193pzb.43.1707446550148; Thu, 08 Feb 2024 18:42:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707446550; cv=pass; d=google.com; s=arc-20160816; b=DUOnjHxLA1R3vk9FeAkVXTIv+b3twEprS1E1cu0uDaMEyvJJA7XfxG/R2ULgg6DWAO L10oa9foEYzUNwjP5x6ojGomPmyeFgXfg8wbEW3/fviyhJmPb/RA63iD3MEaZxLJGY20 WHRz3onA9ar/s/uYtru2i0H1pEuLFqJlyp8wVTsLZWvi2QZllfCpDmyEdP8xgnfwXApA YkekwmU5U8g30PxOfWJn7BcMtCnKI41qmO9wQ1iiMODcAgAFNaxATVjF3NJMwa60vGUb U9WaLQ3jjTc2XqWRxHqCcQnUD/1/HAA1JRS+LdZsxoY3ZJtfFydSVmAf587XfV7rukBj wJ0Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=aHXsramClSk5qXYy8xh81hNmQeJ8mYTeADrFcrpNvL8=; fh=06SdzPTWmznvKIrHkgwipHywFM5gDohD7+aWh4ewt3A=; b=rnx4HpgnzT0P+29XHCuzijmgmGbBygQfDjU5As7HFRa95wAJ6JJAksF9ZRgPab+5G2 Hs58dw8CAhEpiUYTDPbNiUdmHWGEgc3iTlXXItstd0hUZPFxPgxM1RSE3yjPzlPQG3bP VuWhegmuk4bdcsyvJxhEOT/FOwHkmHNnvTvvsExwSsCRH6PVsjMZa6shrDmjmEezwnjW kMAeH/0BhaiDXQEcPYP8kuGiuBgJZ0Yt2SySacqrsCpmryng2R/Xa6DkgCInNxJhFJxE EPawY6uCIoULY/UXt1W15iD3z+rHnrXDUJKvyejnNClrU6gMAOl8J63jfj/fgPO0NiT8 eJsA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=owD9rfwg; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-58942-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58942-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCVGhrUM1zx3B7qK0nP8rJFbBBe7XU/U4JxjyH4kEpGu7Y3/fJFIu0ZxhvPzYHLVhZZTUj0ktQrDG98dcHozBtNjkyOpfkI/mEdiZZ8MYA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j13-20020a170902c3cd00b001d8a955d000si758863plj.355.2024.02.08.18.42.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 18:42:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58942-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=@kernel.org header.s=k20201202 header.b=owD9rfwg; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-58942-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58942-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 23CA928D0DF for ; Fri, 9 Feb 2024 02:41:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3803B1879; Fri, 9 Feb 2024 02:41:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="owD9rfwg" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 54D5D5240; Fri, 9 Feb 2024 02:41:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707446492; cv=none; b=XJwXJbkKmbuv5U558CBIxFkmc8Ed87mL89dwCe8k6IatuBt/ht9AdA3rGHl42ruPqNHCnci4JCamsnY5q4J+4I81h8OV+T7tyjXvZH1Fby3xb0sbeUaxZu7Go/CQu3D/bdNblRYXeWGtaRz4YRpA/0XAkN1Ne8sbDscwmbmH58o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707446492; c=relaxed/simple; bh=KduIljUwZruXs5Atd9wNqwJ+XlIM/aqqIrk3ACjew9U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nMscjdt5vCI1fS7q2mk3FaNawXn42DkLA6qK4ZjnVkS7WBF+TJlFZTmBQlAjDWNvCuYEZuE28BYj0P6R61VKsOEitZjcwDDQnRJwkGsJVtn/9jJkoaA/qcyqkeB5l1SVpTG+e/mT2W3JhAEYMh1PPdXx5HaAGpFZPg5280Q6RVQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=owD9rfwg; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D4EC9C433F1; Fri, 9 Feb 2024 02:41:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707446491; bh=KduIljUwZruXs5Atd9wNqwJ+XlIM/aqqIrk3ACjew9U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=owD9rfwgk1qz70BVKbn4z4t0epilxumg8tgN5yrDwER2s7KU9H3XazUdy2JWaJeDY mzQij3z1xNC453CqKVhm18mbi8UFTWmeWn1B6kErNjkGHlaOHAo6BG3Mvoc5gQ4Xve OrQcvT7rNhCvG4iH74INxb6Vv/RVBDr8Yv3H8N3kxkZbTyNvQFWSUBnSYVj7UncgIq H4bXWSTgIq/lQbStAnZKCLwpylJF+EeEU+YmB0zTp9Ti3503KackegoIooxqjvhxzd mNvd2lnTyWRSjQRHGUpVdu5RTACuzLAH3/RA9/KlvhEHCv+XKXo1VyYF98R3w4UW8e WZPGXXkKfnYUg== Date: Thu, 8 Feb 2024 20:41:28 -0600 From: Bjorn Andersson To: Dmitry Baryshkov Cc: Krishna Kurapati PSSNV , Konrad Dybcio , Krzysztof Kozlowski , Rob Herring , 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 Subject: Re: Re: [PATCH 2/3] arm64: dts: qcom: sa8295p: Enable tertiary controller and its 4 USB ports Message-ID: References: <20240206114745.1388491-1-quic_kriskura@quicinc.com> <20240206114745.1388491-3-quic_kriskura@quicinc.com> <0470a930-d629-4467-b619-58d3e76f59a7@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Feb 06, 2024 at 03:24:45PM +0200, Dmitry Baryshkov wrote: > On Tue, 6 Feb 2024 at 14:28, Krishna Kurapati PSSNV > wrote: > > > > > > > > On 2/6/2024 5:43 PM, Dmitry Baryshkov wrote: > > > 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. > > > > > > > Hi Dmitry. Apologies, can you elaborate on your comment. I thought this > > implementation was fine as Konrad reviewed it in v13 [1]. I removed his > > RB tag as I made one change of dropping "_state" in labels. > > My comment is pretty simple: if I'm not mistaken, your DT doesn't > reflect your hardware design. > You have actual VBUS regulators driven by these GPIO pins. Is this correct? > If so, you should describe them properly in the device tree rather > than describing them just as USB host's pinctrl state. > This is correct, these gpios are wired to the enable-pin of a set of regulators providing the VBUS voltage. Please, Krishna, represent them as always-on fixed-regulators instead. Regards, Bjorn