Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1269812pxb; Fri, 13 Nov 2020 08:22:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJze1ytiPzBxGPZdBveoz/KzvAs57lkXyl1gmwc7BQX9vk3E0i7eCUbN9BiNAF+YUgWuMBn9 X-Received: by 2002:a17:906:34c3:: with SMTP id h3mr2671028ejb.132.1605284573924; Fri, 13 Nov 2020 08:22:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605284573; cv=none; d=google.com; s=arc-20160816; b=Er+8/eFsR2RwpvaKTrjMjFcA6p0QJtomPVsdXTXj/sx6nrPP/65BgA010TboTzhzo6 IYnOKPqR/IQLyuKCst0KcxKR6Jx6Au1BuPKT+Elunu9yw95SOwuuJT6SoTuQ070F1Aby 9pPyfpn+TAhTrfNcYlPl0LpnH7AcP89ZeWK+SOAxOp8jXYMUcmym0izD7s6nPTnC8ogc gAtAbuv+HOcJim7csDbFuGZunPde5uHKto58rf4YX8K7rTS6IvMhyfrrAQQXpyxxas0T ZE5X23uJi0VoxOpi6jBQqmNw4XFei6dVF/P6bHcjKlk55iMbn4ED8iAhndrLfjrBVm4F Bfog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=v2BUbjPWELpntgzLOpBZLEM+DZ3TH3PA5zgLm8+iHsk=; b=M+JPOifQFkZjnzlrV7+Iic8MBTEZLt9UoBxW2HtlvbyKU9ruAju4x8Mqi7kedMlHv3 hrI1b3+acoWIMj0kPoqmwzenvBdJ659TxNzb7UoqzRAQr85k9bocjY2Um5Jm6fexLNkQ YwtqXqPCGLeVVd1ggDGhW5LtDZCgBuxV0P40XXr5K29fgGljhMaeRTncAzYp1qyvOWGc aGivXw9ZCD8N7hogasJQO5u+XQ0x65H2UmA9bGplr0QWqLrdjWPl1EbNVQZrubmLEyJo 2smMOAX+c5iZ0MG2sxAvgON8KKDxznbQXoudqoSdAmC678GazzZaEXSYkF96cePx0zJ2 nOzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hE9e18jc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i12si7197762edn.236.2020.11.13.08.22.27; Fri, 13 Nov 2020 08:22:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hE9e18jc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726343AbgKMQUy (ORCPT + 99 others); Fri, 13 Nov 2020 11:20:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725866AbgKMQUy (ORCPT ); Fri, 13 Nov 2020 11:20:54 -0500 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 401AAC0613D1; Fri, 13 Nov 2020 08:20:52 -0800 (PST) Received: by mail-wm1-x343.google.com with SMTP id a3so8947088wmb.5; Fri, 13 Nov 2020 08:20:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=v2BUbjPWELpntgzLOpBZLEM+DZ3TH3PA5zgLm8+iHsk=; b=hE9e18jcFeY/0+UMJlrwakHvcywoP2047ydMiv2s0zCFZoDgVeVjxMbOuszZAQa8UU j9oZMGJKS95LKfVcYGLqbMg9rK2lswj5rG2J5hQOawr6YFJhuODzo9CRAYCNJve+XqGW k7BsyWRlc1O9A8m6+KCGLgYwnDr3U0u841oH9fB+zJHYZoy9FuM5WnYlz5kQ7fieDpx6 ou3OuWL6skuKjdsIB3VzWNaCG/fPMND6AgkGuLCYGuX5c5ex6ZYkMmtvdvXdUUzhcgwa WYl5J1qN5sR/bm4ccg05kyGyxoCwAbGEWgVqZUU4Y5lCDJBovYEhs+Rfjk1p0YPJAAZO pJDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=v2BUbjPWELpntgzLOpBZLEM+DZ3TH3PA5zgLm8+iHsk=; b=W93IWirwdKUjoWEi6GEFnkprCwMzlMYInaiwVY9y6qA1NLUsmjvVZqKJ7iAUd5BONN 9Rpcdr9+4clDZNJc7SGW7dArCDoYGBOD4B8tlfL8N6Vb9F1kplNPTQb4g/16Iz/oGOYC OuBAqvD5Hcd3pMKKOBB84USIyCHVj+sm0Fee38cROrSGnQT/h0k4ZqJAdeTZkg5g6C99 cQfj2tLYTG8VBgb47mBMkYAOzirbNhUZ9CeKhl+4EZZQJT4fc/rphOlcd2FFZylbOyVZ tTxjSmNs1uGDH+cqqzwWaI2hC/CR0jF0IqEucgmYUpKocpiyAOhE1KgiUqiktQ6rqDxW nIrw== X-Gm-Message-State: AOAM532rL/GSMjEqoD/E7EzmbiiDbBjYNseI6nVJAQsfFUSRvxTmRr0T SoXOB7b+8NR18+DEZXNTQUM= X-Received: by 2002:a1c:2643:: with SMTP id m64mr3390218wmm.28.1605284446089; Fri, 13 Nov 2020 08:20:46 -0800 (PST) Received: from localhost ([217.111.27.204]) by smtp.gmail.com with ESMTPSA id f16sm12072389wrp.66.2020.11.13.08.20.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 08:20:44 -0800 (PST) Date: Fri, 13 Nov 2020 17:20:43 +0100 From: Thierry Reding To: Rob Herring Cc: JC Kuo , gregkh@linuxfoundation.org, jonathanh@nvidia.com, kishon@ti.com, linux-tegra@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, nkristam@nvidia.com Subject: Re: [PATCH v4 10/16] dt-bindings: phy: tegra-xusb: Add nvidia,pmc prop Message-ID: <20201113162043.GD1408970@ulmo> References: <20201016130726.1378666-1-jckuo@nvidia.com> <20201016130726.1378666-11-jckuo@nvidia.com> <20201019214046.GA3645734@bogus> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bjuZg6miEcdLYP6q" Content-Disposition: inline In-Reply-To: <20201019214046.GA3645734@bogus> User-Agent: Mutt/1.14.7 (2020-08-29) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --bjuZg6miEcdLYP6q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 19, 2020 at 04:40:46PM -0500, Rob Herring wrote: > On Fri, Oct 16, 2020 at 09:07:20PM +0800, JC Kuo wrote: > > This commit describes the "nvidia,pmc" property for Tegra210 tegra-xusb > > PHY driver. It is a phandle and specifier referring to the Tegra210 > > pmc@7000e400 node. > >=20 > > Signed-off-by: JC Kuo > > --- > > v4: > > new change to document "nvidia,pmc" prop > >=20 > > .../devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.txt | 1 + > > 1 file changed, 1 insertion(+) > >=20 > > diff --git a/Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb= -padctl.txt b/Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb-pa= dctl.txt > > index 38c5fa21f435..ea559baeb546 100644 > > --- a/Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb-padctl= =2Etxt > > +++ b/Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb-padctl= =2Etxt > > @@ -54,6 +54,7 @@ For Tegra210: > > - avdd-pll-uerefe-supply: PLLE reference PLL power supply. Must supply= 1.05 V. > > - dvdd-pex-pll-supply: PCIe/USB3 PLL power supply. Must supply 1.05 V. > > - hvdd-pex-pll-e-supply: High-voltage PLLE power supply. Must supply 1= =2E8 V. > > +- nvidia,pmc: phandle and specifier referring to the Tegra210 pmc@7000= e400 node. >=20 > 'Tegra210 pmc@7000e400' is kind of specific. Going to update this for=20 > every address and chip? >=20 > If there's only one PMC, you can just find the compatible PMC node. Then= =20 > you don't need a DT update. I did advise against doing the lookup by compatible string because I think it has a couple of downsides. On one hand it's going to create an additional maintenance burden on the XUSB pad controller driver because the PMC is usually not compatible between SoC versions, so for every new SoC generation we'll have to add the PMC compatible string to the XUSB pad controller driver. On the other hand, this is new functionality and we can easily gate that on the existence of this phandle, so it doesn't impact DT backwards compatibility. That also has the advantage of explicitly listing the dependency between the PMC and the XUSB pad controller in DT, so if we ever do get around to come up with an even better mechanism to resolve these dependencies than deferred probe, we do have the data already available. Thierry --bjuZg6miEcdLYP6q Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAl+uslsACgkQ3SOs138+ s6HwiQ//dbTTGapD1Ee9Mkr+c2pCCUsfskWRVv9zi0cNuboN9ivtOxVdVH3TXsVk j1b/WKqiEVSdhacWRqGwkYwDtYf8FHtfyyS8ljhLYqp5kORoUoZ5hxFQ55BuBCD5 rA0TA+JgCcbXNA68HRBaZpArj57KjFS/qezrZwXnZl856G6yECN97SKgljS+nn7x vSewLEFWuVuiEeANnKxHHWmm1/PuyQzZNtAYhfC6fZJi2nIeGT8+lh9AlehDcurW pOpWAvCjJB5GMqfaSsTPV9DRmjSyk2zhvHaFcGKLK4qR/gqGJ3ZYk6Al/yCv3XFI 84wBd3j+EKiEayA+s0XDxVBddtEBPDckjJB6K9oulU5nrbGub2MQNSQl7piRoT1A 0vyhKqe6S7ttjOwOnfFexab8XAm2dseX2Wx/6mbjAM/+KRZnF23Kf2bIFvO4wZrw SQwo8nWqodBUsr1kkU7ThCN+EJeGaIrQEwpwszwnwdlCSBk84BIAv4tXoI9fx11J UrovlWcCdAntOpp0imlNr4hroP+NqZJPR36A8SwdO1fyM9MoBKflXBcZdcfiLOE0 5Vdlh43sYxkVEuedYGnqHZhNGLD77xWhbbrB86xxW7JmP6L0WC5GMw6oc/McVOAz Q5bR1SDsZj5Es9HYlZQNUM0udhd087uBlIW9iSFyUQ981FlexMw= =HnYy -----END PGP SIGNATURE----- --bjuZg6miEcdLYP6q--