From patchwork Thu Jul 13 09:00:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Qiu X-Patchwork-Id: 11975 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp1692204vqm; Thu, 13 Jul 2023 02:11:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlH+ZX0aSP8Nwe2k2TFA5Zqe0rETadVRghjd4RR9qMLE0GpdYBEzSx6DqriY2eUBtThHLh/8 X-Received: by 2002:a17:907:72c8:b0:98d:dbaa:303b with SMTP id du8-20020a17090772c800b0098ddbaa303bmr920104ejc.33.1689239509999; Thu, 13 Jul 2023 02:11:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689239509; cv=none; d=google.com; s=arc-20160816; b=UQabaMOVCj+MeB5VOXlxfkJZBIm5PrIjdDJKrwtcQWhUn5cD6WcVNvZaDVn5r5Abiu e9glNC+b9hJijyBKI4NWF8GrqhOROscaTwulCj/qzohhcXDt1aZVTjPD8RSDr4L0pkVh lGLxEHFUKaHyck9OoB7eZZZg/p/H2kXGS8q8yEyJfqLj4rBIQODIzvOciSBKvHVdDMLr ciWW9VxEH+PmXwbMTHml5b4i4RLHGsg5dBw+mO0QY53bEVls3Vg8ALHEUYei5CvCre3h G8J3QFO39vYOfNTnhZcgY4w7QkAPFCF2nCArgaRZGrw2RZJetdAySALL74S0/YFs2aVy oB4w== 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=yJPATK1o8xbyfKD4hBDgb+nQ50teyUyOMPwsWljUSmE=; fh=KMHIlvMyk955GAHEXyGRN89XCb+h1B+4yCIVAgCT/kI=; b=MNEHV8oG/Wdr3ZuDqMhNIJK/bEGp8D3gilcH7mWgpgqK2XeWyTq6ZMYh+US1UWGqAb K+OI6epwTxb4iFJf0klSohkmdfYecrK3F5W0RqjaoSU13+dUSIA8Y0fX8T9rVx8tL5bP pq+eoA0t5gqktrlx1ys2liqSco2OGchzWKhsVi+9Xr5W+SJgQvj0gxG+EshIFzeedUXp /iceJ1wjbOKKOBJPy3DlY25pQbsyHVl76Oy5iXLYHV1BAHwx3J3n3rGhFcxTZb3G2WOq kdH72lN5YpGxxxmprHOMOEE88LwqQ5fduglRAuPzc6fkYjGgxeFvQ3qUVqE1JSNGphqe fEiA== 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 n24-20020a170906119800b00992f7fe9c0bsi6813115eja.328.2023.07.13.02.11.20; Thu, 13 Jul 2023 02:11:49 -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 S233280AbjGMJAp convert rfc822-to-8bit (ORCPT + 99 others); Thu, 13 Jul 2023 05:00:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234719AbjGMJA0 (ORCPT ); Thu, 13 Jul 2023 05:00:26 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 934CA213B; Thu, 13 Jul 2023 02:00:23 -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 CB51B82CB; Thu, 13 Jul 2023 17:00:16 +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; Thu, 13 Jul 2023 17:00:16 +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; Thu, 13 Jul 2023 17:00:15 +0800 From: William Qiu To: , , , CC: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Emil Renner Berthing , Linus Walleij , William Qiu Subject: [PATCH v2 0/3] Add SPI module for StarFive JH7110 SoC Date: Thu, 13 Jul 2023 17:00:12 +0800 Message-ID: <20230713090015.127541-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, RCVD_IN_DNSWL_BLOCKED,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: INBOX X-GMAIL-THRID: 1771296007953318363 X-GMAIL-MSGID: 1771296007953318363 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. Changes v1->v2: - Rebaed to v6.5rc1. - Submitted reference file separately. - Dropped 'status' node as it was 'okay' by default. - Dropped Co-developed-by message. The patch series is based on v6.5rc1. William Qiu (3): dt-bindings: spi: add reference file to YAML dt-bindings: 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 | 50 ++++++++++ arch/riscv/boot/dts/starfive/jh7110.dtsi | 98 +++++++++++++++++++ 3 files changed, 156 insertions(+), 3 deletions(-) --- 2.34.1