Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3538601yba; Tue, 7 May 2019 02:59:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqzHreWqwgLT0vyQM6kiYF+tKFkLPZR0dOfwqq39hEgDYJhn8RXy2UbdDjnyDonKK6kRmNma X-Received: by 2002:a63:4006:: with SMTP id n6mr38973537pga.424.1557223152364; Tue, 07 May 2019 02:59:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557223152; cv=none; d=google.com; s=arc-20160816; b=coyHGrzqojqgNN14XMolcIo5ZWcJ4mPxC2uAuZQDwXFUO1GtNxpx3db9eyF0zoNTZH Ze+4+92V+TwHDKnniJ91aCMgpwy+O2dJOQ3Eri+a3w/BKmTNDjw8dJR3A2YfFQuRtu1T a/qs8yUB3xL+S+YUclLzEEMEjYWgcBiXObOPFf6oY3/lBrFXaas4vMyw8u0T7yrpDQVF zE9vDi4kbZpJg7QqGNUvJ40yxv+CCYHuGJZlBjgD1Jfh2Wm6pFtVziheUTCw2KxnmC+r g9GHIIVLqDJcwv4g7JbHJ8+AnKW6kp2ZnMfhwL5ERusK6CqFvUwffTc1D6sEjDOeIX+u 0bYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=yMsBiV1fEe9A1TMMLA2KOVpdo0cNL5OaDWCKWRUAWd4=; b=E1NB93Pj2GswaQ3kN+F4+6Oivvlhpz6kUIS/+7cF0miLyKE7byNBLaQJaVRfD76aKc TQ4L628yVviBH4pnbT/1yRky56QY4LP8aIA2bM+7GkxJdzPiEAdt6Tznb7MhydWVqn58 VPfG6smk3j9Y16oaEeE3AsJ2DA1G1gMSlzb0+0pjt1ikjskqS0w7yahxeYUjOMw6bvfr PB8CnVVJt9JExLei8l4NrSbVbNRHfoCesOm8ZxVgIpLfnVSvjj9l05SfKytHon0KqXUL eJ+yzrl+TGzgDngjYp8xu+2tko6PS7LNkii0n/oPvyRHXgf9Onj/jHEDcCnrtvdbIbIO VJYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=E0KqgTbm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id k6si17347927pgq.300.2019.05.07.02.58.56; Tue, 07 May 2019 02:59:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=E0KqgTbm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726598AbfEGJ6G (ORCPT + 99 others); Tue, 7 May 2019 05:58:06 -0400 Received: from hqemgate15.nvidia.com ([216.228.121.64]:13774 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726340AbfEGJ6F (ORCPT ); Tue, 7 May 2019 05:58:05 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 07 May 2019 02:57:30 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Tue, 07 May 2019 02:58:04 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Tue, 07 May 2019 02:58:04 -0700 Received: from [10.25.73.250] (172.20.13.39) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 7 May 2019 09:57:59 +0000 Subject: Re: [PATCH V5 11/16] dt-bindings: PHY: P2U: Add Tegra 194 P2U block To: Rob Herring CC: , , , , , , , , , , , , , , , , , , References: <20190424052004.6270-1-vidyas@nvidia.com> <20190424052004.6270-12-vidyas@nvidia.com> <20190426154519.GA19329@bogus> X-Nvconfidentiality: public From: Vidya Sagar Message-ID: Date: Tue, 7 May 2019 15:27:56 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190426154519.GA19329@bogus> X-Originating-IP: [172.20.13.39] X-ClientProxiedBy: HQMAIL106.nvidia.com (172.18.146.12) To HQMAIL101.nvidia.com (172.20.187.10) Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1557223050; bh=yMsBiV1fEe9A1TMMLA2KOVpdo0cNL5OaDWCKWRUAWd4=; h=X-PGP-Universal:Subject:To:CC:References:X-Nvconfidentiality:From: Message-ID:Date:User-Agent:MIME-Version:In-Reply-To: X-Originating-IP:X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=E0KqgTbmZdwQUPOTRizQDdy3EywsHpf0ZNQ/rMVFPenqr4vkGKS9bmSfTG6rwBIk8 Ea2Io3f6vj7Gdq3hXuiUi9RUu2bn5qCONy0tpr6/7sC6qPgGbCYmcTiZhAQKKm8WIs DO+utS9tWBXG+o3Vq/ntx5qhTKP9q+nI50yl5PduUNBKLegReyTi8J6oR/1Yem6a06 swD6Gn+/eAKc6A8vdqurZvej2kDFZsRaonKz25ZUcLgKTjIV27zDa7Lf/CUMz+DDVD L4LPmCa17kdDUbPgdDFCOb99OidYusHCPLhppOtk6zIaLR4WVKV0WM2WvIpNz5lS51 Rsx9dyningPNQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/26/2019 9:15 PM, Rob Herring wrote: > On Wed, Apr 24, 2019 at 10:49:59AM +0530, Vidya Sagar wrote: >> Add support for Tegra194 P2U (PIPE to UPHY) module block which is a glue >> module instantiated one for each PCIe lane between Synopsys Designware core >> based PCIe IP and Universal PHY block. > > Missing Sob. Done. > >> --- >> Changes since [v4]: >> * None >> >> Changes since [v3]: >> * None >> >> Changes since [v2]: >> * Changed node label to reflect new format that includes either 'hsio' or >> 'nvhs' in its name to reflect which UPHY brick they belong to >> >> Changes since [v1]: >> * This is a new patch in v2 series >> >> .../bindings/phy/phy-tegra194-p2u.txt | 28 +++++++++++++++++++ >> 1 file changed, 28 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/phy/phy-tegra194-p2u.txt >> >> diff --git a/Documentation/devicetree/bindings/phy/phy-tegra194-p2u.txt b/Documentation/devicetree/bindings/phy/phy-tegra194-p2u.txt >> new file mode 100644 >> index 000000000000..8b543cba483b >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/phy/phy-tegra194-p2u.txt >> @@ -0,0 +1,28 @@ >> +NVIDIA Tegra194 P2U binding >> + >> +Tegra194 has two PHY bricks namely HSIO (High Speed IO) and NVHS (NVIDIA High >> +Speed) each interfacing with 12 and 8 P2U instances respectively. >> +A P2U instance is a glue logic between Synopsys DesignWare Core PCIe IP's PIPE >> +interface and PHY of HSIO/NVHS bricks. Each P2U instance represents one PCIe >> +lane. >> + >> +Required properties: >> +- compatible: For Tegra19x, must contain "nvidia,tegra194-p2u". >> +- reg: Should be the physical address space and length of respective each P2U >> + instance. >> +- reg-names: Must include the entry "ctl". > > -names is pointless when there is only 1. I did it this way to make it future proof as there could be more regions that might get added at a later point of time. > >> + >> +Required properties for PHY port node: >> +- #phy-cells: Defined by generic PHY bindings. Must be 0. >> + >> +Refer to phy/phy-bindings.txt for the generic PHY binding properties. >> + >> +Example: >> + >> +p2u_hsio_0: p2u@3e10000 { > > phy@... Done. > >> + compatible = "nvidia,tegra194-p2u"; >> + reg = <0x03e10000 0x10000>; >> + reg-names = "ctl"; >> + >> + #phy-cells = <0>; >> +}; >> -- >> 2.17.1 >>