Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9828306rwp; Thu, 20 Jul 2023 10:13:28 -0700 (PDT) X-Google-Smtp-Source: APBJJlEVRSPEFB4zmDmZETQ367lbgFqefVoDUBOkr3VmJ+9wY6fC5N3+c6Q8i8+U89OMc1sJECfP X-Received: by 2002:a17:906:778f:b0:994:28ab:2903 with SMTP id s15-20020a170906778f00b0099428ab2903mr5857003ejm.5.1689873208631; Thu, 20 Jul 2023 10:13:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689873208; cv=none; d=google.com; s=arc-20160816; b=Tp+qPbTspZFc1r1ZHaGJpCO2aPWG3tXG2GYukNdaHXYuwf5TVobKSvslV2jJI3FCkR XOPBvnsHON1+q0/xgCknLhITybPl0Ln+LADOCYPUtBSjCxXxswLn/UN8+HfTxgRl+Oe/ gT4jFhchTfsB4s/FlNqPc759JEiYMoNN9WwXw9sCI+e7xxVTQXMheyXF3EQoivXLAzTj eJ32dYoYd4I5VkRArbRbdnme6g4/pePcps685DbGjTrZkasFrxKnamj7AwBb90TRQ7Hn DkbR1u474qLel9dMv1fzzRtNc9/XE9RSWrfGB7VGYHqzER7aJMFcdfNaiOeTegxDfOTv uo6Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=WoStjsKv47LJHG6o6X04+N/wms7DYX4cd6wxZpwzPxU=; fh=NmviFOKCB/O2srBwxN/SbwWHYOkA1RjotuefRjuW2q4=; b=tt3ML7gy4OCjW0VEQv+mVOb1n9b/3/GHzQlHtcF1gtboRewXIbd/0VUgQm4IfRqmaj fCrQXWSFIHzx0D7FVWw3FV/gXtVh6cfsBXp4UC6Vmjb85YWXKB0/wlGyttivPUddEz6y VPVXwM+qriNwCwMSEMkiKrSSICNfacD9IUNbqyEvg2vUsM1JFO+hhQ9yM9FJtP0v2/o1 ZwjXCC2svKs53EYpvCyg7lp89ZqKa+VmLkkbFnOBrJDY/kaq9lrbOoKH7CzHw1AX02YF Zx4IgoQu9hFj74DsFfmSkCSt0ddlEb4CfV2C7CuKk/uMiRPTbDltY/3oqDkuQ3nlN/Du qHyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZdtSogxh; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c3-20020a170906d18300b00998f7d25ea7si891889ejz.815.2023.07.20.10.13.04; Thu, 20 Jul 2023 10:13:28 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZdtSogxh; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231149AbjGTQaJ (ORCPT + 99 others); Thu, 20 Jul 2023 12:30:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230499AbjGTQaH (ORCPT ); Thu, 20 Jul 2023 12:30:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B327010FE; Thu, 20 Jul 2023 09:30:06 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5190361B10; Thu, 20 Jul 2023 16:30:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2BAFAC433CA; Thu, 20 Jul 2023 16:30:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689870605; bh=03iwHF4QsJwEWxnPmziWUq9TV1KY8wz/mguv4Sk1LE0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZdtSogxhUY53FziUIZlXATBwD6poKHBE31eXZep/5b2ApRgl8ITwZDChvBUi08fA1 ij03rmSV62MOqlR8WwjXPJsbyNsQ8Xt07FvRj2N6rVcRilU8XrkZUf3IeX/ucjDe6j bQAzlYc4oiPcTg2pGGWBJNtfZwg4J6JMXnl2oWJO3E+QmrpIvCXokf7BjZiZ8lNNGl yivi7Qe+n1P+Tsc2mxu1+cSR4muP2BPvpWskHQhUP004cB4k4lkbexbVp2Ol/J/Me3 G863G6mFN/yqtEkcRkc4MsGXdNo40mN7Y9NGktM87kus5F3Cz8nA0pvoy4OQCbUsT4 fBoRsNQ6pdKtA== From: Conor Dooley To: Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Hal Feng , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, Michael Turquette , Stephen Boyd , Philipp Zabel , Emil Renner Berthing , Xingyu Wu Cc: Conor Dooley , linux-kernel@vger.kernel.org, William Qiu , linux-clk@vger.kernel.org Subject: Re: (subset) [PATCH v7 0/7] Add PLL clocks driver and syscon for StarFive JH7110 SoC Date: Thu, 20 Jul 2023 17:29:50 +0100 Message-Id: <20230720-deck-accent-0dffdaf52958@spud> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230717023040.78860-1-xingyu.wu@starfivetech.com> References: <20230717023040.78860-1-xingyu.wu@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=928; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=nYxKzaQU0UYMnEXg5rTWbgwmIu2gNPam4O84iGUPsLU=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDCk7E/6cPN4pvklSYW5lokS+pZTwj47I00LOW/vmdVz7Z brE50JfRykLgxgHg6yYIkvi7b4WqfV/XHY497yFmcPKBDKEgYtTACayypiRYUMhb2lrm6Lrj623 H2tFTuEN8V/XGO99R2Dm38xJTPNrcxj+cFuI/T+9gOFVahhju8yawrsPdUWSZfKTNl1zvyLzbNp 3NgA= X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,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 From: Conor Dooley On Mon, 17 Jul 2023 10:30:33 +0800, Xingyu Wu wrote: > This patch serises are to add PLL clocks driver and providers by writing > and reading syscon registers for the StarFive JH7110 RISC-V SoC. And add > documentation and nodes to describe StarFive System Controller(syscon) > Registers. This patch serises are based on Linux 6.4. > > PLLs are high speed, low jitter frequency synthesizers in JH7110. > Each PLL clock works in integer mode or fraction mode by some dividers, > and the dividers are set in several syscon registers. > The formula for calculating frequency is: > Fvco = Fref * (NI + NF) / M / Q1 > > [...] Applied to riscv-dt-for-next, thanks! [6/7] riscv: dts: starfive: jh7110: Add syscon nodes https://git.kernel.org/conor/c/3fcbcfc496f0 [7/7] riscv: dts: starfive: jh7110: Add PLL clocks source in SYSCRG node https://git.kernel.org/conor/c/3e6670a28b00 Thanks, Conor.