Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5819624rwr; Mon, 24 Apr 2023 09:22:26 -0700 (PDT) X-Google-Smtp-Source: AKy350ZanBvSHn73lW6nIkJNjoGYOHlvFtJBrgt0s3xLMfA09AKs5uySfkmM0PO9O2UhZfx6R9Mg X-Received: by 2002:a17:902:ea02:b0:1a9:7622:e308 with SMTP id s2-20020a170902ea0200b001a97622e308mr5368431plg.20.1682353346008; Mon, 24 Apr 2023 09:22:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682353345; cv=none; d=google.com; s=arc-20160816; b=Q+5Ygba2yTLzEbUJuvV1mGYooZzNKiOD0ShKmI7TkAI80dVMVNfW3sjQXU1P1MLKIO LIr3jxm0KF8pC+qYV0qZUxIf5G7qOBHb1AXGAXlW0ZJCurX97oklpOnALSCt9ERJCUAL eQyJP7DCoY2BfclOorK0R/fmYa8yXajIBykBmP/5VM4wJDrjFL3mXG6ksHexMAcRgaam /U+o6M55dkKvYt9fn4R9B5tBQ1QWIM/I9W+Sye8SkuKjFNhks7jYFZB4xn1zbcjbyl6V 7dUCxB8cdHktpv1j4GzbN4LFY8F6hpEfPZj/0OG2V0zZqgbn3DbuEpZl6zEZg1rpW8Ef lNlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=7ef/nUWAo93ykxRt/lNEQT+96fr8F/oVSX+sFEFLjUo=; b=uJs3o4Z9OaScUlbw7R9k+uIi1H37wYYFCauxYS9MdrLISn2t/+my9U3c48pLhSdQb7 6R6ObF4dX2Gl6OvBo2JXHMksq43+iRO1f1uAWN6EPxb7g9m/cOzCEHbcLW8M058OCKGk FCuBqhIOTKUbJhwCU+V/jWLvQkdiV/ME4DS7sk24+P9zXAHhKASJCzNuPUhp15vEVFGy rFEjRCAkmhG/yioqAh4TBUK+HG9afEFYvBZiD6f+AcF9oMPvUaYhfLCaftFFzXhbzFjO Lutc2bkbVNv1V066F6Ccd4a3LV3xGxAb4rnc4f4vmw6VW5HEjBAicZ7xd41+/+pNF55n dw+g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g2-20020a170902934200b0019f2cd99ddfsi10741235plp.380.2023.04.24.09.22.12; Mon, 24 Apr 2023 09:22:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S232140AbjDXQSK (ORCPT + 99 others); Mon, 24 Apr 2023 12:18:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231716AbjDXQSG (ORCPT ); Mon, 24 Apr 2023 12:18:06 -0400 Received: from mail-oi1-f177.google.com (mail-oi1-f177.google.com [209.85.167.177]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 711857D8C; Mon, 24 Apr 2023 09:18:00 -0700 (PDT) Received: by mail-oi1-f177.google.com with SMTP id 5614622812f47-38e9dfa543bso1055795b6e.2; Mon, 24 Apr 2023 09:18:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682353079; x=1684945079; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=7ef/nUWAo93ykxRt/lNEQT+96fr8F/oVSX+sFEFLjUo=; b=TjYi1DuO87raHq/EkuR7r5/crNC0V2WOTtso+Bghc+U1srzoZZCzGdt8l5KBqDY2cy QbRXe1qFFlKa3qisuD5Ga3bVQel2chL8gSgKxyAcL6niqHCOwbPnqsSoEV5F5TL9oocx afIGvOzGRaELRkmAktt5s7ZjpVk5EbswnKeoVo9IDWthSV0UJb/kG1G+cTFEZOtw3l+2 FTjaIFHmeZf9/iwKquPLuBA82ak1t+1rpYIFJ7tOR8gPRula/T8VKXK94nf8gNpeVevZ Bk6qadKrsTfXKtZgAj0Jlzr7hESvEgFqjcbnaUwTa0c5zFqTsAcInYU0ulwXwc0In7/L fZLg== X-Gm-Message-State: AAQBX9fi5Lw2ApWItvELqjgZ0QlwaQbspgngrs+9THMDGh0zlo/HuR/0 /T/YKx8Dk/cFYrwBaW+uFA== X-Received: by 2002:a05:6808:d46:b0:38c:ec:8b0f with SMTP id w6-20020a0568080d4600b0038c00ec8b0fmr8454350oik.16.1682353078268; Mon, 24 Apr 2023 09:17:58 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id z8-20020aca3308000000b0038c35f512a2sm4730805oiz.56.2023.04.24.09.17.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Apr 2023 09:17:57 -0700 (PDT) Received: (nullmailer pid 2768718 invoked by uid 1000); Mon, 24 Apr 2023 16:17:56 -0000 Date: Mon, 24 Apr 2023 11:17:56 -0500 From: Rob Herring To: Nikita Shubin Cc: Arnd Bergmann , Linus Walleij , Alexander Sverdlin , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Krzysztof Kozlowski , Lukasz Majewski , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 22/43] dt-bindings: mtd: add DT bindings for ts7250 nand Message-ID: <20230424161756.GG2701399-robh@kernel.org> References: <20230424123522.18302-1-nikita.shubin@maquefel.me> <20230424123522.18302-23-nikita.shubin@maquefel.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230424123522.18302-23-nikita.shubin@maquefel.me> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 24, 2023 at 03:34:38PM +0300, Nikita Shubin wrote: > Add YAML bindings for ts7250 NAND. > > Signed-off-by: Nikita Shubin > --- > .../bindings/mtd/technologic,nand.yaml | 56 +++++++++++++++++++ > 1 file changed, 56 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mtd/technologic,nand.yaml > > diff --git a/Documentation/devicetree/bindings/mtd/technologic,nand.yaml b/Documentation/devicetree/bindings/mtd/technologic,nand.yaml > new file mode 100644 > index 000000000000..3234d93a1c21 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mtd/technologic,nand.yaml > @@ -0,0 +1,56 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mtd/technologic,nand.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Technologic Systems NAND controller > + > +maintainers: > + - Lukasz Majewski > + > +properties: > + compatible: > + items: > + - const: technologic,ts7200-nand > + - const: gen_nand Not a useful compatible. > + > + reg: > + maxItems: 1 > + > + '#address-cells': true > + '#size-cells': true > + > +required: > + - compatible > + - reg > + > +unevaluatedProperties: true No, 'true' is not allowed here. > + > +examples: > + - | > + nand-parts@0 { > + compatible = "technologic,ts7200-nand", "gen_nand"; > + reg = <0x60000000 0x8000000>; > + #address-cells = <1>; > + #size-cells = <1>; > + > + partition@0 { > + label = "TS-BOOTROM"; > + reg = <0x00000000 0x00020000>; > + read-only; > + }; > + > + partition@20000 { > + label = "Linux"; > + reg = <0x00020000 0x07d00000>; > + }; > + > + partition@7d20000 { > + label = "RedBoot"; > + reg = <0x07d20000 0x002e0000>; > + read-only; > + }; > + }; > + > +... > -- > 2.39.2 >