[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170118220809.pmaa2f3kwiddehti@rob-hp-laptop>
Date: Wed, 18 Jan 2017 16:08:09 -0600
From: Rob Herring <robh@...nel.org>
To: Boris Brezillon <boris.brezillon@...e-electrons.com>
Cc: Guochun Mao <guochun.mao@...iatek.com>,
David Woodhouse <dwmw2@...radead.org>,
Brian Norris <computersforpeace@...il.com>,
Marek Vasut <marek.vasut@...il.com>,
Richard Weinberger <richard@....at>,
Cyrille Pitchen <cyrille.pitchen@...el.com>,
Mark Rutland <mark.rutland@....com>,
Matthias Brugger <matthias.bgg@...il.com>,
Russell King <linux@...linux.org.uk>,
linux-mtd@...ts.infradead.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 1/2] Documentation: mtk-quadspi: update DT bindings
On Fri, Jan 13, 2017 at 03:13:26PM +0100, Boris Brezillon wrote:
> On Fri, 13 Jan 2017 15:13:28 +0800
> Guochun Mao <guochun.mao@...iatek.com> wrote:
>
> > Add "mediatek,mt2701-nor" for nor flash node's compatible.
> >
> > Signed-off-by: Guochun Mao <guochun.mao@...iatek.com>
> > ---
> > .../devicetree/bindings/mtd/mtk-quadspi.txt | 4 +++-
> > 1 file changed, 3 insertions(+), 1 deletion(-)
> >
> > diff --git a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt b/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
> > index fb314f0..f83d31d 100644
> > --- a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
> > +++ b/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
> > @@ -1,7 +1,9 @@
> > * Serial NOR flash controller for MTK MT81xx (and similar)
> >
> > Required properties:
> > -- compatible: should be "mediatek,mt8173-nor";
> > +- compatible: should contain:
> > + "mediatek,mt2701-nor" for MT2701,
> > + "mediatek,mt8173-nor" for MT8173.
>
> Do you need to define a new compatible? If the IPs are exactly the same
> in both SoCs it shouldn't be needed.
Rather the 2701 should contain both strings in that case.
Rob
Powered by blists - more mailing lists