From patchwork Tue Jul 4 09:21:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Qiu X-Patchwork-Id: 11587 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp1088657vqx; Tue, 4 Jul 2023 02:34:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ71qnNGZit/UaJ1s26dm+IuZGLb6S2Vpdw8LBxA6scqbu6Ty2DESJi6qKYg2KlfJKVbyWen X-Received: by 2002:a17:902:cecb:b0:1b7:dfbd:4dd3 with SMTP id d11-20020a170902cecb00b001b7dfbd4dd3mr28988499plg.9.1688463257125; Tue, 04 Jul 2023 02:34:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688463257; cv=none; d=google.com; s=arc-20160816; b=A9ncy3+b3OGkcsW8woaUZBxdtJk68tcdoJ5ZTq+VEtx5pK/0c+Fn0sKFH6DO/6MdFV 3pOeSv5Aa4oSf4vK2KBtAPhB+CB+5HUAo2O+++F5AqKT6xLnz5U7s2ofE2g0CmENKVBs QNl+PadntWtjxlWGuReG9l+Trr19cWw2Bh8hrhHxC4e8Opm98mFVw9ide8hxX6xrDY3R RwkGa67DATnxaY3AauWMXlwmaLQ5Ulwl1IGtFP6sJA0cB9pfeHvsAOY35erYdC7KL8W8 pwqywvCw6f1jQyRx/bOocFs3b+Bfwj7hUedBGqJaAVBF4sYZiW8IFP6PxNaIm7YbPBcp mHEw== 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=1eNmlXs+8M8Cl6T8BThuZDr3z3epepDzkK1qOJi4CYg=; fh=HeR1z4xuPdYyXdnbowCtDfwdHjMJjEuGs83+OtakOVA=; b=soDe9PXHSZA/LroIzW7qPi8bHVY7xbc7LVyUPnkT4csINyl1+dPMUq196sZfanQQgj OSyL3S4atlc8GfOvSolrmmBMF/voHnbzAvtVjHurfV5wCFOJXoppsJ0oUQnYkjru7V5M h/0Xz0gMVN+iKlOpRlX/tnU5L5Jjf3eVQ+n7qy7Al4lPdkKNx3xWjX6aZyvr8gSCSr4o FFk/WtY871mv5p7acLrhgS9cOOW8hZTq+AxmpDMFgbBYYiDuXvi1ZR5BqfqAVaVH245H R3yt86YASAXDYYE5+uUNhbIFC0dtIQqNgRat+gCuZJchUx6aVogYhYALhW9NOoLE++w6 AlKg== 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 g20-20020a635214000000b0055731c5ee5csi19332576pgb.902.2023.07.04.02.34.04; Tue, 04 Jul 2023 02:34:17 -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 S231992AbjGDJWc convert rfc822-to-8bit (ORCPT + 99 others); Tue, 4 Jul 2023 05:22:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231819AbjGDJWL (ORCPT ); Tue, 4 Jul 2023 05:22:11 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A1AD10E4; Tue, 4 Jul 2023 02:22:03 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 10D45814B; Tue, 4 Jul 2023 17:22:02 +0800 (CST) Received: from EXMBX068.cuchost.com (172.16.6.68) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 4 Jul 2023 17:22:02 +0800 Received: from williamqiu-virtual-machine.starfivetech.com (171.223.208.138) by EXMBX068.cuchost.com (172.16.6.68) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 4 Jul 2023 17:22:01 +0800 From: William Qiu To: , , , CC: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Emil Renner Berthing , Linus Walleij , William Qiu Subject: [RESEND v1 0/2] Add SPI module for StarFive JH7110 SoC Date: Tue, 4 Jul 2023 17:21:58 +0800 Message-ID: <20230704092200.85401-1-william.qiu@starfivetech.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [171.223.208.138] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX068.cuchost.com (172.16.6.68) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE 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?1770482048631513768?= X-GMAIL-MSGID: =?utf-8?q?1770482048631513768?= Hi, This patchset adds initial rudimentary support for the StarFive SPI controller. And this driver will be used in StarFive's VisionFive 2 board. The first patch constrain minItems of clocks for JH7110 SPI and Patch 2 adds support for StarFive JH7110 SPI. The patch series is based on v6.4rc7. William Qiu (2): dt-binding: spi: constrain minItems of clocks and clock-names riscv: dts: starfive: Add spi node for JH7110 SoC .../devicetree/bindings/spi/spi-pl022.yaml | 11 ++- .../jh7110-starfive-visionfive-2.dtsi | 52 ++++++++++ arch/riscv/boot/dts/starfive/jh7110.dtsi | 98 +++++++++++++++++++ 3 files changed, 158 insertions(+), 3 deletions(-) --- 2.34.1