From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753922AbdARWJa (ORCPT ); Wed, 18 Jan 2017 17:09:30 -0500 Received: from mail-ot0-f195.google.com ([74.125.82.195]:35782 "EHLO mail-ot0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753064AbdARWIq (ORCPT ); Wed, 18 Jan 2017 17:08:46 -0500 Date: Wed, 18 Jan 2017 16:08:09 -0600 From: Rob Herring To: Boris Brezillon Cc: Guochun Mao , David Woodhouse , Brian Norris , Marek Vasut , Richard Weinberger , Cyrille Pitchen , Mark Rutland , Matthias Brugger , Russell King , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 1/2] Documentation: mtk-quadspi: update DT bindings Message-ID: <20170118220809.pmaa2f3kwiddehti@rob-hp-laptop> References: <1484291609-20195-1-git-send-email-guochun.mao@mediatek.com> <1484291609-20195-2-git-send-email-guochun.mao@mediatek.com> <20170113151326.11e9451a@bbrezillon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170113151326.11e9451a@bbrezillon> User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 13, 2017 at 03:13:26PM +0100, Boris Brezillon wrote: > On Fri, 13 Jan 2017 15:13:28 +0800 > Guochun Mao wrote: > > > Add "mediatek,mt2701-nor" for nor flash node's compatible. > > > > Signed-off-by: Guochun Mao > > --- > > .../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