Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6415707rwp; Mon, 17 Jul 2023 23:06:37 -0700 (PDT) X-Google-Smtp-Source: APBJJlGgpTYzEK6VcXoI0ljqqxlnL8J6Rbnx/QmjrAmAPWPQaJVTXnNVyG/D0uDmWhDqe0tTlqdv X-Received: by 2002:a05:6512:3713:b0:4fa:5255:4fa3 with SMTP id z19-20020a056512371300b004fa52554fa3mr877900lfr.5.1689660397400; Mon, 17 Jul 2023 23:06:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689660397; cv=none; d=google.com; s=arc-20160816; b=SAKL5kabK32HFSVbQ0uznHUNjk5r8K4zZguFRsxc6Ed47RBCxaC7Fb5WvDchk7SHQc CxinqXFuUdovEs5FP5VJ/vLDo5B2htt3o7hZcFDu8ZPXQT0USKJYWBhRIMmJQEet9M/L 288w6e/U+o3pfThhJTY53LVq927pGmVgplHxx2sQFmNkoIPjZCCzJuAzTz2XYHgxne+8 kXPXFhSTerupQ+8UHtuaPSa9UdUaJCwrNzX3+x5P+39UVpGjtQ9sHUATwzVkfbR7qoIJ SRvKG2iWphbFwX9Qql84JzMRAlx+I7Mdn2fc0XLx4+7E2hEfLagduAksuUGBMbyYyrds IjCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=E0FKZwssj/7Hic5rOvVV0gEG7dk+QL3K/iy5qBzZz9I=; fh=8MbjF4uyZ9G5AH1Yqib1hGViv5+X07hcJmmJx5pX5So=; b=hve/nVbkX+SUn9aFTHoaSW9S+bVAuoo80sOGuauTC+yPkzVEkGO/nQk4iXN+HZ4Qkd lKot3+CsSnaKYzA60vYxtybRJcQVI5+1nK0QcLm5gt930DCDZg9xemR4eXWta/NZ9u83 9/rM8x52SPn6r88Eof9oZn78h3Jw+1l2fYVH1YdX+6EDy05eQRTW9/WxLsIy2tkW/wYw 9BuAv5XYIxi7PV7x0BKEY15M6puzANWfQ8qTMhmLIYJqz1iohbToB4erli9Spl8euJzE uJAT7DQs0y+a95peHRA9X/difPRieGJH3e1pdFePLSyiH8gm8x0HmaKWfMFDgaM8IHR2 O/mA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w10-20020a056402070a00b0051e4797bcbfsi726852edx.30.2023.07.17.23.06.13; Mon, 17 Jul 2023 23:06:37 -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 S229920AbjGRFvm (ORCPT + 99 others); Tue, 18 Jul 2023 01:51:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbjGRFvk (ORCPT ); Tue, 18 Jul 2023 01:51:40 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89341E55; Mon, 17 Jul 2023 22:51:37 -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 ex01.ufhost.com (Postfix) with ESMTP id F3C1324E280; Tue, 18 Jul 2023 13:51:26 +0800 (CST) Received: from EXMBX061.cuchost.com (172.16.6.61) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 18 Jul 2023 13:51:27 +0800 Received: from [192.168.125.128] (113.72.147.86) by EXMBX061.cuchost.com (172.16.6.61) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 18 Jul 2023 13:51:25 +0800 Message-ID: <4e4dea7f-639b-71aa-5a47-95ce14d7f1ed@starfivetech.com> Date: Tue, 18 Jul 2023 13:48:09 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v7 0/7] Add PLL clocks driver and syscon for StarFive JH7110 SoC Content-Language: en-US To: Conor Dooley CC: , , "Michael Turquette" , Stephen Boyd , "Rob Herring" , Krzysztof Kozlowski , Philipp Zabel , Emil Renner Berthing , Paul Walmsley , Palmer Dabbelt , Albert Ou , Hal Feng , William Qiu , , References: <20230717023040.78860-1-xingyu.wu@starfivetech.com> <20230717-easel-pessimist-5b7c4e5bed0a@spud> From: Xingyu Wu In-Reply-To: <20230717-easel-pessimist-5b7c4e5bed0a@spud> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [113.72.147.86] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX061.cuchost.com (172.16.6.61) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 On 2023/7/18 2:14, Conor Dooley wrote: > Hey Xingyu, > > On Mon, Jul 17, 2023 at 10:30:33AM +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 >> >> The first patch adds docunmentation to describe PLL clock bindings, >> and the second patch adds documentation to decribe syscon registers. >> The patch 3 modifies the SYSCRG bindings and adds PLL clock inputs. >> The patch 4 adds driver to support PLL clocks for JH7110. >> The patch 5 modifies the system clock driver and can select the PLL clock >> source from PLL clocks driver. And the patch 6 adds the >> stg/sys/aon syscon nodes for JH7110 SoC. The last patch modifies the >> syscrg node in JH7110 dts file. > > Just FYI, I have picked up the binding & clock portions of this series > and your other one adding the stg syscon. I've pushed them out here for > the test robots to have a look: > https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/log/?h=clk-starfive > > If that passes, my plan is to send Stephen a PR for the lot, later this > week. > Great. Thank you for everything. Best regards, Xingyu Wu