Thread (11 messages) 11 messages, 3 authors, 2018-01-15

Re: [PATCH 5/6] arm64: tegra: Add Tegra194 chip device tree

From: Rob Herring <hidden>
Date: 2018-01-15 17:21:48
Also in: linux-arm-kernel, linux-tegra, lkml

On Fri, Jan 12, 2018 at 1:22 AM, Mikko Perttunen [off-list ref] wrote:
On 11.01.2018 23:56, Rob Herring wrote:
quoted
On Mon, Jan 08, 2018 at 06:54:37AM +0200, Mikko Perttunen wrote:
quoted
Add the chip-level device tree, including binding headers, for the
NVIDIA Tegra194 "Xavier" system-on-chip. Only a small subset of devices
are initially available, enough to boot to UART console.

Signed-off-by: Mikko Perttunen <redacted>
---
quoted
quoted
+       interrupt-parent = <&gic>;
+       #address-cells = <2>;
+       #size-cells = <2>;
+
+       uarta: serial@3100000 {

These should all be under a bus node. Tegra failed to do this at the
start and we're still copy-n-pasting this mistake.

Then you probably don't need 2 address and size cells for all the
peripherals.

So I should create one big simple-bus node and put everything with an
address apart from /memory (and maybe /sysram) inside it?
Yes. Though you can have multiple buses if that makes sense. Things
like fixed clocks, gpio-leds, etc. (typically board level) that don't
have any bus should stay at the top level.

Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help