Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp625798iog; Fri, 24 Jun 2022 10:27:46 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uzgdwGrSV0NehRF6TZpC3QY4/kLqJvNeCJ9aIFLwypprNfmEAHxJlHPE9Rx8r9913Jof8r X-Received: by 2002:a17:907:7f03:b0:726:2d20:ea76 with SMTP id qf3-20020a1709077f0300b007262d20ea76mr70441ejc.586.1656091665777; Fri, 24 Jun 2022 10:27:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656091665; cv=none; d=google.com; s=arc-20160816; b=0Yr5KQ7cU3q5MypMRcE0jxAvgIgv/K7Tn3dARHGu4rwkWDdZEGJlqnFCqSyhOUhpOq 0iewSG23wqZus0i/k64dCDqoxTPvKywxJJxzn1uWXJ45AJavRoGyTCsMrEV6eDInA2Nw JqDC+pdTYVOEjvRbdVfIIgX87lZ9EYtbwDhgyQ/7GeiX9QNE6t8iy9BML997fnJlJwlt tZ+DYB8aodH22/L+CA7OTPL7cpcuT0uUgmBHZzgl8oh2gwqIZH3CYVKbnWIKcOnn75+7 Vt8gyZKxwGRSXz8Er5+0LV6lzCTDe9hKGPOE3zb5bK8ZABej4Deat9tYd+9D0Q8EdpFS hbyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=0+0vhPEExLAjmHmvWpzqEFXlBkwHLniOzXACImlZjrY=; b=t6SfBJu1LeQGL66HKHSvTNxTryCBPPTcWRByjh0dmc/bUxoDCslbLJpMRnfMAD/1Tr nrhSBDlP8Pk5vrYWnWmqHL4KThpqNaE6dTR4Af2+k0T1LcvcS6h7cixhx38wwONpzTEb HOYrWFScGAAhdPw2BdbbwMfYX/QSV2Z7kee8AiPoq3T+xtua+EzyzEuLU+tDbhz0fTFH vT02fE05nGn1+TRPM8OUyXXrqmrJGaxYdRTsIJUwOnVjyEPyoGauF8E9K5deUMtU6lrL 45moP/nHHujW8GSjvamBeCL0vRm0peD3/qt75gIZC3J7zlhFfh8fQXxzn0DNGTSyZ8gw neGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y3mu5a2l; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hb11-20020a170907160b00b00712128834a9si4018432ejc.501.2022.06.24.10.27.20; Fri, 24 Jun 2022 10:27:45 -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=@linaro.org header.s=google header.b=Y3mu5a2l; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231620AbiFXRGJ (ORCPT + 99 others); Fri, 24 Jun 2022 13:06:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231526AbiFXRGF (ORCPT ); Fri, 24 Jun 2022 13:06:05 -0400 Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CECF24D60A for ; Fri, 24 Jun 2022 10:06:04 -0700 (PDT) Received: by mail-oi1-x22d.google.com with SMTP id u9so4297470oiv.12 for ; Fri, 24 Jun 2022 10:06:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=0+0vhPEExLAjmHmvWpzqEFXlBkwHLniOzXACImlZjrY=; b=Y3mu5a2lveFJrWpQklsmSrTWN64yCIpvDo+RT/i91W74AZ3BUMW1bIWJYDW8u4SaUl dSSx0h06uVpA/sc7sE//Yjzbsc2ju4EIBKcm6Ctr6i2zNCe316zBQvuG7phJiGVrSvUA v3MwBaqJUkqC0QFHo/T+i+m5qlDKhoen47JoXF+6dwTQgqOHDe88bJKcHJ8Q2MXwNphU QzfqxpHXpilXixRBClD67ppKEhEEeYgmdOCx6zQyUJOT4mfCZ1XX9W4uYAuFUPxuyifF hPvrfJd9IIlsZd7mBsZG3aetEzsk77QGIH10KMy4Cv864w062iG8SILWrde16ZGhHxnX 6rfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=0+0vhPEExLAjmHmvWpzqEFXlBkwHLniOzXACImlZjrY=; b=pfqAUX8ZKCritoGMcgDV3We6zxiwd0i1VLpm0zsVxcOKkNvbPZLEy13NAwdy8sIVc9 6BUOAFc4TDnZKwNm5uO9mIkk4NdpWTk3OEKyrJ+ajRawETAWein5TNa6fUKiRD0kU1AA iQuWziId8xFPoIuTNS600TRqSGG5Zx4/0kvaCu4B0zLgg1CoXLrjAIHLgQlr0RnmfVKl LoeCYSCP0NkqQPK+dOIHWVMyCzAXQ0NOyPIltDmU0ZqvYHj/I9T3JqV7gppRAYgrHlmo KWy2Xkb6RnD+aBKP9/IR7V2TOTLzVatW44snLOdJ3pDatvI3J/KBTgnoJqgtgFXR2CDs N85A== X-Gm-Message-State: AJIora9ysxNnCK0ybCMNmBUS+OMiFMCOfmXsW6YuaGQNDTRVnownXWb9 0BBdnvoHL/IyUH+F/uyQ+ku5dQ== X-Received: by 2002:a05:6808:23cb:b0:335:2987:1209 with SMTP id bq11-20020a05680823cb00b0033529871209mr38099oib.69.1656090364070; Fri, 24 Jun 2022 10:06:04 -0700 (PDT) Received: from ripper (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id i14-20020a056830402e00b0060b128b935csm1807450ots.39.2022.06.24.10.06.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jun 2022 10:06:03 -0700 (PDT) Date: Fri, 24 Jun 2022 10:08:05 -0700 From: Bjorn Andersson To: Taniya Das Cc: Stephen Boyd , Michael Turquette ? , Rajendra Nayak , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 1/4] clk: qcom: sc7280: Update clk_init_data to const for GCC Message-ID: References: <20220202183528.3911-1-tdas@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220202183528.3911-1-tdas@codeaurora.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Wed 02 Feb 10:35 PST 2022, Taniya Das wrote: > Update clk_init_data to const and also use index instead of fw_name for > global clock controller. > > Fixes: a3cc092196ef6 ("clk: qcom: Add Global Clock controller (GCC) driver for SC7280") > Signed-off-by: Taniya Das Hi Taniya, I'm not able to find a new revision of this series in the inbox, could you please respin it? > --- > drivers/clk/qcom/gcc-sc7280.c | 362 +++++++++++++++++----------------- > 1 file changed, 181 insertions(+), 181 deletions(-) > > diff --git a/drivers/clk/qcom/gcc-sc7280.c b/drivers/clk/qcom/gcc-sc7280.c > index 423627d49719..ccecd3d8a6d9 100644 > --- a/drivers/clk/qcom/gcc-sc7280.c > +++ b/drivers/clk/qcom/gcc-sc7280.c > @@ -1,6 +1,6 @@ > // SPDX-License-Identifier: GPL-2.0-only > /* > - * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. > + * Copyright (c) 2020-2022, The Linux Foundation. All rights reserved. > */ > > #include > @@ -45,10 +45,10 @@ static struct clk_alpha_pll gcc_gpll0 = { > .clkr = { > .enable_reg = 0x52010, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data){ > + .hw.init = &(const struct clk_init_data){ And while doing so, please split this into one patch adding the const... > .name = "gcc_gpll0", > .parent_data = &(const struct clk_parent_data){ > - .fw_name = "bi_tcxo", > + .index = 0, and a separate patch changing fw_name to index. If there are regressions we want to be able to bisect it down to the right one. Also, please add a define for BI_TCXO, instead of having a comment in most places - like I did in gcc-sc8280xp.c (but as we have existing dts I don't think it's wise to replace all fw_name entries with .index).. Thanks, Bjorn