Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3520577pxb; Mon, 4 Apr 2022 19:43:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxObFxZSl9UapqlnNb3EG0qGpW/WZCqe38t/wW5OpIB5pELu4hnowVGS9qtVkOiEIXttA/M X-Received: by 2002:a17:902:c408:b0:156:96d1:1744 with SMTP id k8-20020a170902c40800b0015696d11744mr1166143plk.134.1649126596960; Mon, 04 Apr 2022 19:43:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649126596; cv=none; d=google.com; s=arc-20160816; b=u4zfMTPemxi30x6/8AD5COFFjSqaJvoE0zRTd+0+PbFcGf0ZI7Cw0VKXh4pL9FF3KU //0m1fPthKqZu5p+zvB8B9rmF28OMUVPoIe1Ow4pcSF5dVlcBWHXJH85Lv16+Q4AAlLy NE/6iDAYr9ZAwHD4jK7A8AcTYGG6XpohTwsJ3ppDXTT8NVvRDIwoCku14nEN9ZVjLwmb /QsLS1hs7XLLtFK/LzWS+cxhS/dzGXYapx0PU030WztX7yb4ki5uhzb5bAETwkLRUOpz wpBRmtNsXoDUUgTUKvsxVV1EafgFoI75+JIOm685RBjTP93TN+ns99dS+8z5RAEkVu44 ewlg== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=d8lIwh8tiIkMFx11fFktp0oGVk3nbpQUUWnZgWL5Jnc=; b=ZrgNHnB14s7Nirfr+ep7k01rCabNjbCwQEGqs5zE2TgrBy9YIP6dVf1EW+KGqus5BU lwR7PFP6owrjMU9zjnU/Y5Q3bLy5Ojo/HtpeEu+mhquMNJRa1cCFk1cYr8R7h+h8Dthi P/bamNPUethJFKfMymwAqSe1JYvY5WoawJy+eBLjlIOrQNooffUn5wZaVStJlqedkwuN 6hE8G1ranTKdTbmJJndwg6AfYXwT1SDQtlk9QHsrn0a3aFrYcSv6g6UpHQdiNc5NQejZ qEkDptiIqCpTJpXZc45s4Bfo1S2nx58H7hAh0QV+weP3fJ2koEbfp82MzCZja6OosAi7 JDAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W+UEgv5U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id s21-20020a656915000000b003992df139b6si3746061pgq.64.2022.04.04.19.43.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 19:43:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W+UEgv5U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4AFBB129E87; Mon, 4 Apr 2022 18:06:42 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358737AbiDDNvy (ORCPT + 99 others); Mon, 4 Apr 2022 09:51:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353627AbiDDNvx (ORCPT ); Mon, 4 Apr 2022 09:51:53 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C502314002 for ; Mon, 4 Apr 2022 06:49:56 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id r7so5974560wmq.2 for ; Mon, 04 Apr 2022 06:49:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=d8lIwh8tiIkMFx11fFktp0oGVk3nbpQUUWnZgWL5Jnc=; b=W+UEgv5UP7GXJYs7QCG6QtMn7aXfPo+PDkNKW5aMvKgZsee9uyRmczhK/6PCLslrKm tSzbF8FkOxo4jSezbxKMnPAHm/lARrn+xP0kN/gp6snbd9diecPFDLZmy5bU1lqRS+cQ iOFJp0xD4OiAfjWsb3KoT0vqhIyIwBq+QcdJjrIMveCI7SKroJ0jKwEXOFnLozRJWrf9 7VVizkFvRzvR5UF/2b0g42XataFHeKD0pzFn+5W44xkDBWHaiOmNwtMW+K0/yjeAdZpZ 8/J///8nE3oojWSxI1Kon5NFJP6beXJd57Zd8RrkepeKE/GgEdQaBrSmx3aDRP2wzM/X xKyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=d8lIwh8tiIkMFx11fFktp0oGVk3nbpQUUWnZgWL5Jnc=; b=c7kacvEpZ3KdrbYBTCA4eepdbkgkZvubbBVjOUmO9lTUvocN2bzoRkC9sNycbkerxA YTb499w2NkUmy5NNgipzxhWl8AW0Rp8x5d0ZN/M3lzMtaF0Emdy7/VwDhVRuHimqAZVD rFxAgK/qt652w6T/nnunCvL/VQose+RxaRf6wexx8Iwt46HRjq7+fewL5EGrCG230p8C YIPo7tKYIMli3AK1XBgN3a3r8TN8Xdkvq7Dq4Z/fAY7XRCkzBoSp2wogA9sRngD7ZZ2N SSC6cBNWbzHXznU9bybCPNKWWe0nA6BNMbaH5ubST5L5LiTiVAd4kV9Nq+YMUF3JhBPH u+Dw== X-Gm-Message-State: AOAM533P4J4mwZ7CW/xBxc23FMQqtWirqB6QbViS5HDr0XnRTeiaMLw4 pNkdHATyT8arnNeFt+iLOPOuMQ== X-Received: by 2002:a1c:7715:0:b0:380:ed9b:debd with SMTP id t21-20020a1c7715000000b00380ed9bdebdmr19498320wmi.54.1649080195394; Mon, 04 Apr 2022 06:49:55 -0700 (PDT) Received: from [192.168.0.176] (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id f18-20020a5d6652000000b001e669ebd528sm9306837wrw.91.2022.04.04.06.49.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 Apr 2022 06:49:54 -0700 (PDT) Message-ID: Date: Mon, 4 Apr 2022 15:49:53 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v2 4/5] dt-bindings: spi: add binding doc for spi-mtk-snfi Content-Language: en-US To: Chuanhong Guo , linux-spi@vger.kernel.org Cc: Mark Brown , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Roger Quadros , Thomas Bogendoerfer , Cai Huoqing , Florian Fainelli , Colin Ian King , Wolfram Sang , Paul Cercueil , Pratyush Yadav , Yu Kuai , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/Mediatek SoC support" , "moderated list:ARM/Mediatek SoC support" , open list , "open list:NAND FLASH SUBSYSTEM" References: <20220404040153.1509966-1-gch981213@gmail.com> <20220404040153.1509966-5-gch981213@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20220404040153.1509966-5-gch981213@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 04/04/2022 06:01, Chuanhong Guo wrote: > Add device-tree binding documentation for Mediatek SPI-NAND Flash > Interface. > > Signed-off-by: Chuanhong Guo > --- > > Changes since v1: > 1. add a blank line between properties in dt binding doc > 2. rename ecc-engine to nand-ecc-engine for the generic properties > > .../bindings/spi/mediatek,spi-mtk-snfi.yaml | 88 +++++++++++++++++++ > 1 file changed, 88 insertions(+) > create mode 100644 Documentation/devicetree/bindings/spi/mediatek,spi-mtk-snfi.yaml > > diff --git a/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-snfi.yaml b/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-snfi.yaml > new file mode 100644 > index 000000000000..7d57570ad617 > --- /dev/null > +++ b/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-snfi.yaml > @@ -0,0 +1,88 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/spi/mediatek,spi-mtk-snfi.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: SPI-NAND flash controller for MediaTek ARM SoCs > + > +maintainers: > + - Chuanhong Guo > + > +description: | > + The Mediatek SPI-NAND flash controller is an extended version of > + the Mediatek NAND flash controller. It can perform standard SPI > + instructions with one continuous write and one read for up-to 0xa0 > + bytes. It also supports typical SPI-NAND page cache operations > + in single, dual or quad IO mode with piplined ECC encoding/decoding > + using the accompanying ECC engine. There should be only one spi > + slave device following generic spi bindings. > + > +allOf: > + - $ref: /schemas/spi/spi-controller.yaml# > + > +properties: > + compatible: > + enum: > + - mediatek,mt7622-snand > + - mediatek,mt7629-snand > + > + reg: > + items: > + - description: core registers > + > + interrupts: > + items: > + - description: NFI interrupt > + > + clocks: > + items: > + - description: clock used for the controller > + - description: clock used for the SPI bus > + > + clock-names: > + items: > + - const: nfi_clk > + - const: pad_clk > + > + nand-ecc-engine: > + description: device-tree node of the accompanying ECC engine. > + $ref: /schemas/types.yaml#/definitions/phandle > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + - clock-names > + - ecc-engine Wrong name. Best regards, Krzysztof