From patchwork Sat Apr 23 14:38:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Zhou Yanjie X-Patchwork-Id: 12824583 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E54DC433F5 for ; Sat, 23 Apr 2022 14:39:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229584AbiDWOmE (ORCPT ); Sat, 23 Apr 2022 10:42:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229521AbiDWOmB (ORCPT ); Sat, 23 Apr 2022 10:42:01 -0400 Received: from out28-170.mail.aliyun.com (out28-170.mail.aliyun.com [115.124.28.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36317205D9F; Sat, 23 Apr 2022 07:39:02 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.317403|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_system_inform|0.00683105-0.000581991-0.992587;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047211;MF=zhouyanjie@wanyeetech.com;NM=1;PH=DS;RN=15;RT=15;SR=0;TI=SMTPD_---.NWMtVQC_1650724726; Received: from zhouyanjie-virtual-machine.localdomain(mailfrom:zhouyanjie@wanyeetech.com fp:SMTPD_---.NWMtVQC_1650724726) by smtp.aliyun-inc.com(33.37.75.176); Sat, 23 Apr 2022 22:38:57 +0800 From: =?utf-8?b?5ZGo55Cw5p2wIChaaG91IFlhbmppZSk=?= To: broonie@kernel.org, robh+dt@kernel.org, krzk+dt@kernel.org Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, devicetree@vger.kernel.org, paul@crapouillou.net, contact@artur-rojek.eu, dongsheng.qiu@ingenic.com, aric.pzqi@ingenic.com, rick.tyliu@ingenic.com, sernia.zhou@foxmail.com, zhenwenjin@gmail.com, reimu@sudomaker.com Subject: [PATCH v3 0/3] Improve SPI support for Ingenic SoCs. Date: Sat, 23 Apr 2022 22:38:42 +0800 Message-Id: <1650724725-93758-1-git-send-email-zhouyanjie@wanyeetech.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org 1.Add support for using GPIOs as chip select lines on Ingenic SoCs. 2.Add support for probing the spi-ingenic driver on the JZ4775 SoC, the X1000 SoC, and the X2000 SoC. 3.Modify annotation texts to be more in line with the current state. v1->v2: Use "device_property_read_u32()" instead "of_property_read_u32()" as Paul Cercueil's suggestion. v2->v3: Remove unnecessary "dev_warn()" as Paul Cercueil's suggestion. 周琰杰 (Zhou Yanjie) (3): SPI: Ingenic: Add support for use GPIO as chip select line. dt-bindings: SPI: Add bindings for new Ingenic SoCs. SPI: Ingenic: Add support for new Ingenic SoCs. .../devicetree/bindings/spi/ingenic,spi.yaml | 3 ++ drivers/spi/Kconfig | 4 +- drivers/spi/spi-ingenic.c | 47 +++++++++++++++++++--- 3 files changed, 47 insertions(+), 7 deletions(-)