Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp805332imi; Fri, 22 Jul 2022 09:51:13 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v1jZcfwHZbZCtwn0dX+mkFpjppHuX1uaGpeh8LOEN63Hyd6UGr5tAIygBd3BtDBjt+R2S4 X-Received: by 2002:a17:902:714c:b0:16d:1ae4:dbef with SMTP id u12-20020a170902714c00b0016d1ae4dbefmr463675plm.48.1658508672732; Fri, 22 Jul 2022 09:51:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658508672; cv=none; d=google.com; s=arc-20160816; b=ZKALlyu8RYUC5iKhH1QMQaFyDdbKVJAzHlDGx6oSO8Y+Oe1D4KKy480P0+2FRLU1gr /FheOT3nWYP5VC6bcCWPWnGphepBc8CrOLgFirSKOfJAEEu9cTtBGPZUnmjirQ8FGYHy U0+2mg6Z3BBUwOOgOg0nmy8ot4F2OdgSS/ZHnrMmjnIn8X9eYn97LbqNz8AOxNgmY50T uy3dQKIwyUAuN+BIYhxY644oKxma0B+M4VUVsWPX6ZbRZAxnYDrcU3MzjVxighBBYbSw m3pPPcI940A7FCrU++KI7/fe8DMJkF1kR1mj28GzcfSP165rx90aFuaQEszeOZE0xt+V 8s7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=p6tQQUhNItT41GemSfcgdPDimPHdRLI8pYDpb2dWrQo=; b=hAUOOe7kI5N0jkx/ygUTu3qZeNr5Wd1x9sWAhoZipOS66ma4IVOwDw7Yo8xOPxmQQA ClpJeQINIDFuqHjpKpsnVYlyqyF6IkNHhz1pIfQx+pCCUphwFNb7VhLZS+6xgfrrVf9k OpiZr32jZossTE+lTXqcMOR2LhlQ0vbas/TDilwFdLS5/KC8jxEsR9Z3ZZ+WWY78Ekt7 bRcSzlRff29So+xw+9KikeQNZHUq9hJkT4y/RxVcRjqpsahxqNuXwMTJl+ILCQUUqYTe vPCWFZe+4DI7DDhKlqMfBVfSnLgumOLP/I+c+yCjQC1JzBWrHPjTjtMZeelIXQlk8AFf bMXw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j65-20020a638b44000000b0041a43bffbaasi5795780pge.866.2022.07.22.09.50.57; Fri, 22 Jul 2022 09:51:12 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233193AbiGVQs6 (ORCPT + 99 others); Fri, 22 Jul 2022 12:48:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229771AbiGVQsz (ORCPT ); Fri, 22 Jul 2022 12:48:55 -0400 Received: from out28-148.mail.aliyun.com (out28-148.mail.aliyun.com [115.124.28.148]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C29C993C0E; Fri, 22 Jul 2022 09:48:52 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.2783662|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_system_inform|0.00548407-0.00159274-0.992923;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047201;MF=zhouyanjie@wanyeetech.com;NM=1;PH=DS;RN=23;RT=23;SR=0;TI=SMTPD_---.Ob0cn8C_1658508518; Received: from localhost.localdomain(mailfrom:zhouyanjie@wanyeetech.com fp:SMTPD_---.Ob0cn8C_1658508518) by smtp.aliyun-inc.com; Sat, 23 Jul 2022 00:48:47 +0800 From: =?UTF-8?q?=E5=91=A8=E7=90=B0=E6=9D=B0=20=28Zhou=20Yanjie=29?= To: tudor.ambarus@microchip.com, p.yadav@ti.com, michael@walle.cc, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-mtd@lists.infradead.org, linux-spi@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, aidanmacdonald.0x0@gmail.com, tmn505@gmail.com, paul@crapouillou.net, dongsheng.qiu@ingenic.com, aric.pzqi@ingenic.com, rick.tyliu@ingenic.com, jinghui.liu@ingenic.com, sernia.zhou@foxmail.com, reimu@sudomaker.com Subject: [PATCH 0/3] Add SFC support for Ingenic SoCs. Date: Sat, 23 Jul 2022 00:48:27 +0800 Message-Id: <1658508510-15400-1-git-send-email-zhouyanjie@wanyeetech.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY 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 1.Use the spi-mem poll status APIs in SPI-NOR to reduce CPU load. 2.Add SFC support for the X1000 SoC, the X1600 SoC, and the X2000 SoC from Ingenic. Liu Jinghui and Aidan MacDonald provided a lot of assistance during the development of this driver. 周琰杰 (Zhou Yanjie) (3): mtd: spi-nor: Use the spi-mem poll status APIs. dt-bindings: SPI: Add Ingenic SFC bindings. SPI: Ingenic: Add SFC support for Ingenic SoCs. .../devicetree/bindings/spi/ingenic,sfc.yaml | 64 ++ drivers/mtd/spi-nor/core.c | 42 +- drivers/spi/Kconfig | 9 + drivers/spi/Makefile | 1 + drivers/spi/spi-ingenic-sfc.c | 662 +++++++++++++++++++++ 5 files changed, 768 insertions(+), 10 deletions(-) create mode 100644 Documentation/devicetree/bindings/spi/ingenic,sfc.yaml create mode 100755 drivers/spi/spi-ingenic-sfc.c -- 2.7.4