Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp247960pxx; Thu, 29 Oct 2020 01:22:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJCbIqGjB9TXKOm9s6fZJqGEvpCv6wXGD/D9EI/UoV89+Ycb3Bk3DugVI9Hmli1Sw0lW4t X-Received: by 2002:a05:6402:1585:: with SMTP id c5mr2839674edv.278.1603959766466; Thu, 29 Oct 2020 01:22:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603959766; cv=none; d=google.com; s=arc-20160816; b=W3RuY5obrdiEMtnh4S1onKldNJiDGGKqxQ+d1N31xA0I85A2/Vkr0u9SgahRog6V0C G4sP9E/jjIr9SRvgHbi2NTBNF21d2NR+DXX56oWg/3gBjoYoOcp4/fx6YA5r+qZq+S8x HIyGfUtRldnbVz25r3Y5ktpQQRQpFWlqRuhrYPFhQ6V0E4OvjftsmoyCm9ZZYPfQtY/e 2m4lA3e3S0UYMC8gjEGX6LGuJo+edh2DBJjM1mEU1NzlS3qRba9LOo6A+ivZyx6U7mGQ q4ub0OW6FI1ZzB2uCjqh6YrlQwArtpTwUIi7rMr8fxL49W+sM5QSQACqt7a9XFmdd5jJ LPaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=Uicj8tp9XPp1EuN3JiOQD2NdkQG03jiexELbBTYXEFQ=; b=zAqULuIFUW/e5xHHcjvRfTtC12SsPozDpOHvjZ+vIkx+FzjFv90ldVMm4vogIkifDG azc6Nsfr5JfTMM1Sr4Bl0AhaLXxnDkiarRayMjzpFFXzHD6eBMDVB9XWoo0v8ksJ2sDA RIucqf+askGnwWsDVEVtVu/mAh6e5HBV/7cgD2Qsz9uhT0X0p7k+N3RtSQThgHoRK2x3 3ZE+PoKKxNbdfzDQ03zJbBgCZCZ2ZiRzQkX/KKr/ZmnrcbYNtCqZp9cmZeWDSCdfHpgC 6KnJQkCjDL3j6BhI95Jw26+9HxsC2GzEQNQYpTc2erYHFtuAvrrPwgyq6gN3pmERE+N5 +w5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=lCmm40q1; 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=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bt13si1375842ejb.259.2020.10.29.01.22.24; Thu, 29 Oct 2020 01:22:46 -0700 (PDT) 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=@nvidia.com header.s=n1 header.b=lCmm40q1; 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=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390872AbgJ2AWP (ORCPT + 99 others); Wed, 28 Oct 2020 20:22:15 -0400 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:1414 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388930AbgJ1WiG (ORCPT ); Wed, 28 Oct 2020 18:38:06 -0400 Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Wed, 28 Oct 2020 02:18:11 -0700 Received: from [10.2.171.164] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 28 Oct 2020 09:18:01 +0000 Subject: Re: [PATCH v4 10/16] dt-bindings: phy: tegra-xusb: Add nvidia,pmc prop To: Rob Herring , CC: , , , , , , , References: <20201016130726.1378666-1-jckuo@nvidia.com> <20201016130726.1378666-11-jckuo@nvidia.com> <20201019214046.GA3645734@bogus> X-Nvconfidentiality: public From: JC Kuo Message-ID: <4d190cc1-d01d-9064-0b28-ed7f48858ebd@nvidia.com> Date: Wed, 28 Oct 2020 17:18:00 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201019214046.GA3645734@bogus> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1603876691; bh=Uicj8tp9XPp1EuN3JiOQD2NdkQG03jiexELbBTYXEFQ=; h=Subject:To:CC:References:X-Nvconfidentiality:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:Content-Type:Content-Language: Content-Transfer-Encoding:X-Originating-IP:X-ClientProxiedBy; b=lCmm40q1pu/ss7empc91Sutt+HYjjOzzxXrZuqa59DIk+5YYJRBGBEU/rGxyI0PqZ zlRqu9mMCv72cKIjAgLv2524f3MbhSAMJG73Bj3CGt7Bdddc2YINS8Rw5WtY3IXQ9D 1lAyChykD8CarsLI3vVHxCN70Fkf5DpVZifL017dGi1uBBOEcLxAbReMXAl2Xy+A7m BOhOYGLtGGVTMzpek8DZ+qtGmpPKPWTEZyNSXv+TPVjF7yVeTMT52o/kVJQmFHh936 9E3gyu+qopP8HWSF1fXuTGG76wpdHxqdo7yaItJPAmeyOvpWh4wP1vE8hxyWLj91s5 zbFQogP8F0/Ow== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/20/20 5:40 AM, 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. >> >> Signed-off-by: JC Kuo >> --- >> v4: >> new change to document "nvidia,pmc" prop >> >> .../devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.txt | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.txt b/Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.txt >> index 38c5fa21f435..ea559baeb546 100644 >> --- a/Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.txt >> +++ b/Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.txt >> @@ -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.8 V. >> +- nvidia,pmc: phandle and specifier referring to the Tegra210 pmc@7000e400 node. > > 'Tegra210 pmc@7000e400' is kind of specific. Going to update this for > every address and chip? > > If there's only one PMC, you can just find the compatible PMC node. Then > you don't need a DT update. > > Rob > Hi Rob, Thanks for your review and suggestion. Yes, there is only one PMC node. You mean I can retrieve the PMC node with the following code and if do do DT update is not required, right? np = of_find_compatible_node(NULL, NULL, "nvidia,tegra210-pmc"); JC