Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3447422pxb; Mon, 4 Apr 2022 17:16:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4C1PnXv1ybFK4lzf5ABOhKVFQFc5de/tUb0CJ4aOELs/07gM0bUQcEKkPk7J40mTECAIa X-Received: by 2002:a65:6e87:0:b0:380:a1ef:a9be with SMTP id bm7-20020a656e87000000b00380a1efa9bemr619834pgb.284.1649117805718; Mon, 04 Apr 2022 17:16:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649117805; cv=none; d=google.com; s=arc-20160816; b=mRvHoktYukwPrIlGcHVRsiCWImylOwuVhpfyTqQB0pUQdW8dD0E+lsvz2AKZ/+kQWF WcRlpns64P9vc/Lf6eKEMDSkAgsmQWl5bfOTZqXDXxlsrqsuVrfYMPpwoFZv1XHtQiS9 U5Ac8fqBOs0lc1A9RWfyqIkbJj9I/kaY7QB2502/os9d89ArXFMWwo6/SCDlZa9XAE/+ 6tXEYiQiLcAagPIxBDjVnJDP6ZYwQFYkUV96tlZlhEBSmZcqSpoexVhfHuRiVw3zrJMf pnIC5++ePzk6zN/RzpceXRpahOUnKX3vAGnBKnQk82IpweoSB9VhJRY1MPnS4pfOtl6x 7SLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=pGyUTVKMo02GKY33McJFWCWUIseC1H085Y7lLhijdJc=; b=F0ZwYiF9SQFJcStMYjAZCW40ZPTgFMsHummxrA9lRcvLXl0zxuJbMJhd5uhRgyQK1/ DBtkTP3p3qyIxSmoDKNqBq1SzEWxrx41zQ/tazSxvzjRYppICsep2oiuFDt5RQbtElnE 0Qk7EummFSaZLizk0jowwhbM2YV1gB6SNu+glruXZ47fiwSrYU+kaS/O6N0XXXdX5j4x 6iP0soUqhFGyQPG0AZmCMj5ctJzkVbkQaftKkHpGGHh1vJ3pQsujwu7Uv6mKrq2LotkX 3TaXv5LDP0erNvCYLPPJnU+XNcxww7aOmelFBy61SMTb5ZWAcvYeaNDH6xNH1vggayzf wWVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=JJ49hrhh; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id y7-20020a631807000000b00399322fc262si3722244pgl.663.2022.04.04.17.16.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 17:16:45 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=JJ49hrhh; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BB77EC65; Mon, 4 Apr 2022 16:44:43 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359397AbiDCPsa (ORCPT + 99 others); Sun, 3 Apr 2022 11:48:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233356AbiDCPru (ORCPT ); Sun, 3 Apr 2022 11:47:50 -0400 Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9D74326FA; Sun, 3 Apr 2022 08:45:55 -0700 (PDT) Received: by mail-io1-xd31.google.com with SMTP id h63so8510033iof.12; Sun, 03 Apr 2022 08:45:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pGyUTVKMo02GKY33McJFWCWUIseC1H085Y7lLhijdJc=; b=JJ49hrhhVCU0Gm4xCQ9lxBgLf18xe1UJ+WIknacd4WCSYkq9OE+B9VSOCHU/aapJ42 PErCF4OxA2tknmH61SbcGBcBz9PY2jJ8WsPBzzijTA3Oeadw+u5uWnWyLO4Z+kPQp8mJ Dnqfw854vABsmSSuhmzZm4boVh56jQAqt/T0rO+/E0NRfGIDD7SbUorHRsWIDxiWMXb1 tOWjF6Yy0K31uQ5XfNp2Y6eN+cqV2EbdIcdfIvMw9VxcS5zBS33xAHRXAHWd2uV4hl1p /bvsYK7MGOl0tzu8cyPK4MN5OaShYICYs7ZN7PFc0XZd7QsS/9/yHHAxSQz6F229znE0 K2+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pGyUTVKMo02GKY33McJFWCWUIseC1H085Y7lLhijdJc=; b=S200oOhb8tkdTRGclsQ2ysQ0ITgBprcgHckQP8cdlyvZ9QmCtdyWKtrEmcAJNedNKp 7M4Lu5+efuGx0vffglICGXUMCWe5m5/o4LHdqQtKwrPgSNOwgvwd40z1qD/bcD3KI3SZ TbQb6QkUf9bd25ZRLQOJKRUJdRiiLR559gYuJ1rjmX1CHpmo01RYiNaaugzrLGqBDqhn EmuNUOnCBBcinjrAbLN7xIpmdDCGFGB5UYhxXn0WTQMXxOB2LwPtCeCxhze3V/jlxtLQ gCv+Nq4WqrHTlOoxviBf4c9bi8glcSsivSiY0bIZKqwg4Q6Vf5CCUU8/oiG/Fbl8qbZG lBiQ== X-Gm-Message-State: AOAM5328NDgl77fhnpc3hMLm0x8+UC7sYrDxx9y8mHEishUEGm5yjZQo 67IJZbvLFdKx1dfX9FAjpie9ZNmhvLJMivixIXs= X-Received: by 2002:a5e:9302:0:b0:648:c246:291 with SMTP id k2-20020a5e9302000000b00648c2460291mr3633567iom.88.1649000755209; Sun, 03 Apr 2022 08:45:55 -0700 (PDT) MIME-Version: 1.0 References: <20220403131154.1267887-1-gch981213@gmail.com> <20220403131154.1267887-4-gch981213@gmail.com> <817dda10-39db-adfc-376d-a3d5e037937e@linaro.org> In-Reply-To: <817dda10-39db-adfc-376d-a3d5e037937e@linaro.org> From: Chuanhong Guo Date: Sun, 3 Apr 2022 23:45:44 +0800 Message-ID: Subject: Re: [PATCH 3/4] dt-bindings: spi: add binding doc for spi-mtk-snfi To: Krzysztof Kozlowski Cc: linux-spi@lists.infradead.org, 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:SPI SUBSYSTEM" , "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" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,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 Hi! On Sun, Apr 3, 2022 at 11:37 PM Krzysztof Kozlowski wrote: > [...] > > + compatible: > > + enum: > > + - mediatek,mt7622-snand > > + - mediatek,mt7629-snand > > One blank line, please. I'll fix this in the next version. > > > + 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 > > + > > + ecc-engine: > > The nand-chip.yaml defines a nand-ecc-engine, so how about using that > one? I know mtk-nand.txt uses ecc-engine, but for new schema better to > use properties from existing YAML. The ecc-engine code is shared between mtk_nand.c and this driver, and the property name is defined in the shared part. I left it as-is so that existing dt for mtk_nand doesn't break. -- Regards, Chuanhong Guo