Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp804093ybm; Fri, 29 May 2020 12:34:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/LtpkN0Hxr0iO83KLDiSpUajb52edT9PkMsXKr/+OcqIF//OcGOsxCDsgxdL3OcUdMLQs X-Received: by 2002:a17:906:ac3:: with SMTP id z3mr2913616ejf.311.1590780869983; Fri, 29 May 2020 12:34:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590780869; cv=none; d=google.com; s=arc-20160816; b=RYdLoaJEWfMSqkzTfJAgdWNWQYVpjgXqgVqU8I3SIZXNdIBucth1lCCtC/lfnlLWD7 bD/LRJYr5o1StkIDi9ND41jCHCCZgwYU7HkQaSrStpPlYG+dBd7lAOif7oGLO0xbV6KA izPQ/nWtM1uo0EDoGu5i2CCYhAYK07bJxPfvXD4jrcNsgNtJs9jPcnIrFlkQ6M+da/pi x5S64+JnZScRaP5d2/XFEVV8Tr39rB+cQIdjfU82iHeO+TaeAiqFd/wWucjOFkpPdP2i dVG0fsk5TTqV3IEP46oxq2cr6X4hpEyz1MGxGAOoa29JDp+9/8VC/lEgoUdgdPW/MGau qzLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=snjj37/YdMHAZOpkk9/RRV5o12QUCoSQOMCE8M28IQg=; b=vWzRkAO11HnoXAThbIgIRjrM0dX5+piTcLMlb1/WNLG+SSaqhv1SOuIXJBZXJZq9vk xYukB80FKWsbniGAHbz60C7NE4HfLuqkEmXJdbnu4BGuveEwsDYmDNSKHEQaT9Wzffbk ALlVPZvEYeeyrA3L41TRE0QOy1QxxuOg/3ezYesmIcdW8h9FWbcRkP7Eyt+yFzRjRy7T WfPm5Mf27yzi+idycMxGlfN48mf6+OjNJpcpgGtQ4/jwGq5Q32WJEFD4eyXCZGKcu7HJ 3mqNeXDevsfGXHiX9wefwiFg+sFMRywpLjC7uSQWxPC9a5A/TI4R/F5aclfyb+lbi81N r4eg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id t24si5922362ejx.566.2020.05.29.12.33.53; Fri, 29 May 2020 12:34:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1728172AbgE2Tbe (ORCPT + 99 others); Fri, 29 May 2020 15:31:34 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:41743 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726866AbgE2Tbd (ORCPT ); Fri, 29 May 2020 15:31:33 -0400 Received: by mail-io1-f65.google.com with SMTP id o5so545089iow.8; Fri, 29 May 2020 12:31:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=snjj37/YdMHAZOpkk9/RRV5o12QUCoSQOMCE8M28IQg=; b=irIPjdrjZeoDOP300tM9f1inJxjL0CvxNEughDC/O94ehQtbKk3m6nAGBS/9ctSDlg VwteBEUT1O5yOh3bgzk6WaB3eYJ1IoNM6RXxmqhuS9da0LBlFnsCvZ+aNUar5jcuPNQ9 /aMuLKBfXSZV1OoScC/v8JRbO7rRJVmhu1TA3QsNwEb4F3JBXsPLUKnjaXQJv4Kikav0 1qnBfMOF8e5jDoDbK2QHvVYjSiuDWNzl1DSn5rHedVb4yqHEN9g2lHbJAwBN2OVygDv9 XW+4rbWCMurxldZm9TyEQfEbImH4UQrhDQQD409FZM0F3YLlhRduvflJMnictS6m6Wa4 L6Kw== X-Gm-Message-State: AOAM5305V6XC0B3RfffMR3l2TOEfU384bPt8Zzo5fWZccfTbs8Pcni+p pEBFdA2HV8oop45h/JMwxQ== X-Received: by 2002:a02:c802:: with SMTP id p2mr8840537jao.111.1590780692506; Fri, 29 May 2020 12:31:32 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id x22sm5300039ill.9.2020.05.29.12.31.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 May 2020 12:31:31 -0700 (PDT) Received: (nullmailer pid 2806583 invoked by uid 1000); Fri, 29 May 2020 19:31:30 -0000 Date: Fri, 29 May 2020 13:31:30 -0600 From: Rob Herring To: "Ramuthevar,Vadivel MuruganX" Cc: linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, arnd@arndb.de, brendanhiggins@google.com, tglx@linutronix.de, boris.brezillon@collabora.com, anders.roxell@linaro.org, masonccyang@mxic.com.tw, linux-mips@vger.kernel.org, hauke.mehrtens@intel.com, andriy.shevchenko@intel.com, qi-ming.wu@intel.com, cheol.yong.kim@intel.com Subject: Re: [PATCH v10 1/2] dt-bindings: mtd: Add Nand Flash Controller support for Intel LGM SoC Message-ID: <20200529193130.GA2805164@bogus> References: <20200528153929.46859-1-vadivel.muruganx.ramuthevar@linux.intel.com> <20200528153929.46859-2-vadivel.muruganx.ramuthevar@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200528153929.46859-2-vadivel.muruganx.ramuthevar@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 28, 2020 at 11:39:28PM +0800, Ramuthevar,Vadivel MuruganX wrote: > From: Ramuthevar Vadivel Murugan > > Add YAML file for dt-bindings to support NAND Flash Controller > on Intel's Lightning Mountain SoC. > > Signed-off-by: Ramuthevar Vadivel Murugan > --- > .../devicetree/bindings/mtd/intel,lgm-nand.yaml | 93 ++++++++++++++++++++++ > 1 file changed, 93 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mtd/intel,lgm-nand.yaml > > diff --git a/Documentation/devicetree/bindings/mtd/intel,lgm-nand.yaml b/Documentation/devicetree/bindings/mtd/intel,lgm-nand.yaml > new file mode 100644 > index 000000000000..afecc9920e04 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mtd/intel,lgm-nand.yaml > @@ -0,0 +1,93 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mtd/intel,lgm-nand.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Intel LGM SoC NAND Controller Device Tree Bindings > + > +allOf: > + - $ref: "nand-controller.yaml" > + > +maintainers: > + - Ramuthevar Vadivel Murugan > + > +properties: > + compatible: > + const: intel,lgm-nand-controller Doesn't match the example. > + > + reg: > + maxItems: 6 > + > + reg-names: > + items: > + - const: ebunand > + - const: hsnand > + - const: nand_cs0 > + - const: nand_cs1 > + - const: addr_sel0 > + - const: addr_sel1 > + > + clocks: > + maxItems: 1 > + > + dmas: > + maxItems: 2 > + > + dma-names: > + items: > + - const: tx > + - const: rx > + > +patternProperties: > + "^nand@[a-f0-9]+$": > + type: object > + properties: > + reg: > + minimum: 0 > + maximum: 7 > + > + nand-ecc-mode: true > + > + nand-ecc-algo: > + const: hw > + > + additionalProperties: false > + > +required: > + - compatible > + - reg > + - reg-names > + - clocks > + - dmas > + - dma-names > + > +additionalProperties: false > + > +examples: > + - | > + nand-controller@e0f00000 { > + compatible = "intel,lgm-nand"; > + reg = <0xe0f00000 0x100>, > + <0xe1000000 0x300>, > + <0xe1400000 0x8000>, > + <0xe1c00000 0x1000>, > + <0x17400000 0x4>, > + <0x17c00000 0x4>; > + reg-names = "ebunand", "hsnand", "nand_cs0", "nand_cs1", > + "addr_sel0", "addr_sel1"; > + clocks = <&cgu0 125>; > + dmas = <&dma0 8>, <&dma0 9>; > + dma-names = "tx", "rx"; > + #address-cells = <1>; > + #size-cells = <0>; > + > + nand@0 { > + reg = <0>; > + nand-on-flash-bbt; > + #address-cells = <1>; > + #size-cells = <1>; > + }; > + }; > + > +... > -- > 2.11.0 >