Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9466152rwd; Wed, 21 Jun 2023 07:49:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7yq0DKAt1PNqiVB3Xyt0/Xk3MY34eBeiOsBa3UNtDvzTuwLJ3aUhxx9QklDlXhQWBJz4Ya X-Received: by 2002:a17:902:8647:b0:1b3:97a7:c106 with SMTP id y7-20020a170902864700b001b397a7c106mr11500187plt.52.1687358951654; Wed, 21 Jun 2023 07:49:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687358951; cv=none; d=google.com; s=arc-20160816; b=ZjaoJbtAEW49q7xjfdCwI78xzjPPpuFKjafrK/G6wvaIZzNLQ3smz7oGD/ZStwdAmG hJUzmFZ/SeTMe5RLymbhCfLiEJjdgNYA+qTrM/ei1s8RydwuXJw8BD4o8kpkh6qDssfH qcikILKdKVt6MPw7NZ+GZ5aiTNlye5RDMo44TCXY++C06BYbpo0dXPWuldx51sfwa1Gf 347gE94oNlVMPl9nW1T95mxmLssSdRxh8iKnPaMOOc3a3/Cx1cpLJXk+ktHNWGXEbAll GKjBUJup/AIg4YP9CMCNreeclT/eQ2iUrz0stYua+pepod1AAG0idg/loDY0hdRszZeh Dtvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=uqh8tuCqF2dKU/vlVkQ8edaMsCAAwNBeUvu46sx3Vr8=; b=miDdrVtG7WjZAkwlkR3yEREEgC9CLnEE2jF/Qgz07BcWsZW0oPjinn3aw1tw6aaXrG 871iZK19qoBbhcQtHOp6h/hoA4Y1tC96jxBB7dtia8gsxfIRuIba8rGfmi2VB3ugxnm0 9yeA1p0Ibcm2H8UJAdKFQaOSlyAngaeyisgnNsLlcVu5RnBQLRaJXd//PpPcSoQrn6Sm zml0vXJ5I2YOXg/f3cHP+hRDaA0AW91IHXpvzZ8xIBQ9zBLWduARJi696fQnVX5Bwe7N GdksIWIfSVDOEJddNaiWO0xzbncTWPTmxCFfffxjpcTX9rL6XLsc+JHEGibMEY8Ur3ND C0ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b="n/k1xIat"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=JvqS126T; 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 b10-20020a170902d50a00b001ac5896c746si957247plg.329.2023.06.21.07.48.57; Wed, 21 Jun 2023 07:49:11 -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=@arndb.de header.s=fm1 header.b="n/k1xIat"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=JvqS126T; 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 S232871AbjFUOW4 (ORCPT + 99 others); Wed, 21 Jun 2023 10:22:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232913AbjFUOWu (ORCPT ); Wed, 21 Jun 2023 10:22:50 -0400 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A1731BC5; Wed, 21 Jun 2023 07:22:40 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 8C24F5C00AB; Wed, 21 Jun 2023 10:22:39 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Wed, 21 Jun 2023 10:22:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1687357359; x=1687443759; bh=uq h8tuCqF2dKU/vlVkQ8edaMsCAAwNBeUvu46sx3Vr8=; b=n/k1xIatpSiHzZ/KiJ /Kn+e6auwMeIvQud6Vykz3TW8nFUpbyjf0bXEE7w05GD9shcMK3OKVAX1H25HTh2 Ibihj5rpbIv8kjIX5EnTP5HtHObp1Z5l079DTY1DTqU8t+ylqhhsTeU/Fl+cimZZ a60vKPDZHc95/GGR1TZRvj3Tdp44obNMuiRQQqXjN9O7VzxHgRvd5F7YbEN7gx+c VcDIEgcFIGw/MSb0nOqUZNCaWAaQaAtld9uuFgOwWcp2lSJ87J14N5NohrWsU9b4 1P104rKiiOwXEJ8pR4hlAe13FTCaUKJ5KNuVTDgUAfZCCyJ51pYhNJDhZAd5/khz ePgA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1687357359; x=1687443759; bh=uqh8tuCqF2dKU /vlVkQ8edaMsCAAwNBeUvu46sx3Vr8=; b=JvqS126TUMtYNG2bnXKUnqMMIaO4L Zq1sOfPQ7X74qemER9BF0sTdhDfzM7zN463Lbjx5O90kcd4IzT3S9hDDoqdp61eA SwV/CENSELEJeDzijTa8XZLbf8cBjWzGbDPvE1Ly/o5jwU2AUhYLuvG1MKwtVAzA oqZEI2ImOkXI+4h1mLECJenCoIVJDD59YZ6MiQ+CwwCPz4i8NLAU//tNWa8iACaw 9YfSCkwyjyTQVHLOQOjEkcqIIXTH27A+E7GADA0DIQ41RjS9A0Emdhlhk9IXjCeq 1zFhMBs8NXY75pRdV8t+GidD4m/uoNeKUyzfJZIBZn/F8wt5FIz2UOwEw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgeefkedggeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id B68BAB60089; Wed, 21 Jun 2023 10:22:38 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-499-gf27bbf33e2-fm-20230619.001-gf27bbf33 Mime-Version: 1.0 Message-Id: <69c742e5-3270-4b1c-be31-1552d877677e@app.fastmail.com> In-Reply-To: <20230621031605.234149-2-ychuang570808@gmail.com> References: <20230621031605.234149-1-ychuang570808@gmail.com> <20230621031605.234149-2-ychuang570808@gmail.com> Date: Wed, 21 Jun 2023 16:22:18 +0200 From: "Arnd Bergmann" To: "Jacky Huang" , "Michael Turquette" , "Stephen Boyd" , "Greg Kroah-Hartman" Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, soc@kernel.org, krzysztof.kozlowski+dt@linaro.org, schung@nuvoton.com, "Jacky Huang" Subject: Re: [PATCH v2 1/2] clk: nuvoton: Add clk-ma35d1.h for driver extern functions Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 21, 2023, at 05:16, Jacky Huang wrote: > From: Jacky Huang > > Moved the declaration of extern functions ma35d1_reg_clk_pll() and > ma35d1_reg_adc_clkdiv() from the .c files to the newly created header > file clk-ma35d1.h. > > Signed-off-by: Jacky Huang > #define PLL_MAX_NUM 5 > @@ -20,19 +22,19 @@ static DEFINE_SPINLOCK(ma35d1_lock); > #define REG_CLK_PWRCTL 0x00 > #define REG_CLK_SYSCLK0 0x04 > #define REG_CLK_SYSCLK1 0x08 > -#define REG_CLK_APBCLK0 0x0C > +#define REG_CLK_APBCLK0 0x0c > #define REG_CLK_APBCLK1 0x10 > #define REG_CLK_APBCLK2 0x14 > #define REG_CLK_CLKSEL0 0x18 > -#define REG_CLK_CLKSEL1 0x1C > +#define REG_CLK_CLKSEL1 0x1c > #define REG_CLK_CLKSEL2 0x20 > #define REG_CLK_CLKSEL3 0x24 > #define REG_CLK_CLKSEL4 0x28 > -#define REG_CLK_CLKDIV0 0x2C > +#define REG_CLK_CLKDIV0 0x2c > #define REG_CLK_CLKDIV1 0x30 > #define REG_CLK_CLKDIV2 0x34 > #define REG_CLK_CLKDIV3 0x38 > -#define REG_CLK_CLKDIV4 0x3C > +#define REG_CLK_CLKDIV4 0x3c > #define REG_CLK_CLKOCTL 0x40 > #define REG_CLK_STATUS 0x50 > #define REG_CLK_PLL0CTL0 0x60 This part of the patch does not relate to the decription, it looks like a minor cleanup that should be a separate patch. The actual change looks good and required, but I can't apply it if it's mixed with unrelated changes like this. Arnd