Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1528828pxb; Sat, 23 Apr 2022 09:05:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4KuRP/7tcDnT5sAYCqFT8Tb8a/bD/cD1X4puAioLlepJsRCtGfOxLqbwCFePJrbabThAB X-Received: by 2002:aa7:8096:0:b0:50c:e24a:3bf8 with SMTP id v22-20020aa78096000000b0050ce24a3bf8mr10497582pff.29.1650729958000; Sat, 23 Apr 2022 09:05:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650729957; cv=none; d=google.com; s=arc-20160816; b=KkgR/+MoR4/SMraVSzAvRyEddzuOlH+MCnCZ4tnKg1kvI09GPG4x91kDWkk/iuwnHW O1xs91rGMOROk8uVzSmPkgA89F9xKAdWTdYrTbQnLwxQtvKSd5hjtgll2OMbEgalMMPJ OhOlgk1MgHO726OBsqktLVSPIzx2j86xCq00YlFF0y8vsXfK8VtAjY7UBdIbIAtNXlxk oTcyqtm6EdSFo2z6BzVzPGBF1qEnSK/CuCVy/0WwKT8739aOjeBVKPWu29VOJaXC9eUD //9IW3bXMraBplG3SxGtZW3fG7XrrYuNQ9dQQd5vzfA7yU+q+vj2E/d9aGcK5HvSipwx ZWlA== 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=YzCcIN29nkpvI2UER8MH1YJgdnaztNku+DeAKFhxois=; b=sCcXkU9sned0+h0BRTWfBEdMkfmHPmt88CSjIlUJeB0l38HSeU/Vwwk9vYsCkn2YjK N7WeWZlKlAc0tC48+bLKlkFQcoyw4l4gs1dadDgaD0pH8F10QoHuqYC/N9usZ62qBM9f khKPQo3EF40OyrtIEfJkMmR91Ro/MZR5dh5Vbj18TVX+1WnOKTubsZRGbPeQpwE8CYe9 KaD3lkx00uVopvDwONEO0F/DU/2J5Sp2kdZqbMQXu5o+Sy6yxZ1m9QsSv/SNKXTa7m31 79HybkLmmtU/RlbVLoCG2fzEPL5qhRBuC5YoWO1pReW3KDIcqEcWgpKx9gSQHJHxi+8f ylcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=bPS7lQeO; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d26-20020a630e1a000000b0039db9cfb7bdsi12028574pgl.735.2022.04.23.09.05.38; Sat, 23 Apr 2022 09:05:57 -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=@gmail.com header.s=20210112 header.b=bPS7lQeO; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235781AbiDWPn4 (ORCPT + 99 others); Sat, 23 Apr 2022 11:43:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231442AbiDWPnw (ORCPT ); Sat, 23 Apr 2022 11:43:52 -0400 Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86DB229810; Sat, 23 Apr 2022 08:40:54 -0700 (PDT) Received: by mail-oi1-x22d.google.com with SMTP id 12so12295817oix.12; Sat, 23 Apr 2022 08:40:54 -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=YzCcIN29nkpvI2UER8MH1YJgdnaztNku+DeAKFhxois=; b=bPS7lQeO3AQ9qev+LMicfaSd2cBgPI+se275RPpaKqQnwfecEh47E4m9+HnMlB0ezP t6O+ZVYNxjEDkV0BNMRbjM4IEZg+d8uXP/a7Emf+4OabAtCghFGftpb1bWV1mukLZ8qV RmdYuBQUi3GSKaz/iM2CI3M2EvqekDDUQVCXfQEbBLiLMYE7astTlYy5L2VXmKgRzj7B CoF26P+LzBc+1L4r/Xt1dgQnJlw+HDue2aR6QLVbKodN2yN4GD24YRBW4ltHto2V2ytr 5lYcNiReAge0Gp2UGylopYkGkUeXhgvRDOBrifLjOVh7PF9pQeb4wISN00XN+b7O9Vf6 MwfQ== 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=YzCcIN29nkpvI2UER8MH1YJgdnaztNku+DeAKFhxois=; b=hg16LRLjvb1ddbAc7rP3ZOH/MDx/VdY2SiIbNeJv6MhAkT/0B9HUs0lXNhY0cQT2Z0 UNLWnOfEmfbVSZ18lF8XHceyqkuxWvDCpERWCaZHKDauG4Xsdx9vq+UzUols91cnCjzX 2IYUAj/PEnOnRUvRiq1QLkiDP5B8zCya19girCXq+mNv30y2zZnDIvqliwFU0WIv1+C1 1h7cK/z/fFqsgwG0EtwFdX0X8sb1A0Wsp3TmLy+CvjC0STavdlgJr6wCQ+vekmyxTkEQ XBxdDNO7eLXVhHQ6BmlDThdZRcsEnymnsgmapkprwyrOgx3lTV5Ba2S5XV6WMFqbKpuE 210w== X-Gm-Message-State: AOAM530188DCOBOgCKR6fwFQdRDL4aKz6LPBNp8u1rm0N/qmHIX0tvPP udoxDrtYtGxDIl3ErEbzudMlK2PQYVz7EKYwfaKOOqvLhMc= X-Received: by 2002:a05:6808:2396:b0:325:b6e:6cf0 with SMTP id bp22-20020a056808239600b003250b6e6cf0mr943271oib.288.1650728453616; Sat, 23 Apr 2022 08:40:53 -0700 (PDT) MIME-Version: 1.0 References: <20220409120819.3124209-1-gch981213@gmail.com> In-Reply-To: <20220409120819.3124209-1-gch981213@gmail.com> From: Chuanhong Guo Date: Sat, 23 Apr 2022 23:40:41 +0800 Message-ID: Subject: Re: [PATCH v5 0/5] spi: add support for Mediatek SPI-NAND controller To: 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" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Sat, Apr 9, 2022 at 8:08 PM Chuanhong Guo wrote: > > Mediatek has an extended version of their NAND Flash Interface which > has a SPI-NAND mode. In this mode, the controller can perform 1-bit > spi-mem ops for up-to 0xa0 bytes and typical SPI-NAND single, dual > and quad IO page cache ops with 2-byte address. Additionally, the > page cache ops can be performed with ECC and auto data formatting > using the ECC engine of the controller. There are two missing register configurations in this series. It wasn't affecting me back then because the bootloader set them for me. I'll send a v6 soon. -- Regards, Chuanhong Guo