Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753486AbdFVTOQ (ORCPT ); Thu, 22 Jun 2017 15:14:16 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:50242 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751147AbdFVTOP (ORCPT ); Thu, 22 Jun 2017 15:14:15 -0400 Date: Thu, 22 Jun 2017 21:14:12 +0200 From: Boris Brezillon To: Tom Rini Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, David Woodhouse , Brian Norris , Marek Vasut , Richard Weinberger , Cyrille Pitchen , Rob Herring , Mark Rutland Subject: Re: [PATCH] dt-bindings: mtd: elm: Correct compatible string requirement Message-ID: <20170622211412.2c9729ab@bbrezillon> In-Reply-To: <1498047726-31398-1-git-send-email-trini@konsulko.com> References: <1498047726-31398-1-git-send-email-trini@konsulko.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1711 Lines: 46 On Wed, 21 Jun 2017 08:22:06 -0400 Tom Rini wrote: > The binding says that the compatible string must be "ti,am33xx-elm" > but the code checks only for, and all functioning users set, this as > "ti,am3352-elm" so correct the binding. > > Cc: David Woodhouse > Cc: Brian Norris > Cc: Boris Brezillon > Cc: Marek Vasut > Cc: Richard Weinberger > Cc: Cyrille Pitchen > Cc: Rob Herring > Cc: Mark Rutland > Signed-off-by: Tom Rini Applied. Thanks, Boris > --- > I have submitted a separate patch that correct the dm816x.dtsi to set > the compatible string there for the elm from ti,816-elm to ti,am3352-elm > and tested it on the hardware, where it works. It is quite likely that > dm814x.dtsi can be trivially corrected as it came after dm816x and > before am335x but as I cannot test the hardware, I did not update that. > --- > Documentation/devicetree/bindings/mtd/elm.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/mtd/elm.txt b/Documentation/devicetree/bindings/mtd/elm.txt > index 8c1528c421d4..59ddc61c1076 100644 > --- a/Documentation/devicetree/bindings/mtd/elm.txt > +++ b/Documentation/devicetree/bindings/mtd/elm.txt > @@ -1,7 +1,7 @@ > Error location module > > Required properties: > -- compatible: Must be "ti,am33xx-elm" > +- compatible: Must be "ti,am3352-elm" > - reg: physical base address and size of the registers map. > - interrupts: Interrupt number for the elm. >