Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp2671125imb; Mon, 4 Mar 2019 10:59:50 -0800 (PST) X-Google-Smtp-Source: AHgI3IYV4YDlcbHJUxpkpMUA23TqccrUF/Lx50JBGB6p1Uhz+EzD0GtqAWdmBI0yY8ivrYw2L+Xs X-Received: by 2002:a62:398d:: with SMTP id u13mr21292924pfj.32.1551725990156; Mon, 04 Mar 2019 10:59:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551725990; cv=none; d=google.com; s=arc-20160816; b=iJwa8f06KmQMdhNT9keZE44u80IA4h602YLCOyuL/5UmYqKExSYcly8C8svwnPjg6L du5vo76DEuOFVqEiCIzJxND8DoBlqMwx/8NHpOpaVw4AKaAcyxUQ/eiDl3nRPXA3cuYB gtfhuZMKu4LedTqrxLph1g3N7UaKc7nTFlJuw9ebcIi8/hMc6AH97JNsa/Ba5R9T3XoW ufC0TksRPYqts60L6I3eCXufNmlPYNC3rhLmBVXfjz/ZsQs8LRf1Odg/z8M3EsWUZjon 8hXX7QLI1xsx+bbu7N2Mpk/J3253pw/muLY2eF6t5aypHMrtGv0fZKq8GIAkPeJ8fzwx menQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=nFN1HKKONBphwMhvY489l/7Czm/s5WvrOWjKhVdXWUk=; b=NB+8Z2itcpxCA/RAqVOOCcDx71XWRkZRREyJBNXwjzuTR/EpOuYGtwDBwgWRiB2/jV B1gX36rhD10tncC+/slv6yq4njaIxywghF/u6CrAgiCVvDliuUHtKfXSpeOWVWcO8E2R U10ExKe99E0n/+f7d84o5MSi5q85KFGssbt0yIOxDKYAoCbX8PRK2/0dcQF5WcEg5zPd la/PYWk8wBiQRVp4F7zzQPqfmnOvo97qddAhpr5sb6wVh11r+Bp4ueZ03PVJRKkHLN1M 8o/jBNYzExKP1aGXtf3T5b00AdCFewMi+IEvIwoQ2rGgcuCgUjhSX15vuRAPqqBdYesH 0xEw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u71si5659747pgd.579.2019.03.04.10.59.35; Mon, 04 Mar 2019 10:59:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727160AbfCDS7E convert rfc822-to-8bit (ORCPT + 99 others); Mon, 4 Mar 2019 13:59:04 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:37403 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726180AbfCDS7E (ORCPT ); Mon, 4 Mar 2019 13:59:04 -0500 X-Originating-IP: 77.136.15.76 Received: from xps13 (76.15.136.77.rev.sfr.net [77.136.15.76]) (Authenticated sender: miquel.raynal@bootlin.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id B8CA7E0002; Mon, 4 Mar 2019 18:58:55 +0000 (UTC) Date: Mon, 4 Mar 2019 19:58:52 +0100 From: Miquel Raynal To: Paul Cercueil Cc: David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Richard Weinberger , Rob Herring , Mark Rutland , Harvey Hunt , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 2/9] dt-bindings: mtd: ingenic: Change 'BCH' to 'ECC' in documentation Message-ID: <20190304195852.45c056f6@xps13> In-Reply-To: <1551723830.4932.3@crapouillou.net> References: <20190209192305.4434-1-paul@crapouillou.net> <20190209192305.4434-2-paul@crapouillou.net> <20190304105014.0cceea0a@xps13> <1551723830.4932.3@crapouillou.net> Organization: Bootlin X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Paul, Paul Cercueil wrote on Mon, 04 Mar 2019 19:23:50 +0100: > On Mon, Mar 4, 2019 at 10:50 AM, Miquel Raynal wrote: > > Hi Paul, > > > > Paul Cercueil > > wrote on Sat, 9 Feb 2019 16:22:58 > > -0300: > > > >> The JZ4740 ECC hardware is not BCH but Reed-Solomon, so it makes >> more > >> sense to use the more generic ECC term. > >> >> Signed-off-by: Paul Cercueil > > > >> --- > >> >> Changes: > >> >> v3: New patch > >> >> v4: No change > >> >> .../devicetree/bindings/mtd/ingenic,jz4780-nand.txt | 18 >> +++++++++--------- > >> 1 file changed, 9 insertions(+), 9 deletions(-) > >> >> diff --git >> a/Documentation/devicetree/bindings/mtd/ingenic,jz4780-nand.txt >> b/Documentation/devicetree/bindings/mtd/ingenic,jz4780-nand.txt > >> index a5b940f18bf6..5a45cc54f46d 100644 > >> --- a/Documentation/devicetree/bindings/mtd/ingenic,jz4780-nand.txt > >> +++ b/Documentation/devicetree/bindings/mtd/ingenic,jz4780-nand.txt > >> @@ -1,4 +1,4 @@ > >> -* Ingenic JZ4780 NAND/BCH > >> +* Ingenic JZ4780 NAND/ECC > >> >> This file documents the device tree bindings for NAND flash >> devices on the > >> JZ4780. NAND devices are connected to the NEMC controller >> (described in > >> @@ -14,10 +14,10 @@ Required NAND controller device properties: > >> an offset of 0 and a size of 0x1000000 (i.e. the whole NEMC >> bank). > >> >> Optional NAND controller device properties: > >> -- ingenic,bch-controller: To make use of the hardware BCH >> controller, this > >> - property must contain a phandle for the BCH controller node. The >> required > >> +- ingenic,bch-controller: To make use of the hardware ECC >> controller, this > >> + property must contain a phandle for the ECC controller node. The >> required > > > > I think there is already a 'ecc-engine' property used by MTK and Atmel > > NAND controllers to point to the ECC engine block. Please use this > > property instead of the ingenic specific one. > > ingenic,bch-controller is already in the devicetree ABI. I can't change it now... Oh, right... Well, same thing as before, maybe you can change it and keep the driver backward compatible? I don't want new DT to use this property because it is not generic and we must have a way from the core to find the ECC engine handle when the controller does not embed one itself (thus, the ecc-engine property which is around for quite some time already). Thanks, Miquèl