Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp491051ybi; Tue, 2 Jul 2019 23:55:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqxPE/skn6k2zfeyP2WViry0Slm0st+K0TRTWzd/ycdrPa2ZLUcZxRKDoLFMCzzeC60FqGBh X-Received: by 2002:a65:404a:: with SMTP id h10mr36198419pgp.262.1562136900183; Tue, 02 Jul 2019 23:55:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562136900; cv=none; d=google.com; s=arc-20160816; b=PV/1sT9y/i6oDO5HirjBtxXsQyUlV4dM0AjXVC44Y2mPsnknW2UJvd5ItHvs5omqdU sRLBJikaJOF6xG9GRIzN8YDyXuqJ01Jdlcyi2g+q2UWiWCt9nxRJU0Bqd8lnB4F0pwci Lyh1RMlfa0sPHT+0X4Tsfi77J/EyLwTgRAO+Zy3uIiCMbrmeajfCyTbsJ2LM18chUjBO uBUH3+fpvHGHEMXpOU5ZSpkUxup4bBhdI7HUjp4tXsSOLHmWHUuddju+qRxfKIQpwMKN yRZxIgVGBaLo1DZAVUknQvbz60zkDrb7G/77hc800E3+H8GMlY0HRs4aU1JML7Nh4UT0 3uKg== 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=4CDjKIOZieU2o8q3yWgTgyxVkb4S9Gkt1Aj4YRkAVns=; b=Qpi0zfb394xB9z1xb7eISPrJRaeaLCP1sayfc9uwZANQTBnM+dacbMyKZVboAONUNT 3KlbOJHLToTYl1kTKbuwYN1esBEytN9wotQwo5hLdw+07x+1QE2hV8SZGFLrqqxDImff iPN0AKwDZanwnOrca+m1jRpjTBHfNwO4d9kOYc07WASYD2Ol5FNyfM7dmtKjcZMRFn9x pxXI4wp78wAeS0JIsWhbMBA4isiybeG25GCMEFCTDzgKeLqrHBUdRJLEAIvhIrCz5dOO B8IBCZQGA1DRHolfzSJV5MxVMQGuNYkEANMkqqD+PRKIpBh+FN5Wh/4KKvgMDp2i0t0J 9/Mg== 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 r19si1494256pfh.50.2019.07.02.23.54.45; Tue, 02 Jul 2019 23:55:00 -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 S1727240AbfGCGx3 (ORCPT + 99 others); Wed, 3 Jul 2019 02:53:29 -0400 Received: from twhmllg3.macronix.com ([211.75.127.131]:63191 "EHLO TWHMLLG3.macronix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726670AbfGCGx2 (ORCPT ); Wed, 3 Jul 2019 02:53:28 -0400 Received: from localhost.localdomain ([172.17.195.96]) by TWHMLLG3.macronix.com with ESMTP id x636rBC5005738; Wed, 3 Jul 2019 14:53:13 +0800 (GMT-8) (envelope-from masonccyang@mxic.com.tw) From: Mason Yang To: miquel.raynal@bootlin.com, marek.vasut@gmail.com, bbrezillon@kernel.org, dwmw2@infradead.org, computersforpeace@gmail.com, vigneshr@ti.com, richard@nod.at, robh+dt@kernel.org, stefan@agner.ch, mark.rutland@arm.com Cc: linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, juliensu@mxic.com.tw, paul.burton@mips.com, liang.yang@amlogic.com, lee.jones@linaro.org, masonccyang@mxic.com.tw, anders.roxell@linaro.org, christophe.kerello@st.com, paul@crapouillou.net, devicetree@vger.kernel.org Subject: [PATCH v5 2/2] dt-bindings: mtd: Document Macronix raw NAND controller bindings Date: Wed, 3 Jul 2019 15:15:44 +0800 Message-Id: <1562138144-2212-3-git-send-email-masonccyang@mxic.com.tw> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1562138144-2212-1-git-send-email-masonccyang@mxic.com.tw> References: <1562138144-2212-1-git-send-email-masonccyang@mxic.com.tw> X-MAIL: TWHMLLG3.macronix.com x636rBC5005738 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 raw NAND controller. Signed-off-by: Mason Yang --- Documentation/devicetree/bindings/mtd/mxic-nand.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/mxic-nand.txt diff --git a/Documentation/devicetree/bindings/mtd/mxic-nand.txt b/Documentation/devicetree/bindings/mtd/mxic-nand.txt new file mode 100644 index 0000000..ddd7660 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/mxic-nand.txt @@ -0,0 +1,20 @@ +Macronix Raw NAND Controller Device Tree Bindings +------------------------------------------------- + +Required properties: +- compatible: should be "macronix,nand-controller" +- reg: should contain 1 entrie for the registers +- interrupts: interrupt line connected to this raw NAND controller +- clock-names: should contain "ps_clk", "send_clk" and "send_dly_clk" +- clocks: should contain 3 phandles for the "ps_clk", "send_clk" and + "send_dly_clk" clocks + +Example: + + nand: mxic-nfc@43c30000 { + compatible = "macronix,nand-controller"; + reg = <0x43c30000 0x10000>; + reg-names = "regs"; + clocks = <&clkwizard 0>, <&clkwizard 1>, <&clkc 15>; + clock-names = "send_clk", "send_dly_clk", "ps_clk"; + }; -- 1.9.1