Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967380AbeAORVs (ORCPT + 1 other); Mon, 15 Jan 2018 12:21:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:59864 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967013AbeAORVq (ORCPT ); Mon, 15 Jan 2018 12:21:46 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6B5D72178C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=robh@kernel.org X-Google-Smtp-Source: ACJfBouZsQKijknTDyy9t/ycE12vY/+qkYaOG5eayxflbC6lizpjS9whSt89eSRnnBq+UlABRVC6MKgCQBo27WbuaCI= MIME-Version: 1.0 In-Reply-To: <7085e085-134c-27cf-6ee7-ae691e63d454@kapsi.fi> References: <1515387278-29777-1-git-send-email-mperttunen@nvidia.com> <1515387278-29777-6-git-send-email-mperttunen@nvidia.com> <20180111215638.f5vxykb2vvxeypmk@rob-hp-laptop> <7085e085-134c-27cf-6ee7-ae691e63d454@kapsi.fi> From: Rob Herring Date: Mon, 15 Jan 2018 11:21:24 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 5/6] arm64: tegra: Add Tegra194 chip device tree To: Mikko Perttunen Cc: Mikko Perttunen , Thierry Reding , Jon Hunter , Mark Rutland , talho@nvidia.com, linux-tegra@vger.kernel.org, "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "linux-kernel@vger.kernel.org" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Fri, Jan 12, 2018 at 1:22 AM, Mikko Perttunen wrote: > On 11.01.2018 23:56, Rob Herring wrote: >> >> On Mon, Jan 08, 2018 at 06:54:37AM +0200, Mikko Perttunen wrote: >>> >>> 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 >>> --- >>> + 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