From patchwork Wed Mar 8 02:59:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yinbo Zhu X-Patchwork-Id: 6277 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp106830wrd; Tue, 7 Mar 2023 19:11:41 -0800 (PST) X-Google-Smtp-Source: AK7set9kJYJYkEyKoqHt+Euj6qPN9+odM2BDYvuiN9PzsO74Oj5kk2tpHd6Cex6BJ9fZSs0A//Sp X-Received: by 2002:a17:906:a3c2:b0:8e1:12b6:a8fc with SMTP id ca2-20020a170906a3c200b008e112b6a8fcmr15884981ejb.4.1678245100885; Tue, 07 Mar 2023 19:11:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678245100; cv=none; d=google.com; s=arc-20160816; b=AjEc9WOhqOCjZlFcLLk+B4jW4pTqAjs7VSYL87UB4TbZBXgAUL/hank2f1Gxyj8//l GEci7ZvsMmBZDcvy8ZlqnlVKAM4OdfDBLG6e2mdZLhGki17LT5EGfPCCDeJkmNDbdZ// b4GiOrAwudA18rNFOkduV09LsvUDCZNAZYSljBiBOJi9GETWeQr7SBpnpijRktVUyjvn s5P8ur56/OMIW8K8Or7os1oUMqZ0+bqOEaC3YC5v4NbnH6UsmntM5ninIZ2KI3t+0uoA UKVme1Q/HTvQoNcL9wbg9s7VLcuRv5IpPjP/HZBwiByoi3dJ59Y74jUm6WVQXBvx8eOI N8tg== 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=4DnUmf3sEgEfO+4v3ESow8Rp7CnaZnwYZkpAqIcDrgM=; b=d3LmckrzVj2nCJeIqmuVlxw8bOdqdT5Iu965BCEbyM+hHq1Y1uIyV4xhgmrQQxIpXk GHUHT5ZePkQ4oqEmWlRgKVHwe+cu3IKARuFe8m781Gu69JhmyzJBOPxGnPZcYsuqSu7a 6f0fK0U8yjqJpwSfcdsTUNC4ZN8guMzGEXRqv8G2+YQGU1TRpni8e9mDF5hGLeEUGM4X pYdRyf6EVl9cnZmhQqJXzWo9U7v1JnVSQJxbVj0rZDi+vVHZv27kHAzWOfJOf1emvFXT ZnyzR6CTtOO8k0mOXkk1JbUNQzsEsmetwvr3jwcdZeh80fSDRfRLYwKdfnec42tYns44 maGA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g5-20020a1709061c8500b008e1cbdcd3basi2227083ejh.998.2023.03.07.19.11.10; Tue, 07 Mar 2023 19:11:40 -0800 (PST) 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 S229812AbjCHC7S (ORCPT + 99 others); Tue, 7 Mar 2023 21:59:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229480AbjCHC7R (ORCPT ); Tue, 7 Mar 2023 21:59:17 -0500 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 62829A2C21; Tue, 7 Mar 2023 18:59:15 -0800 (PST) Received: from loongson.cn (unknown [10.20.42.35]) by gateway (Coremail) with SMTP id _____8CxTNoC+gdkMrIJAA--.1059S3; Wed, 08 Mar 2023 10:59:14 +0800 (CST) Received: from user-pc.202.106.0.20 (unknown [10.20.42.35]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Bxyub9+QdkGeNOAA--.37836S2; Wed, 08 Mar 2023 10:59:13 +0800 (CST) From: Yinbo Zhu To: Mark Brown , Rob Herring , Krzysztof Kozlowski , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jianmin Lv , wanghongliang@loongson.cn, Liu Peibao , loongson-kernel@lists.loongnix.cn, Yinbo Zhu Subject: [PATCH v1 0/2] spi: loongson: add bus driver for the loongson spi Date: Wed, 8 Mar 2023 10:59:06 +0800 Message-Id: <20230308025908.21491-1-zhuyinbo@loongson.cn> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CM-TRANSID: AQAAf8Bxyub9+QdkGeNOAA--.37836S2 X-CM-SenderInfo: 52kx5xhqerqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29K BjDU0xBIdaVrnRJUUUk01xkIjI8I6I8E6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4 v_Jrv_JF1l8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY 67AKxVW5JVW7JwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxVW8JVWxJwA2z4x0Y4vEx4A2js IE14v26r4UJVWxJr1l84ACjcxK6I8E87Iv6xkF7I0E14v26r4UJVWxJr1le2I262IYc4CY 6c8Ij28IcVAaY2xG8wAqjxCEc2xF0cIa020Ex4CE44I27wAqx4xG64xvF2IEw4CE5I8CrV C2j2WlYx0E2Ix0cI8IcVAFwI0_Jrv_JF1lYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE 7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCF04k20xvY0x0EwIxGrwCF04k20xvE74AGY7 Cv6cx26rWl4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s02 6x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r1q6r43MIIYrxkI7VAKI48JMIIF0x vE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE 42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6x kF7I0E14v26r4j6r4UJbIYCTnIWIevJa73UjIFyTuYvjxUzgAwDUUUU X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759767534728110350?= X-GMAIL-MSGID: =?utf-8?q?1759767534728110350?= Loongson platform support spi hardware controller and this series patch was to add spi driver and binding support. Yinbo Zhu (2): dt-bindings: spi: add loongson spi spi: loongson: add bus driver for the loongson spi controller .../bindings/spi/loongson,ls-spi.yaml | 47 ++ MAINTAINERS | 7 + drivers/spi/Kconfig | 10 + drivers/spi/Makefile | 1 + drivers/spi/spi-loongson.c | 502 ++++++++++++++++++ 5 files changed, 567 insertions(+)