Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp389790rwd; Thu, 1 Jun 2023 01:28:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7QwVH/G98mUvfa5FpBwsJKkNx/3EG7WjJdat1Vl+VQrC0pYeEFGTY3wyE9MmrrGEi3U/F3 X-Received: by 2002:a17:90b:1c0d:b0:256:6bbc:51b1 with SMTP id oc13-20020a17090b1c0d00b002566bbc51b1mr8262457pjb.17.1685608120312; Thu, 01 Jun 2023 01:28:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685608120; cv=none; d=google.com; s=arc-20160816; b=HMzQ4qKZ0RIc6jITo1zPpiQ7WVVQ8uNWb3rZaAhIcBCaoJ3NjLWMrEVf/htqKREAWm 3n/JFfJULcOKGlbVLYDMqE1rAaKyQixV9WXaNtL6fAonxuYixcYG3njGtJak26JEmZdx HpXzrZ9OLk7hfzepnFHZ/7ZFpRhXGIEldYlaAmOKADrd1M3kyu2rS+DsYJP1jlF6jbqG fEU/KKqfRSobKew8wJwR2QW2yDbipUbZ1ZI4ohYpRcCCGDgou3zCrVSdDCz6pEXIhZEb 7h6BgMGcY/KWQUZfq9cXzVuDJcQi5oHmjRgcDrUrvYLgkKXsAR15iDC+vvQBvdyv85ua 9xXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=a/aAPNbwdm0BPn5PUgLp4hktWQaK2+uFNT4kN1UiiV4=; b=d4vR0Z1AOTdxGRkD4WtpH/fXzdv98FBXgKDh2IatRNclg3/esuFTQR8NHdS97JU75X RdfkScBYAxaJp39e6Fy33c5dslC54DoVZMfMwyFsruDPvQsJ1HCh9fc7FcFrWubmPmzn dYxrfY0MOiPJvCtLXIPYyWWhY6rhSnGw1sBzqhEOhLzdY13Ul0axAm3Q7+SAao7/Bnrd tUCsA7xVNXSjpMPrFRO284Mb9wG3AtZ63qGHpUhFXeaSTDacco6pzLlnAkwZrYCmfAtZ cHB+FpEpw5zKZgyKz93kxSyXtHKf144qwiDKT5gPO1pp8SKj2posTQTtTZ2BY2ZBTFV7 mJsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=noBu4GFo; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j10-20020a17090aeb0a00b0023d23393318si784619pjz.55.2023.06.01.01.28.25; Thu, 01 Jun 2023 01:28:40 -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; dkim=pass header.i=@linaro.org header.s=google header.b=noBu4GFo; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231942AbjFAIL6 (ORCPT + 99 others); Thu, 1 Jun 2023 04:11:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231268AbjFAIL5 (ORCPT ); Thu, 1 Jun 2023 04:11:57 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F20DEC0 for ; Thu, 1 Jun 2023 01:11:51 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-96ff9c0a103so67610266b.0 for ; Thu, 01 Jun 2023 01:11:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685607110; x=1688199110; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=a/aAPNbwdm0BPn5PUgLp4hktWQaK2+uFNT4kN1UiiV4=; b=noBu4GFo9o3K31KSzM6zLXaqNSmfMChm9oSwgyqduSqkh+q29FAY/1uCqxBNWnDE43 d36A38bwZ64J5xryHZzKKXCirlaQPolkLgkuTj3Pb7gf1KSetTMW6TL4DCTmrrW0YJCJ 8kFPneS+nrSiGsbgg1frnaP32OKmvDUSmXcwWQsIkWpQG7F5TJEHIb9rX8VXJf/dwQo+ uIOloDXkzuvmT7sLEkHBgH1woFhKHNTWj/nNRvpvGNJ3RenBcG6vT5LEoOrU5+vWiYMM d9ozFrKUIgtc++4ieYsff8RQrU482JbaPkGCCgQC+n2nE72CBBvN8GvSQCLHXoIKZM6O D8VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685607110; x=1688199110; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=a/aAPNbwdm0BPn5PUgLp4hktWQaK2+uFNT4kN1UiiV4=; b=VjqNlkXOQZ7lvps/Tb5Woq8q8yhiWqJX/M9P6YMZH6P1KArDoZkoZVVIKrhGiGqQei dsIw938a1WT5CdNKFHTaH+fd3E/RA+i6dotXVNmnBCSQ8O7vkal/ctFCcmzrasPp/xrr rwD2/XSQlkq9KKnNo3K8JVn6nBsmW+y/cHe+8qWNIByDyzwLFMaKmRNhrARXdyUfLIxc 1iJQev/CoQIvoBuAIw2wwtdbL0bSy0SkMNVLb1jR1UkdkVAHuSDujYHSxrks4y11ptL2 NgNtyHFQCFTv7JTR3SqKYzJFA/m8r6unSzMqbyzJ8aoRMPZZ1EBt1/NT2uKpavmYaMEJ vfJQ== X-Gm-Message-State: AC+VfDx+v4uUkBMEGPBHogVmh9axEx050QLyVm3iHb7pJejzlvHlf3Wj kpb/zFZ7rf/zcHWyreGNlQETxBR6e21V5ZeWJw8= X-Received: by 2002:a17:907:7b92:b0:96a:52e:5379 with SMTP id ne18-20020a1709077b9200b0096a052e5379mr7774277ejc.63.1685607110379; Thu, 01 Jun 2023 01:11:50 -0700 (PDT) Received: from [192.168.1.20] ([178.197.199.204]) by smtp.gmail.com with ESMTPSA id l17-20020a1709067d5100b0096f72424e00sm10129750ejp.131.2023.06.01.01.11.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Jun 2023 01:11:49 -0700 (PDT) Message-ID: <65124d19-474a-ce95-2cb3-bb8273a8e3b7@linaro.org> Date: Thu, 1 Jun 2023 10:11:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v1 23/43] dt-bindings: mtd: Add ts7250 nand-controller To: Nikita Shubin , Alexander Sverdlin , Arnd Bergmann , Linus Walleij , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski Cc: Michael Peters , Kris Bahnsen , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230424123522.18302-1-nikita.shubin@maquefel.me> <20230601054549.10843-5-nikita.shubin@maquefel.me> Content-Language: en-US From: Krzysztof Kozlowski In-Reply-To: <20230601054549.10843-5-nikita.shubin@maquefel.me> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 01/06/2023 07:45, Nikita Shubin wrote: > Add YAML bindings for ts7250 NAND Controller. > > Signed-off-by: Nikita Shubin > --- > > Notes: > v0 -> v1: > > make it a nand contoller > > .../bindings/mtd/technologic,nand.yaml | 47 +++++++++++++++++++ > 1 file changed, 47 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..26d1d9c3331d > --- /dev/null > +++ b/Documentation/devicetree/bindings/mtd/technologic,nand.yaml > @@ -0,0 +1,47 @@ > +# 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: > + - Nikita Shubin > + > +allOf: > + - $ref: nand-controller.yaml > + > +properties: > + compatible: > + oneOf: > + - const: technologic,ts7200-nand > + - items: > + - enum: > + - technologic,ts7300-nand > + - technologic,ts7260-nand > + - technologic,ts7250-nand > + - const: technologic,ts7200-nand > + > + reg: > + maxItems: 1 > + > + '#address-cells': true > + '#size-cells': true Except what Miquel wrote - drop these two. > + > +required: > + - compatible > + - reg > + > +unevaluatedProperties: true > + > +examples: > + - | > + nand-controller@60000000 { > + compatible = "technologic,ts7200-nand"; > + reg = <0x60000000 0x8000000>; > + #address-cells = <1>; > + #size-cells = <0>; Incomplete example. address/size cells do not make sense here alone. Finish the example. > + }; > + > +... Best regards, Krzysztof