[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140905093932.GI2172@leverpostej>
Date: Fri, 5 Sep 2014 10:39:33 +0100
From: Mark Rutland <mark.rutland@....com>
To: Robert Richter <rric@...nel.org>
Cc: Will Deacon <Will.Deacon@....com>,
Rob Herring <robh+dt@...nel.org>,
Arnd Bergmann <arnd@...db.de>, Pawel Moll <Pawel.Moll@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Radha Mohan Chintakuntla <rchintakuntla@...ium.com>,
Olof Johansson <olof@...om.net>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Robert Richter <rrichter@...ium.com>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>
Subject: Re: [PATCH v2 3/4] arm64, thunder: Document devicetree bindings for
Cavium Thunder SoC
On Fri, Sep 05, 2014 at 10:32:22AM +0100, Robert Richter wrote:
> On 05.09.14 09:42:00, Will Deacon wrote:
> > On Fri, Sep 05, 2014 at 08:46:44AM +0100, Robert Richter wrote:
> > > From: Radha Mohan Chintakuntla <rchintakuntla@...ium.com>
> > >
> > > This patch adds documentation for the devicetree bindings used by the
> > > DT files of Cavium Thunder SoC platforms.
> > >
> > > Signed-off-by: Radha Mohan Chintakuntla <rchintakuntla@...ium.com>
> > > Signed-off-by: Robert Richter <rrichter@...ium.com>
> > > ---
> > > Documentation/devicetree/bindings/arm/cavium-thunder.txt | 10 ++++++++++
> > > Documentation/devicetree/bindings/arm/cpus.txt | 1 +
> > > 2 files changed, 11 insertions(+)
> > > create mode 100644 Documentation/devicetree/bindings/arm/cavium-thunder.txt
> > >
> > > diff --git a/Documentation/devicetree/bindings/arm/cavium-thunder.txt b/Documentation/devicetree/bindings/arm/cavium-thunder.txt
> > > new file mode 100644
> > > index 000000000000..6f63a5866902
> > > --- /dev/null
> > > +++ b/Documentation/devicetree/bindings/arm/cavium-thunder.txt
> > > @@ -0,0 +1,10 @@
> > > +Cavium Thunder platform device tree bindings
> > > +--------------------------------------------
> > > +
> > > +Boards with Cavium's Thunder SoC shall have following properties.
> > > +
> > > +Root Node
> > > +---------
> > > +Required root node properties:
> > > +
> > > + - compatible = "cavium,thunder-88xx";
> >
> > Is this file necessary? We don't have one for xgene afaict.
>
> Hmm, looking at Documentation/devicetree/bindings/arm/calxeda.txt
> there is something similar.
>
> I am fine with both, keeping or removing it.
>
> Would leave this to the DT maintainers.
Having a required root node compatible is fine, though I would only
expect it to be necessary for errata workarounds if we have no other way
of detecting things.
That said, compatible strings shouldn't have wildcards, so
"cavium,thunder-88xx" should be replaced with something more specific.
Later boards can claim compatibility with that (but should have their
own strings too).
Mark.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists