From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9AE4C77B61 for ; Mon, 24 Apr 2023 16:18:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232071AbjDXQSJ (ORCPT ); Mon, 24 Apr 2023 12:18:09 -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-Google-Smtp-Source: AKy350bn6N/FuqwHS0N9uitfDp4zpaNUuskHXzrku67V02VC/o8cVZMjd+m40+pv8Qvhp8DC1RToVg== 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> Precedence: bulk List-ID: X-Mailing-List: devicetree@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 >