Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3808224rwb; Sun, 20 Nov 2022 22:51:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf5a5VungAfBLcEBwvdvxM7qc7Y+Q4Tgwx3DkVXcpaNmAERKa4AGhdM+6lpXBL4jXghl95VQ X-Received: by 2002:a17:902:9a03:b0:186:9f20:e7e2 with SMTP id v3-20020a1709029a0300b001869f20e7e2mr9963508plp.174.1669013486266; Sun, 20 Nov 2022 22:51:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669013486; cv=none; d=google.com; s=arc-20160816; b=Y32CnM/MuW3mekGLLQjsqwbxZuZg2qK0gmcMn1c8/YbmVyFTvUWYRKBfewpePhpuht yxUQ0v2aK3m30YrOw6wWrwqSCsoNyqwDiL0tZ6WZylFCYOJ1vuNK19Esd99FbU1jKdse SWJ71lAbCCbn/DLVBGwcR6G7XuDg0Lz8g0jvTrENo7x1Yyx3ylN0aSDKAA/scVdu8ak8 zJDpMQUYLnVnSXhJruB9f/TcsznfAdLkakgpBsXHk9jceKY6mVRHZjmP3fFlgQOCEZDm b/D/V0D7YGh/YJpegETeZCuD8RMekSXm2qRxIUiyAz7bR6GfRFqhDb2suuWyTMw9XMx4 8CkQ== 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=+izybo6U/AlkiDqJpVRjhYQDuEorHxJZXuUJvhOKxQc=; b=mlEjFZDd8WzT3Yf7xbx5X4U2TEyk7lHdfFuhqrvV+dEuuJq9i0bJsjpxCFskfu52LY Xl9FaRXIgeqqYSSj0Ge2ZPMqLcwkW0JUQgCHmqSw53wLzOb35yQVRxEf24SvPtqoxBW1 7hN9qC4LfeIQ5VHIrTf5YN6k6u1cLLv1FsUvfIAQ8BfEUn6dfAnnzg6TZS2fI99h6QIW 44Eti6Ec5lfiERoBDw1bKGtY82nDkA1mTsAISm7rZIf3HlnwCr6ZfID7xXdNksb8TvOv v3KEk9kWwVd4RmL6iqldIErAe9Uy5UGclrP3H04TsOLFRicY+Bmv6nE0BxcLc94/fTBA b3/A== 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 l3-20020a170902f68300b00186c37272a6si12352309plg.178.2022.11.20.22.51.14; Sun, 20 Nov 2022 22:51:26 -0800 (PST) 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 S229697AbiKUGZq (ORCPT + 91 others); Mon, 21 Nov 2022 01:25:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229490AbiKUGZn (ORCPT ); Mon, 21 Nov 2022 01:25:43 -0500 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B1C926571; Sun, 20 Nov 2022 22:25:38 -0800 (PST) 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 ex01.ufhost.com (Postfix) with ESMTP id AA67B24E205; Mon, 21 Nov 2022 14:25:35 +0800 (CST) Received: from EXMBX072.cuchost.com (172.16.6.82) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 21 Nov 2022 14:25:35 +0800 Received: from [192.168.50.235] (113.72.144.23) by EXMBX072.cuchost.com (172.16.6.82) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 21 Nov 2022 14:25:34 +0800 Message-ID: <7cf9be4a-6ef2-f1f9-07a3-4801fd2833a8@starfivetech.com> Date: Mon, 21 Nov 2022 14:25:21 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: [PATCH v2 01/14] clk: starfive: Factor out common JH7100 and JH7110 code To: Emil Renner Berthing CC: "linux-riscv@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-clk@vger.kernel.org" , Conor Dooley , Palmer Dabbelt , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , "Michael Turquette" , Philipp Zabel , "linux-kernel@vger.kernel.org" References: <20221118010627.70576-1-hal.feng@starfivetech.com> <20221118010627.70576-2-hal.feng@starfivetech.com> Content-Language: en-US From: Hal Feng In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [113.72.144.23] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX072.cuchost.com (172.16.6.82) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS 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 Sat, 19 Nov 2022 00:22:10 +0800, Emil Renner Berthing wrote: > On Fri, 18 Nov 2022 at 02:06, Hal Feng wrote: > > > > From: Emil Renner Berthing > > > > The clock control registers on the StarFive JH7100 and JH7110 work > > identically, so factor out the code then drivers for the two SoCs > > can share it without depending on each other. No functional change. > > > > Signed-off-by: Emil Renner Berthing > > Co-developed-by: Hal Feng > > Signed-off-by: Hal Feng > > --- > > MAINTAINERS | 2 +- > > drivers/clk/starfive/Kconfig | 5 + > > drivers/clk/starfive/Makefile | 3 +- > > drivers/clk/starfive/clk-starfive-jh7100.c | 325 -------------------- > > drivers/clk/starfive/clk-starfive-jh7100.h | 2 + > > drivers/clk/starfive/clk-starfive-jh71x0.c | 333 +++++++++++++++++++++ > > 6 files changed, 343 insertions(+), 327 deletions(-) > > create mode 100644 drivers/clk/starfive/clk-starfive-jh71x0.c > > > > diff --git a/MAINTAINERS b/MAINTAINERS > > index 256f03904987..d43daa89d5f1 100644 > > --- a/MAINTAINERS > > +++ b/MAINTAINERS > > @@ -19602,7 +19602,7 @@ STARFIVE JH7100 CLOCK DRIVERS > > M: Emil Renner Berthing > > S: Maintained > > F: Documentation/devicetree/bindings/clock/starfive,jh7100-*.yaml > > -F: drivers/clk/starfive/clk-starfive-jh7100* > > +F: drivers/clk/starfive/ > > When this entry cover all the starfive clock drivers the header should > also match. Eg. > STARFIVE CLOCK DRIVERS OK, will fix it. Ditto for the reset driver. Best regards, Hal