Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp10221230rwd; Wed, 21 Jun 2023 18:56:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7LrGnUk0GBkUGUAmfExDpyCxlt91enbwAdpcwTO/mooHUzolgvsPxnPKTZSgjWR7cLVcYY X-Received: by 2002:a17:903:182:b0:1b5:5a5f:368a with SMTP id z2-20020a170903018200b001b55a5f368amr16245754plg.27.1687398962030; Wed, 21 Jun 2023 18:56:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687398962; cv=none; d=google.com; s=arc-20160816; b=udUzrDkGGpl3lg5kc9zTh8doe49UTtE+b/m1O+jXHWTGeexC39hEl8XUdiqZt1camt 45sM2VgmEU8WPCRVen1mIoy2nlmmBBZmvvyytwkovBArJ8jP8BKSBa+nStG6eItfelKm xx2uejqJCZFvR5hgXg8EB5H6rzKa7IWKE/WQmZms1bJWenEMl+2mmUJDentIfeUigHrG vE1rMLDGh47XAfmP7vsPGkYuXHQla64T2AQ5A06evQL/ysn8Oy+DGVWCi8KDeg/vRgpA XFjNPhfIaV5OUIrcdQlbolvBxQQ0Slj+FN7k3A4eHS8XvCuitvdNrpKvDtVLeZ4Pc42z Fpmg== 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:dkim-signature; bh=XPACPjybs01Q+xtyqR1I7Lb0wmi+vfdHQMuD/c6ZGUE=; b=uYxxPjPxkip5o1Ul2TNAX8XmjvhvDFZJK4cPcuJDAxsMk4fOr4f0N/e9PiL9k5/b/i hugSmPER/RXFx3hT/dzCR5CJ4IUJmERQCrRBDm4eCE9pHqyETXGt0USm9slpReugYwBE xYFYhaK7ANrFBUt00mmDmnxU7px50o0PEhP/wp2szbJkReCygIX4UMSjIQaVK0f071YG LD604pkhthqCiUyKqbPf6kwwuYsqsfPsbFSR2XJNVRX92SB0e8RLY8TfiJIOfmiwIXci Gq8iREqhFXzCyANhqmBnmWHSBWEXdCyd5iijzUkdQ2M25x2yIMmHIm5YoMSqvvOoiGla QdYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=bngSy2EB; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w22-20020a63af16000000b005303a26dbf8si5386867pge.408.2023.06.21.18.55.49; Wed, 21 Jun 2023 18:56:02 -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=@gmail.com header.s=20221208 header.b=bngSy2EB; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229930AbjFVBmf (ORCPT + 99 others); Wed, 21 Jun 2023 21:42:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229504AbjFVBmc (ORCPT ); Wed, 21 Jun 2023 21:42:32 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1904CEC; Wed, 21 Jun 2023 18:42:31 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1b512309c86so1043285ad.1; Wed, 21 Jun 2023 18:42:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687398150; x=1689990150; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=XPACPjybs01Q+xtyqR1I7Lb0wmi+vfdHQMuD/c6ZGUE=; b=bngSy2EBWoU3OeFsbDA+eyJ5e2IYxEDNg12uoa7PlUI0k8k6aI5VRD3Pjad75jQBfB N6bZC+GjRkhJs8OllpcuGGEJdPgdg8FHLnVVOAhmoua4nCRnmPBtC67AwLMr80VOwiW3 miAqh5Yajefq+VI0WW7l6jpVV3fN3vCn7OPgcq6CiqkwxhoiMygvoOKrHMbnVwhTpIZO Z9KCFWS2oh6ts+4twaRTWE/n9zYvRRmqp4BWQiD+XtQynCaXhcbHtvJEV3fWEBkhM2zb u48adqL89CNvtY5RXq+mADj0zpsWYqgXwvQpVecOOwvw/c5KBfS18FRVmkQhJafCT/dy m8ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687398150; x=1689990150; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=XPACPjybs01Q+xtyqR1I7Lb0wmi+vfdHQMuD/c6ZGUE=; b=TLKmY4l9j9ZsbWxd817ktbb7dYWA3P+AChDgWuO0yw1qHIaj3CpbHj6tsq3+x6t33C Lc4j2Rf+5lk8WErxMr64BVIcpHD9BqDYyz3rgxpTktb9afF9r/XfrEyzBxz0GSelYVuz Ww54h/g9zfHuzWrIaKkepKSlk+ifEXYSSGSRklqGKqhrn5cRaZoLBbk709AGR3qVDhxN Q9Xv5iNOLY87F5QSbxqZBYGNe9hSEZk3Q0YGv1x68wHzq9dVHv1eXP4mnbfufystJ98O TG1pVmQ0I6plTaFViCXh0aFXi4BEeoqgPvDnNPEIq5V7fZbN6MH1EZ0Q0EnTDZzZIKbc iu5g== X-Gm-Message-State: AC+VfDyBANDCc6a/GJbu058Zt2X+WGHxC4oJSfUolO168GhtsLXp31Tf uLeAJJBlkzN11TjEIDr5LOc= X-Received: by 2002:a17:902:bc43:b0:1b6:8233:6f5c with SMTP id t3-20020a170902bc4300b001b682336f5cmr6683859plz.19.1687398150365; Wed, 21 Jun 2023 18:42:30 -0700 (PDT) Received: from [192.168.1.101] (1-160-168-200.dynamic-ip.hinet.net. [1.160.168.200]) by smtp.gmail.com with ESMTPSA id n10-20020a170902e54a00b001b3d6088993sm4118057plf.24.2023.06.21.18.42.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Jun 2023 18:42:29 -0700 (PDT) Message-ID: <19e93057-46e4-1578-9e3e-138bd09cccfc@gmail.com> Date: Thu, 22 Jun 2023 09:42:27 +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 v2 1/2] clk: nuvoton: Add clk-ma35d1.h for driver extern functions To: Arnd Bergmann , 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 References: <20230621031605.234149-1-ychuang570808@gmail.com> <20230621031605.234149-2-ychuang570808@gmail.com> <69c742e5-3270-4b1c-be31-1552d877677e@app.fastmail.com> Content-Language: en-US From: Jacky Huang In-Reply-To: <69c742e5-3270-4b1c-be31-1552d877677e@app.fastmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,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/6/21 下午 10:22, Arnd Bergmann wrote: > 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 Dear Arnd, Thanks for the advice. I will extract the unrelated parts from this patch and create another patch for them. Best Regards, Jacky Huang