Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp750648imm; Wed, 26 Sep 2018 06:19:11 -0700 (PDT) X-Google-Smtp-Source: ACcGV61sDbEv1OhlNoOJPjJTkJXlvEZu1lilFnzzki47K0hAW4f9FJlw/heukzVS7oxUxe706Ry7 X-Received: by 2002:a17:902:e012:: with SMTP id ca18-v6mr6057005plb.195.1537967951623; Wed, 26 Sep 2018 06:19:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537967951; cv=none; d=google.com; s=arc-20160816; b=Vl0zd1FLyjcdjXhlnN+aqFkvshcmilDf7RKtRcNFlvOj2KbOjc4uWJOH4ZB4jiRB6u CfxTPyOKHP/QL5iEFrfhSvlJVpN6R6dvTIK9kYTwhdmJp/nwXh/jgSn8WOsZziaxlfkK 9rMHsOfqBW8eAiS4l7uBawCuVW69vuCgWcldJ4XR+O1zPE6DmLJQ+orll4qUqaxgfQWb zvQOxy8J8otYdcb1ejg/CAmHexXDhkEFy/yPHYYHatwHrXaLXr0HROKyqvFLZfKKciOQ OHd+DQ0DiHqW6FLRAm4DAfupxCwDhJF4suSkrSZHIFqqj5C4VBY4rl34IeC30m0cyZqA gw/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=cklvCXsw9EQNRpD/Kf+YepRiC1hSWY+Szm7y142zc0k=; b=lTdLhtHvc9SRXKcTRwRIJh0ociBR9D83h3ceSXqULUboKvJ2SsluQUDXefd7rntXfI J7E6kgrncFaCKJcyiRSPNosEzHE4R0VMpjmbg9vG1Jjrl7q5/8LZlDuqQcoadLnPJk4O cghXGucwsR+2uzgAi0EED6KaAPgmSqsBN4oS+AM8fxBqV+RCHKh4EOHMP8K+UGiNTgGm BZQ+e5T2vJimbS+PzJgtwFeVjVIU5sVUmpAxjqnUaxZY7p+/RdVSXHV4ee1QBL2gIooh h8Y+VaOxC8PzwkjOgRGkW+0tH7T+UQYRrAUMR5jx+Moyz+gSqbPIHcRTkbYr2V0I/LSP 1o4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LWzZBOHD; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d5-v6si4385519pln.471.2018.09.26.06.18.55; Wed, 26 Sep 2018 06:19:11 -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; dkim=pass header.i=@kernel.org header.s=default header.b=LWzZBOHD; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728422AbeIZTbb (ORCPT + 99 others); Wed, 26 Sep 2018 15:31:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:58504 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726987AbeIZTbb (ORCPT ); Wed, 26 Sep 2018 15:31:31 -0400 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0BD1220843 for ; Wed, 26 Sep 2018 13:18:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1537967915; bh=yQtcc+aTXBNC4ba9dXvAna97pxX7USC0nPRZ8rSKF0E=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=LWzZBOHDx7+yYncvtoCKbUZnLxLvqtekdO4NPXVepzw9sA/fQrAE9Wc8yH5IMCHJZ WWmdg5Z9+1vCITFjTAv+4LTF6tifLMWyPViyQOmZyJbf1i13wc5G2kYB4YJ9GJ4es3 sDcpEQupfwwm6bouz2d77/JukdH1tcLwVPpJvK4s= Received: by mail-wm1-f43.google.com with SMTP id y13-v6so2314253wmi.1 for ; Wed, 26 Sep 2018 06:18:34 -0700 (PDT) X-Gm-Message-State: ABuFfojfiL4CbXuHA0TdYuKWQpHGoOan6g1VVBaaFgGweHO6ojxPvILD Dx4Yumsixful+isqRRkPrnnNlRsnhfQwJUFf8hHSfw== X-Received: by 2002:a1c:820d:: with SMTP id e13-v6mr4467881wmd.91.1537967913387; Wed, 26 Sep 2018 06:18:33 -0700 (PDT) MIME-Version: 1.0 References: <1537878031-22253-1-git-send-email-naga.sureshkumar.relli@xilinx.com> <1537878031-22253-2-git-send-email-naga.sureshkumar.relli@xilinx.com> In-Reply-To: <1537878031-22253-2-git-send-email-naga.sureshkumar.relli@xilinx.com> From: Rob Herring Date: Wed, 26 Sep 2018 08:18:21 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [LINUX PATCH v11 1/3] dt-bindings: mtd: arasan: Add device tree binding documentation To: naga.sureshkumar.relli@xilinx.com Cc: boris.brezillon@bootlin.com, miquel.raynal@bootlin.com, richard@nod.at, dwmw2@infradead.org, computersforpeace@gmail.com, marek.vasut@gmail.com, linux-mtd@lists.infradead.org, Linux Kernel Mailing List , michals@xilinx.com, nagasuresh12@gmail.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DT bindings should be sent to DT list. On Tue, Sep 25, 2018 at 7:21 AM Naga Sureshkumar Relli wrote: > > This patch adds the dts binding document for arasan nand flash controller > > Signed-off-by: Naga Sureshkumar Relli > --- > Changes in v11: > - Updated compatible description as suggested by Boris > - Removed arasan-has-dma property > Changes in v10: > - None > Changes in v9: > - None > Changes in v8: > - Updated compatible and clock-names as per Boris comments > Changes in v7: > - Corrected the acronyms those should be in caps > Changes in v6: > - Removed num-cs property > - Separated nandchip from nand controller > Changes in v5: > - None > Changes in v4: > - Added num-cs property > - Added clock support > Changes in v3: > - None > Changes in v2: > - None > --- > .../devicetree/bindings/mtd/arasan_nand.txt | 33 ++++++++++++++++++++++ > 1 file changed, 33 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mtd/arasan_nand.txt > > diff --git a/Documentation/devicetree/bindings/mtd/arasan_nand.txt b/Documentation/devicetree/bindings/mtd/arasan_nand.txt > new file mode 100644 > index 0000000..546ed98 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mtd/arasan_nand.txt > @@ -0,0 +1,33 @@ > +Arasan NAND Flash Controller with ONFI 3.1 support > + > +Required properties: > +- compatible: Should be "xlnx,zynqmp-nand", "arasan,nfc-v3p10" > +- reg: Memory map for module access > +- interrupt-parent: Interrupt controller the interrupt is routed through Drop this. It is implied. > +- interrupts: Should contain the interrupt for the device > +- clock-name: List of input clocks - "sys", "flash" > + (See clock bindings for details) > +- clocks: Clock phandles (see clock bindings for details) > + > +Required properties for child node: > +- nand-ecc-mode: see nand.txt > + > +For NAND partition information please refer the below file > +Documentation/devicetree/bindings/mtd/partition.txt > + > +Example: > + nfc: nand@ff100000 { > + compatible = "xlnx,zynqmp-nand", "arasan,nfc-v3p10" Missing ; > + reg = <0x0 0xff100000 0x1000>; > + clock-name = "sys", "flash" Missing ; > + clocks = <&misc_clk &misc_clk>; > + interrupt-parent = <&gic>; > + interrupts = <0 14 4>; > + #address-cells = <1>; > + #size-cells = <0> Missing ; > + > + nand@0 { > + reg = <0> Missing ; > + nand-ecc-mode = "hw"; > + }; > + }; > -- > 2.7.4 >