Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1299390

Re: [PATCH v2 1/4] Documentation: fsl-quadspi: Add fsl,ls2080a-dspi compatible string

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 1/4] Documentation: fsl-quadspi: Add fsl,ls2080a-dspi compatible string
Date 2015-12-30 16:20 +0100
Message-ID <qLqHF-8io-21@gated-at.bofh.it> (permalink)
References <qJbWq-5Z3-17@gated-at.bofh.it> <qL7lE-49U-17@gated-at.bofh.it> <qLh1D-1LR-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Dec 29, 2015 at 9:17 PM, Yao Yuan <yao.yuan@nxp.com> wrote:
> Hi Rob,
>
> Thanks for your review.
> So you mean that I should add the commit message for why I add this new compatible?

Please don't top post on the lists.

No, the binding doc should explain what are valid combinations of
compatible strings and the order when the dts can have multiple
strings. For example, is this valid:

compatible = "fsl,vf610-dspi", "fsl,ls2080a-dspi";

In other words, I should be able to check a dts file against what the
binding doc says.

Rob

> On Wed, Dec 30, 2015 at 02:35AM, Rob Herring wrote:
>> On Thu, Dec 24, 2015 at 07:01:00PM +0800, Yuan Yao wrote:
>> > new compatible string: "fsl,ls2080a-qspi".
>> >
>> > Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
>> > ---
>> > Changed in v2:
>> > Update my email to <yao.yuan@nxp.com>
>> > ---
>> >  Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 3 ++-
>> >  1 file changed, 2 insertions(+), 1 deletion(-)
>> >
>> > diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
>> b/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
>> > index fa77f87..2fe51d6 100644
>> > --- a/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
>> > +++ b/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
>> > @@ -1,7 +1,8 @@
>> >  ARM Freescale DSPI controller
>> >
>> >  Required properties:
>> > -- compatible : "fsl,vf610-dspi", "fsl,ls1021a-v1.0-dspi", "fsl,ls2085a-dspi"
>> > +- compatible : "fsl,vf610-dspi", "fsl,ls1021a-v1.0-dspi",
>> > +           "fsl,ls2085a-dspi", "fsl,ls2080a-dspi"
>>
>> You should explain what combinations of compatible strings are valid.
>>
>> Rob
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 1/4] Documentation: fsl-quadspi: Add fsl,ls2080a-dspi compatible string Yuan Yao <yao.yuan@freescale.com> - 2015-12-24 12:10 +0100
  Re: [PATCH v2 2/4] Documentation: fsl-quadspi: Add fsl, ls2080a-qspi  compatible string Rob Herring <robh@kernel.org> - 2015-12-29 19:40 +0100
  Re: [PATCH v2 1/4] Documentation: fsl-quadspi: Add fsl,ls2080a-dspi  compatible string Rob Herring <robh@kernel.org> - 2015-12-29 19:40 +0100
    RE: [PATCH v2 1/4] Documentation: fsl-quadspi: Add fsl,ls2080a-dspi  compatible string Yao Yuan <yao.yuan@nxp.com> - 2015-12-30 06:00 +0100
      Re: [PATCH v2 1/4] Documentation: fsl-quadspi: Add fsl,ls2080a-dspi  compatible string Rob Herring <robh@kernel.org> - 2015-12-30 16:20 +0100
        RE: [PATCH v2 1/4] Documentation: fsl-quadspi: Add fsl,ls2080a-dspi  compatible string Yao Yuan <yao.yuan@nxp.com> - 2015-12-31 03:40 +0100
  Re: [PATCH 4/4] Documentation: fsl-quadspi: Add optional properties Rob Herring <robh@kernel.org> - 2015-12-29 19:40 +0100

csiph-web