[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAhSdy0Z_uGMYqC+6yRPFzEBDGi+SHkrvhe2+1ZMt9heHhJ0=g@mail.gmail.com>
Date: Tue, 25 Jun 2019 09:01:33 +0530
From: Anup Patel <anup@...infault.org>
To: Paul Walmsley <paul.walmsley@...ive.com>
Cc: Yash Shah <yash.shah@...ive.com>, Rob Herring <robh+dt@...nel.org>,
devicetree@...r.kernel.org, linux-riscv@...ts.infradead.org,
"linux-kernel@...r.kernel.org List" <linux-kernel@...r.kernel.org>,
Mark Rutland <mark.rutland@....com>,
Palmer Dabbelt <palmer@...ive.com>,
Albert Ou <aou@...s.berkeley.edu>, sachin.ghadi@...ive.com
Subject: Re: [PATCH] riscv: dts: Re-organize SPI DT nodes
On Tue, Jun 25, 2019 at 2:53 AM Paul Walmsley <paul.walmsley@...ive.com> wrote:
>
> On Mon, 24 Jun 2019, Yash Shah wrote:
>
> > As per the General convention, define only device DT node in SOC DTSi
> > file with status = "disabled" and enable device in Board DTS file with
> > status = "okay"
> >
> > Reported-by: Anup Patel <anup@...infault.org>
> > Signed-off-by: Yash Shah <yash.shah@...ive.com>
>
> This is a good start, but should also cover the other I/O devices in the
> chip DT file. The mandatory internal devices, like the PRCI and PLIC, can
> stay the way they are.
Yes, this convention only applies to SoC devices with external connections
so PRCI, PLIC, and CLINT DT nodes are not required to follow this.
Eventually, this convention helps when we have multiple boards of same
SOC and each board having different set of peripherals connections.
Regards,
Anup
Powered by blists - more mailing lists