From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Hunter Subject: Re: [PATCH v3 1/2] arm64: tegra: add ACONNECT, ADMA and AGIC nodes Date: Thu, 13 Jun 2019 11:21:45 +0100 Message-ID: <7a8426e9-a2c3-5cf6-9088-8ad81f558488@nvidia.com> References: <1560417053-2966-1-git-send-email-spujar@nvidia.com> <8a71e670-7943-6bce-ba61-3f020fd9450d@nvidia.com> <6a4b5fac-68cd-542a-a907-0d80713f9d82@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <6a4b5fac-68cd-542a-a907-0d80713f9d82@nvidia.com> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Sameer Pujar , thierry.reding@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: mkumard@nvidia.com, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-tegra@vger.kernel.org On 13/06/2019 10:47, Sameer Pujar wrote: >=20 > On 6/13/2019 3:12 PM, Jon Hunter wrote: >> On 13/06/2019 10:10, Sameer Pujar wrote: >>> Add DT nodes for following devices on Tegra186 and Tegra194 >>> =C2=A0 * ACONNECT >>> =C2=A0 * ADMA >>> =C2=A0 * AGIC >>> >>> Signed-off-by: Sameer Pujar >>> --- >>> =C2=A0 changes in current revision >>> =C2=A0=C2=A0 * use single address range for all APE modules >>> =C2=A0=C2=A0 * fix address range for agic >>> >>> =C2=A0 arch/arm64/boot/dts/nvidia/tegra186.dtsi | 67 >>> ++++++++++++++++++++++++++++++++ >>> =C2=A0 arch/arm64/boot/dts/nvidia/tegra194.dtsi | 67 >>> ++++++++++++++++++++++++++++++++ >>> =C2=A0 2 files changed, 134 insertions(+) >>> >>> diff --git a/arch/arm64/boot/dts/nvidia/tegra186.dtsi >>> b/arch/arm64/boot/dts/nvidia/tegra186.dtsi >>> index 426ac0b..b4d735e 100644 >>> --- a/arch/arm64/boot/dts/nvidia/tegra186.dtsi >>> +++ b/arch/arm64/boot/dts/nvidia/tegra186.dtsi >>> @@ -1295,4 +1295,71 @@ >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_= LOW)>; >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 interrupt-parent= =3D <&gic>; >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 }; >>> + >>> +=C2=A0=C2=A0=C2=A0 aconnect@2a41000 { >> This address does not look correct. This appears to be the address of >> the AGIC. I think it should be 2900000, however, I also wonder if we >> should even bother with an address for the aconnect as this is just a >> bus and we don't specific a 'reg' property. > Do you mean, should be ok to just mention "aconnect {"? I did a bit more reading and for Tegra186 there are no registers implement for the aconnect (which is different from Tegra210) and so in this case we should just have ... aconnect { ... >> >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 compatible =3D "nvidia,tegr= a210-aconnect"; >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 clocks =3D <&bpmp TEGRA186_= CLK_APE>, >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 <&bpmp TEGRA186_CLK_APB2APE>; >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 clock-names =3D "ape", "apb= 2ape"; >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 power-domains =3D <&bpmp TE= GRA186_POWER_DOMAIN_AUD>; >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #address-cells =3D <1>; >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #size-cells =3D <1>; >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ranges =3D <0x02900000 0x0 = 0x02900000 0x1FFFFF>; >> This should be 0x1fffff. > done Sorry this should be 0x200000. Cheers Jon --=20 nvpublic