Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp262179rwr; Thu, 4 May 2023 18:44:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5l17R4iq4L3lMdVsYZEhosSk5sQsNVwieV7KSL050gT7UPhpVBGdH/hxtBNhkmGK0gZws7 X-Received: by 2002:a05:6a20:244c:b0:f3:5cf7:581b with SMTP id t12-20020a056a20244c00b000f35cf7581bmr5338072pzc.28.1683251044024; Thu, 04 May 2023 18:44:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683251044; cv=none; d=google.com; s=arc-20160816; b=xoTbqrM55JAEq+xk5/w1qVWlkOWV02qCT1MvRb0GGknuVc0hUQjC4DtcC/64QatOQ6 Nmg5Y7lRN3Ig7qzZCXmO0o277ZxbGvcFZ33p5opLEsVTxNPwFWQwhgrDk4MPdZV+85EP 3tbPWRNg9O7lkshvsTRHTW+CrvX9YyDVD6ISOcp9KiLU494L14YsaDbxenNuYp6Pb3x1 AGu6wdH/IJgMLOPnJXypt3+g35rOh4wvO0rXZZQk9fAsmA630YYf+BemL77BCoA5t6CM fzqMhKwEzqrt8pdMnRp6acxFUq724jzX2MJCFa60PmCTnKRxB+Av5MO6XicZwjYWD+7a v0rw== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=qWe8xqN30VnG1HcWhqNnks28WSd5sGi5vtZunFjG09I=; b=r1JNF3u752kDEPqoOEPw3U0ld4xPlthn4NL7xamQEIrrAxE1sqHDeNOVxCWm224PrI IiwbGqzVMLcPbRb8e3SHJvDhY9xgIUIjfETZnvPCjrgx4/TWHqnuynhvTYjJavtVSBsW gBLjVVrubNpiwHcMZobqEHKPppEuBTaAqjmfaVm4i7wfJYMSLSvlxmaXCCi6Ns3+cpAj aQo7Caia5xwO8/WiTIZkaCug9vuQFT4hn8QyjLv4LqzBIdhAiN0QlEFmw/+kVO8XG5pm LFgUPfWF5g5r4EWUQFDNPn3JrJIht/sS0dEWYBbOjGwUqsFbzl8pfaeq0qhMid0/YXbv AMvA== 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 c186-20020a621cc3000000b0063d3aed5eb3si822782pfc.197.2023.05.04.18.43.51; Thu, 04 May 2023 18:44:04 -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 S229907AbjEEBip (ORCPT + 99 others); Thu, 4 May 2023 21:38:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjEEBin (ORCPT ); Thu, 4 May 2023 21:38:43 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 574C711DB2; Thu, 4 May 2023 18:38:42 -0700 (PDT) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id E355824E2B1; Fri, 5 May 2023 09:38:39 +0800 (CST) Received: from EXMBX067.cuchost.com (172.16.6.67) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 5 May 2023 09:38:39 +0800 Received: from [192.168.125.89] (183.27.99.121) by EXMBX067.cuchost.com (172.16.6.67) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 5 May 2023 09:38:38 +0800 Message-ID: <457c35b5-aec4-1147-673f-947052b5f944@starfivetech.com> Date: Fri, 5 May 2023 09:38:38 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v3 0/3] Add JH7110 cpufreq support To: "Rafael J. Wysocki" , Viresh Kumar , Emil Renner Berthing , "Rob Herring" , Krzysztof Kozlowski , Conor Dooley , "Paul Walmsley" , Palmer Dabbelt , Albert Ou CC: Shengyu Qu , , , , References: <20230421031431.23010-1-mason.huo@starfivetech.com> Content-Language: en-US From: Mason Huo In-Reply-To: <20230421031431.23010-1-mason.huo@starfivetech.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [183.27.99.121] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX067.cuchost.com (172.16.6.67) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 Hi Conor & Shengyu, Thanks for your review, and is there any comments about these v3 patches? Thanks Mason On 2023/4/21 11:14, Mason Huo wrote: > The StarFive JH7110 SoC has four RISC-V cores, > and it supports up to 4 cpu frequency loads. > > This patchset adds the compatible strings into the allowlist > for supporting the generic cpufreq driver on JH7110 SoC. > Also, it enables the axp15060 pmic for the cpu power source. > > The series has been tested on the VisionFive 2 boards which > are equipped with JH7110 SoC and axp15060 pmic. > > > This patchset is based on v6.3-rc4 with these patches applied: > [1] ("Basic clock, reset & device tree support for StarFive JH7110 RISC-V SoC") > https://lore.kernel.org/all/20230401111934.130844-1-hal.feng@starfivetech.com/ > [2] ("Add X-Powers AXP15060 PMIC support") > https://lore.kernel.org/all/TY3P286MB2611A814E580C96DC6F187B798969@TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM/ > > Changes since v2: > - Fix the new blank line at EOF issue in dtsi. > > Changes since v1: > - Fix dts node naming issues. > - Move clock properties of cpu node from .dtsi to .dtsi. > - Follow the alphabetical order to place the cpufreq dt allowlist. > > --- > v1: https://lore.kernel.org/all/20230411083257.16155-1-mason.huo@starfivetech.com/ > v2: https://lore.kernel.org/lkml/20230417063942.3141-1-mason.huo@starfivetech.com/ > > Mason Huo (3): > riscv: dts: starfive: Enable axp15060 pmic for cpufreq > cpufreq: dt-platdev: Add JH7110 SOC to the allowlist > riscv: dts: starfive: Add cpu scaling for JH7110 SoC > > .../jh7110-starfive-visionfive-2.dtsi | 30 +++++++++++++++++ > arch/riscv/boot/dts/starfive/jh7110.dtsi | 33 +++++++++++++++++++ > drivers/cpufreq/cpufreq-dt-platdev.c | 2 ++ > 3 files changed, 65 insertions(+) > > base-commit: 197b6b60ae7bc51dd0814953c562833143b292aa