Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2785297ybg; Thu, 24 Oct 2019 15:20:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqzMR/KUj/zuicQqTpAdCYcEHm/nalXydaQTdsoFWF0gcjDu/qRVG+JBNdIL2WLxGkRilrO9 X-Received: by 2002:a17:907:2132:: with SMTP id qo18mr389595ejb.247.1571955614843; Thu, 24 Oct 2019 15:20:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571955614; cv=none; d=google.com; s=arc-20160816; b=YVOJ+pGbVg+drjeYIJ5Kp6J4qgFSpD+VfCpnormXMgPCjqudKIRnMdYXrDUKN8Xt0S YsR1XRBIDiBFWQ/Cr3oxoI0Az+RnOVUB7gajXdkJ6ly8h0+zqiUPaxNA7JDqxcKD3v3L rgviZ3+pWFLhrI6O0Dh8WSKcEEXkwDjyWdpDm6JpxC6GYAfs6MwAZKmEwh61TapY2Eir 3eMthO0r5UGMntnSB+SLJoSBmBtEfQsxlHP5MBxS8VI5emMqEuCI0wZCLQhwidoAotIj duTwA5szEcLTnDxnb2sWPhCyu6rbWOA89EteyoybDsECmRrWy57OaDphbA6CbPRYhMbf Kxuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=H70VDuzpGSj4wLcnF1bsG08PQrvjXtSTrXej3pbOLLc=; b=nVA2Rw/59mA7JgaW6ZNR50qxcL7U3/4LjO6Z9Az2yKnKJTjH0O2/LjvOd8slOu/07K vV8i8LvJNx8qvpNhUAPTNAz/dgtj4GO480FYWnEciYQaelMTvtyTr+RvuxYO5lq0lXEh RN8AsUirgO1HP5EZ2NBN7vorbWxtuZq8fF1Ad7/NLUgWZJYzY1juIxaz/xieutng9zK2 ZNfXF/bA+K7YWLphrgNd4YRSZXScYSnUlswvJh7YXjpJajYNf8zKILBrUrg8t7ju7Ud7 1tUBvx3Gj20O2Km7h9IMPEeNDMpRMC96mmm0tmIrL6Iy8uPow0hhokWPvOpQLyWpApT1 XJww== 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 gg9si50330ejb.438.2019.10.24.15.19.50; Thu, 24 Oct 2019 15:20:14 -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 S2437914AbfJXHP2 (ORCPT + 99 others); Thu, 24 Oct 2019 03:15:28 -0400 Received: from twhmllg4.macronix.com ([122.147.135.202]:56770 "EHLO TWHMLLG4.macronix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437885AbfJXHP1 (ORCPT ); Thu, 24 Oct 2019 03:15:27 -0400 Received: from localhost.localdomain ([172.17.195.96]) by TWHMLLG4.macronix.com with ESMTP id x9O7E52w080302; Thu, 24 Oct 2019 15:14:07 +0800 (GMT-8) (envelope-from masonccyang@mxic.com.tw) From: Mason Yang To: miquel.raynal@bootlin.com, richard@nod.at, marek.vasut@gmail.com, dwmw2@infradead.org, bbrezillon@kernel.org, computersforpeace@gmail.com, vigneshr@ti.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: devicetree@vger.kernel.org, juliensu@mxic.com.tw, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, masonccyang@mxic.com.tw Subject: [PATCH v4 2/2] dt-bindings: mtd: Document Macronix NAND device bindings Date: Thu, 24 Oct 2019 15:40:07 +0800 Message-Id: <1571902807-10388-3-git-send-email-masonccyang@mxic.com.tw> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1571902807-10388-1-git-send-email-masonccyang@mxic.com.tw> References: <1571902807-10388-1-git-send-email-masonccyang@mxic.com.tw> X-MAIL: TWHMLLG4.macronix.com x9O7E52w080302 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the bindings used by the Macronix NAND device. Signed-off-by: Mason Yang --- .../devicetree/bindings/mtd/nand-macronix.txt | 20 ++++++++++++++++++++ 1 file changed, 20 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..cb60358 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/nand-macronix.txt @@ -0,0 +1,20 @@ +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 +is subpage accesses prohibited. By adding a new specific property +in children nodes to enable randomizer function. + +Required NAND chip properties in children mode: +- randomizer enable: should be "mxic,enable-randomizer-otp" + +Example: + + nand: nand-controller@unit-address { + + nand@0 { + reg = <0>; + mxic,enable-randomizer-otp; + }; + }; -- 1.9.1