[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1537554816.7736.32.camel@impinj.com>
Date: Fri, 21 Sep 2018 18:33:36 +0000
From: Trent Piepho <tpiepho@...inj.com>
To: "swboyd@...omium.org" <swboyd@...omium.org>,
"broonie@...nel.org" <broonie@...nel.org>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"dianders@...omium.org" <dianders@...omium.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-arm-msm@...r.kernel.org" <linux-arm-msm@...r.kernel.org>,
"mark.rutland@....com" <mark.rutland@....com>,
"boris.brezillon@...tlin.com" <boris.brezillon@...tlin.com>,
"linux-spi@...r.kernel.org" <linux-spi@...r.kernel.org>,
"ryandcase@...omium.org" <ryandcase@...omium.org>,
"girishm@...eaurora.org" <girishm@...eaurora.org>
Subject: Re: [PATCH v2 1/2] dt-bindings: spi: Qualcomm Quad SPI(QSPI)
documentation
On Fri, 2018-09-21 at 10:39 -0700, Mark Brown wrote:
> On Fri, Sep 21, 2018 at 10:30:57AM -0700, Stephen Boyd wrote:
> > Quoting Ryan Case (2018-09-20 15:40:54)
> > > +Required properties:
> > > +- compatible: Should contain:
> > > + "qcom,sdm845-qspi"
> > Does someone have a more generic compatible string that can be added
> > here to indicate the type of quad SPI controller this is? I really doubt
> > this is a one-off hardware block for the specific SDM845 SoC.
>
> The idiom for DT is supposed to be to use only device specific names
> unfortunately.
Basically the "first" device the driver can control has it's specific
name used as the generic string. This is used in place of some
internal codename for the core.
Then a newer device will have "foo,XYZ200", "foo,XYZ100" as compatible,
where the 100 was the first device and the 200 is new one. Maybe the
driver cares, or will care, about what device this or maybe it can
drive the device fine without needing to know more than the generic.
Powered by blists - more mailing lists