From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 56B82CCA481 for ; Wed, 29 Jun 2022 06:35:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wE+1Gm2vXsxwdK4cwfVynylUAk2OCr9uHhF+QUqsHCc=; b=vTFkJ8QBEeLo0M nY7X79QvFOl8wEOytue0HNA6L710WFWMvVsiAxP6bpFYxG+1gU72L4duS/Cl7pbD9k992sn0dHVQe L+DOmQ6v/Z12nZ1av6uTq1pohpss9oYKNl004Amne9qOy/HV9v7gN6m/ixQ5UmmZOlhKnzSIhU2lL 41ypeqvysIymbiXqAXl6DCrZmZTGHXJdNX6u6FaS4avjBcct2I+oKlhEbqrOW5HVc3NuyKeCRRqtP pDAUGxHg7mMcwD/d/0KSe9pl9zo7u9oo2jJyVb4bjnnt+toxRWYvhXwl+15HUanLtSW5imQcmvjBZ xbfln3ONPoePz4YGUQcQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6RIZ-009oQB-NB; Wed, 29 Jun 2022 06:35:39 +0000 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6RIX-009oP8-4e for linux-phy@lists.infradead.org; Wed, 29 Jun 2022 06:35:38 +0000 Received: by mail-ed1-x534.google.com with SMTP id cf14so20772866edb.8 for ; Tue, 28 Jun 2022 23:35:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=kBQFkusmcz/SMOWRD7R4YKEzcrVSUMw7+0eTSwhhg8c=; b=yFSGXOTThJGqGcl5Aqt8nukaqco/J/Pgq3+2L3gVKGxN1VDwiq1x4Up7LSaYhkD/TC SCJNYdoD9W+xphqJ8K1JVRWSKGoSzf5V5h0ZAW2Je8pKFCX3qeNQzWGohjrSoeB7aDVr 5/1tbL02NJvJ5Or5SZsksmHCm7C5Ddp7tlwkMS9uZqM3Mh/jbnmdrFItF+nUUubxsan6 LqcSGLbEXPYtw0t7M0BDt4cglwyGnZit3M4g/J/OmreW3aLwm8N8n+B54EZff+XF3+QX bo1yDSUHmJUZvDjm4nIEM5+98AdTJiFyH1Qhlts1LRsMVtxeZ92Bmj6+itR7oX5Bs20p WH9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=kBQFkusmcz/SMOWRD7R4YKEzcrVSUMw7+0eTSwhhg8c=; b=TJPtkBHn3RtcTu+ACteYyoV6BTkhJJMaHocYGdq5QHdgXWwnefdNWa9xw8HTDa6GI+ /Y4CZT1c/EWsn0eNzIIOXr5Mz/OFgAwSTFG1uih3mq3SR2EQ9ldUqpUyOsvZwYQRgv8Z +ZhsNMAb0bMicz0ADQsH/O5ompvDflhaY8KVpUYjfssieN186W/E5FCWUmxg4VVZf6u4 IVp3rwA6Wj88Fou5crfgnOIgzekDXGq74HQQWFzly/bNEYTEGuxQ8U7t1OLjcFCAsOKu L3kWKtvx8g+B4+hozWbf529iT/WKOoAki6D32PmDTEVBgxgh0qkB0ig5we9vzjiQRWzG gXsg== X-Gm-Message-State: AJIora9zKMdxDxDwEyC4++fYG6ZVoTbUEbjGgFSPT2MhSZFZZhPt+08g unrfCph7OWyl78Fgzg0IZPp+xEKTli0u1Q== X-Google-Smtp-Source: AGRyM1vnwG7UM1ZvSadQ2cbuw8dyvte78Wi8y82ra2acHs2+T3hSNHgNjjf/JkSlE3T81fgpoeGeJw== X-Received: by 2002:a05:6402:2404:b0:437:d11f:b9c7 with SMTP id t4-20020a056402240400b00437d11fb9c7mr2203046eda.176.1656484534706; Tue, 28 Jun 2022 23:35:34 -0700 (PDT) Received: from [192.168.0.181] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id y20-20020a17090629d400b00704cf66d415sm7325538eje.13.2022.06.28.23.35.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Jun 2022 23:35:34 -0700 (PDT) Message-ID: <07d2cbc3-07e2-85f4-1739-ffbe57d65519@linaro.org> Date: Wed, 29 Jun 2022 08:35:32 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH V3 06/11] arm64: tegra: Add P2U and PCIe controller nodes to Tegra234 DT Content-Language: en-US To: Vidya Sagar , bhelgaas@google.com, lorenzo.pieralisi@arm.com, robh+dt@kernel.org, thierry.reding@gmail.com, jonathanh@nvidia.com Cc: kishon@ti.com, vkoul@kernel.org, kw@linux.com, p.zabel@pengutronix.de, mperttunen@nvidia.com, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, kthota@nvidia.com, mmaddireddy@nvidia.com, sagar.tv@gmail.com References: <20220629060435.25297-1-vidyas@nvidia.com> <20220629060435.25297-7-vidyas@nvidia.com> From: Krzysztof Kozlowski In-Reply-To: <20220629060435.25297-7-vidyas@nvidia.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220628_233537_234662_8B7A3F5C X-CRM114-Status: GOOD ( 14.79 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org On 29/06/2022 08:04, Vidya Sagar wrote: > Add P2U (PIPE to UPHY) and PCIe controller nodes to device tree. > The Tegra234 SoC contains 10 PCIe controllers and 24 P2U instances > grouped into three different PHY bricks namely High-Speed IO (HSIO-8 P2Us) > NVIDIA High Speed (NVHS-8 P2Us) and Gigabit Ethernet (GBE-8 P2Us) > respectively. > > Signed-off-by: Vidya Sagar > --- > V3: > * Added entries for all controllers that can operate in EndPoint mode > > V2: > * Added 'iommu-map', 'iommu-map-mask' and 'dma-coherent' entries for each > PCIe controller node > > arch/arm64/boot/dts/nvidia/tegra234.dtsi | 935 +++++++++++++++++++++++ > 1 file changed, 935 insertions(+) > > diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi > index 2ae2f11f289c..062417e3ede5 100644 > --- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi > +++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi > @@ -998,6 +998,198 @@ > status = "okay"; > }; > > + p2u_hsio_0: phy@3e00000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03e00000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_hsio_1: phy@3e10000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03e10000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_hsio_2: phy@3e20000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03e20000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_hsio_3: phy@3e30000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03e30000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_hsio_4: phy@3e40000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03e40000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_hsio_5: phy@3e50000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03e50000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_hsio_6: phy@3e60000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03e60000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_hsio_7: phy@3e70000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03e70000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_nvhs_0: phy@3e90000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03e90000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_nvhs_1: phy@3ea0000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03ea0000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_nvhs_2: phy@3eb0000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03eb0000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_nvhs_3: phy@3ec0000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03ec0000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_nvhs_4: phy@3ed0000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03ed0000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_nvhs_5: phy@3ee0000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03ee0000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_nvhs_6: phy@3ef0000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03ef0000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_nvhs_7: phy@3f00000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03f00000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_gbe_0: phy@3f20000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03f20000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_gbe_1: phy@3f30000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03f30000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_gbe_2: phy@3f40000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03f40000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_gbe_3: phy@3f50000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03f50000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_gbe_4: phy@3f60000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03f60000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_gbe_5: phy@3f70000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03f70000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_gbe_6: phy@3f80000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03f80000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > + p2u_gbe_7: phy@3f90000 { > + compatible = "nvidia,tegra234-p2u"; > + reg = <0x03f90000 0x10000>; > + reg-names = "ctl"; > + > + #phy-cells = <0>; > + }; > + > hsp_aon: hsp@c150000 { > compatible = "nvidia,tegra234-hsp", "nvidia,tegra194-hsp"; > reg = <0x0c150000 0x90000>; > @@ -1384,6 +1576,749 @@ > status = "okay"; > }; > > + pcie@140a0000 { > + compatible = "nvidia,tegra234-pcie"; > + power-domains = <&bpmp TEGRA234_POWER_DOMAIN_PCIEX4CA>; > + reg = <0x00 0x140a0000 0x0 0x00020000>, /* appl registers (128K) */ > + <0x00 0x2a000000 0x0 0x00040000>, /* configuration space (256K) */ > + <0x00 0x2a040000 0x0 0x00040000>, /* iATU_DMA reg space (256K) */ > + <0x00 0x2a080000 0x0 0x00040000>; /* DBI reg space (256K) */ > + reg-names = "appl", "config", "atu_dma", "dbi"; > + > + status = "disabled"; Status goes to the end, not somewhere in the middle of properties. Best regards, Krzysztof -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy