Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp280747ybh; Wed, 11 Mar 2020 00:47:31 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvj/9VTFngH5bcVFraU9SrTWiNVhJK1ctjJY3T3gFNs46SZOgzst25EDATOi3kZQMJ7Qeor X-Received: by 2002:a9d:554a:: with SMTP id h10mr1258565oti.344.1583912851804; Wed, 11 Mar 2020 00:47:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583912851; cv=none; d=google.com; s=arc-20160816; b=sod5d8Q/HoGfpecruffqsfqJ7fiTxq20zRVEvjOyyQFoefHuPrnP6UUq5thuimsUhw zIB0B+f4NLASNkXkeqZb7itksYX/Y+r6P1z9Wq53kzJaWEJTPuUh5gsHmLbNBM+nYD6E LKioOqCHFv+iOHHIwcuVYk/EUefpEZx+8NXomt8i1vT47aKQpNZg6QiSK3B+kTWmfSSa ofycTERuQAdyp67smt618pJj5q1+DFgysyXnXXXIaQbcSXZhr725DSrzQVDoRahcLTyt OZTJLWzW3mcVwB5ZL9mgeFJ3wL88zmaXTGJGkwFilYyOX8nMVr2nj+Zjc6MRhGZdfzU+ Ps+A== 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=guwI8//IkI8Xu8QAoroImIcgyX43UXXcEfXW/bx4KAg=; b=CjjPYRlyPsgPfcp0AIfXRfwevXjKPGipTAuxhTHTpNN5BiPmZzvRk4XpuCKy7FL4CL CrT7gIR1sN/kY1l+9RzdMrjHbqHLxzPJzBVcmirDSTUYbmOy6mm9ut1eiuB6BngL6IrW fD/LOxRFJvuhsD6564BPPTQSNEKcN4bVQsM8xh8P2JS90EByWwu0QH6bt1UjK+As2u/y kTts25GDorHZ35TVptMHw7+u9H63ahomBxe4fHCGSWlahahFHliqSVoE32VUI9Wnvbkt EBksF96REgMzLFAA25O/SQUQ3gnMAe/fgURFuK8tdYbv1oDVPLI4sX/cutjrrS4VLM9Q XkOQ== 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 l145si784891oih.44.2020.03.11.00.47.19; Wed, 11 Mar 2020 00:47:31 -0700 (PDT) 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 S1728377AbgCKHpq convert rfc822-to-8bit (ORCPT + 99 others); Wed, 11 Mar 2020 03:45:46 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:51619 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726160AbgCKHpq (ORCPT ); Wed, 11 Mar 2020 03:45:46 -0400 X-Originating-IP: 90.89.41.158 Received: from xps13 (lfbn-tou-1-1473-158.w90-89.abo.wanadoo.fr [90.89.41.158]) (Authenticated sender: miquel.raynal@bootlin.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 314AD4000E; Wed, 11 Mar 2020 07:45:41 +0000 (UTC) Date: Wed, 11 Mar 2020 08:45:41 +0100 From: Miquel Raynal To: Mason Yang Cc: richard@nod.at, vigneshr@ti.com, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, tglx@linutronix.de, juliensu@mxic.com.tw, frieder.schrempf@kontron.de, allison@lohutok.net, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, yuehaibing@huawei.com Subject: Re: [PATCH v5 2/2] dt-bindings: mtd: Document Macronix NAND device bindings Message-ID: <20200311084541.28ff4829@xps13> In-Reply-To: <1581922600-25461-3-git-send-email-masonccyang@mxic.com.tw> References: <1581922600-25461-1-git-send-email-masonccyang@mxic.com.tw> <1581922600-25461-3-git-send-email-masonccyang@mxic.com.tw> Organization: Bootlin X-Mailer: Claws Mail 3.17.4 (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 Mason, Mason Yang wrote on Mon, 17 Feb 2020 14:56:40 +0800: > Document the bindings used by the Macronix NAND device. > > Signed-off-by: Mason Yang > Reviewed-by: Rob Herring > --- > .../devicetree/bindings/mtd/nand-macronix.txt | 28 ++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mtd/nand-macronix.txt > > diff --git a/Documentation/devicetree/bindings/mtd/nand-macronix.txt b/Documentation/devicetree/bindings/mtd/nand-macronix.txt > new file mode 100644 > index 0000000..1d7a895 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mtd/nand-macronix.txt > @@ -0,0 +1,28 @@ > +Macronix NANDs Device Tree Bindings > +----------------------------------- > + > +Macronix NANDs support randomizer operation for user data scrambled, > +which can be enabled with a SET_FEATURE. The penalty of randomizer are > +subpage accesses prohibited and more time period is needed in program > +operation, i.e., tPROG 300us to 340us(randomizer enabled). > +Randomizer enabled is a one time persistent and non reversible operatoin. > + > +For more high-reliability concern, if subpage write not available with > +hardware ECC and filesystem and then to enable randomizer is recommended > +by default. > + > +By adding a new specific property in children nodes to enable > +randomizer function. I also reworded slightly this text when applying. Thanks, Miquèl