Message ID | 20230804020254.291239-1-william.qiu@starfivetech.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp1535256vqx; Thu, 3 Aug 2023 19:35:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHDPBKTfqLahLhxtyNX9nsaLjsEV8wTq/mh3pDSglt3581b4M+65XAQaMfBy+cjDAHekCT9 X-Received: by 2002:a05:6a20:394a:b0:13d:b318:5c70 with SMTP id r10-20020a056a20394a00b0013db3185c70mr626088pzg.19.1691116532064; Thu, 03 Aug 2023 19:35:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691116532; cv=none; d=google.com; s=arc-20160816; b=uD0cWr9W6OlMZDHdm2emN99UApI6Dg+ItFGwFCGSHvM+y6pRQcZPk+mg2cO8yZlg4W 0/EJxxOm3jm9GFccRktEylAFYTB/mbN9R7pkhU0Ct7n5U+AYfXXk4Qnv0hCTJRjJW5iR hh7+UxSrfwXHGd/cD85jp9MvDmuSf6rKovOJmcilQryPxBIG4Nkk2U4C1oLhEdygLrrL s17zRmmPAsakN/q17Hhrjg2UvvTeeirDOmPhVUmnbtOsA53NVxUYjmIpD0xhu5jP9KP+ 6LqCKSs4a3lEAUWYbyNMdPZajAIVPileD+3iVasJNM9oF60bseBUtasLjTgAocA8RVJX 4h/Q== 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=PcitpOkgQ/gBq7Mzimkf86t8B1xS1OqHgvlACSTqY28=; fh=WCphHDjGHb2n6ExUxc8S0xlUZruKuzZWzdl57wRIMGI=; b=V77ggEEUxCGvNQmWxyv/rajNiltP7xDOZS1x7+XWcX60sYKbZDUS0uz8CZxM9juRq0 ZY2LQbtpd5FmvHmE6Ir4HJ4ukSAjKEXLffci6lcOYs4/iFsLtPPPMP21XLEsvglnMZsj ZrvBJtczRfwDxo4cpVzC6vhHdZwl881IXYSi1OkyWUMazpDTnpfMxHoL73JSy/NmV8rI 29Zc6in7fOFusxSE4Vb+2egeGOqsDbL1yI03x2fWR4V2xsjbRStFW+lARdeC9s1F3Dsx sLx+hoN1w0WMobqulsYDNxnbZG3P8UiQ6ALnjXkuiF0EfeGq2unRnsJDmU2LPRJi7Oln BVBg== 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 b11-20020a170903228b00b001b8904eadb8si987413plh.460.2023.08.03.19.35.18; Thu, 03 Aug 2023 19:35:32 -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 S232852AbjHDCDK convert rfc822-to-8bit (ORCPT <rfc822;sukrut.bellary@gmail.com> + 99 others); Thu, 3 Aug 2023 22:03:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231465AbjHDCDD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 3 Aug 2023 22:03:03 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4F1A4488; Thu, 3 Aug 2023 19:02:57 -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 112398067; Fri, 4 Aug 2023 10:02:56 +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; Fri, 4 Aug 2023 10:02:56 +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; Fri, 4 Aug 2023 10:02:55 +0800 From: William Qiu <william.qiu@starfivetech.com> To: <devicetree@vger.kernel.org>, <linux-spi@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-riscv@lists.infradead.org> CC: Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Emil Renner Berthing <kernel@esmil.dk>, Ziv Xu <ziv.xu@starfivetech.com>, William Qiu <william.qiu@starfivetech.com> Subject: [PATCH v6 0/3] Add initialization of clock for StarFive JH7110 SoC Date: Fri, 4 Aug 2023 10:02:51 +0800 Message-ID: <20230804020254.291239-1-william.qiu@starfivetech.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [171.223.208.138] X-ClientProxiedBy: EXCAS061.cuchost.com (172.16.6.21) To EXMBX068.cuchost.com (172.16.6.68) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT 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, URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773264208742452754 X-GMAIL-MSGID: 1773264208742452754 |
Series |
Add initialization of clock for StarFive JH7110 SoC
|
|
Message
William Qiu
Aug. 4, 2023, 2:02 a.m. UTC
Hi, This patchset adds initial rudimentary support for the StarFive Quad SPI controller driver. And this driver will be used in StarFive's VisionFive 2 board. In 6.4, the QSPI_AHB and QSPI_APB clocks changed from the default ON state to the default OFF state, so these clocks need to be enabled in the driver.At the same time, dts patch is added to this series. Changes v5->v4: - Rebased to v6.4rc4. - Dropped the Reported-by tags. Changes v4->v5: - Rebased to v6.5rc2. - Changed the way to initialization the clocks. - Changed the layout for the SPI flash. Changes v3->v4: - Added minItems for clocks. - Added clock names property. - Fixed formatting issues. Changes v2->v3: - Rebased to v6.4rc6. - Renamed the clock names. - Changed the variable definition type. Changes v1->v2: - Renamed the clock names. - Specified a different array of clocks. - Used clk_bulk_ APIs. The patch series is based on v6.5rc4. William Qiu (3): dt-bindings: qspi: cdns,qspi-nor: Add clocks for StarFive JH7110 SoC spi: cadence-quadspi: Add clock configuration for StarFive JH7110 QSPI riscv: dts: starfive: Add QSPI controller node for StarFive JH7110 SoC .../bindings/spi/cdns,qspi-nor.yaml | 12 +++- .../jh7110-starfive-visionfive-2.dtsi | 36 ++++++++++ arch/riscv/boot/dts/starfive/jh7110.dtsi | 19 ++++++ drivers/spi/spi-cadence-quadspi.c | 67 +++++++++++++++++++ 4 files changed, 133 insertions(+), 1 deletion(-) -- 2.34.1
Comments
On Fri, 04 Aug 2023 10:02:51 +0800, William Qiu wrote: > This patchset adds initial rudimentary support for the StarFive > Quad SPI controller driver. And this driver will be used in > StarFive's VisionFive 2 board. In 6.4, the QSPI_AHB and QSPI_APB > clocks changed from the default ON state to the default OFF state, > so these clocks need to be enabled in the driver.At the same time, > dts patch is added to this series. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/3] dt-bindings: qspi: cdns,qspi-nor: Add clocks for StarFive JH7110 SoC commit: 0d2b6a1b8515204924b9174ae0135e1f4ff29b21 [2/3] spi: cadence-quadspi: Add clock configuration for StarFive JH7110 QSPI commit: 33f1ef6d4eb6bca726608ed939c9fd94d96ceefd All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
From: Conor Dooley <conor.dooley@microchip.com> On Fri, 04 Aug 2023 10:02:51 +0800, William Qiu wrote: > This patchset adds initial rudimentary support for the StarFive > Quad SPI controller driver. And this driver will be used in > StarFive's VisionFive 2 board. In 6.4, the QSPI_AHB and QSPI_APB > clocks changed from the default ON state to the default OFF state, > so these clocks need to be enabled in the driver.At the same time, > dts patch is added to this series. > > [...] Applied to riscv-dt-for-next, thanks! [3/3] riscv: dts: starfive: Add QSPI controller node for StarFive JH7110 SoC https://git.kernel.org/conor/c/fc3d49f970d2 Thanks, Conor.