Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4344858pxy; Tue, 27 Apr 2021 02:51:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZ7sEsNJg2qQwW6UqTTvxo/s8yi6jiuZKdn8yCFhEFiCd8/33zDgqyj36sXk2RHQhZInSP X-Received: by 2002:a17:906:600b:: with SMTP id o11mr22837710ejj.345.1619517072156; Tue, 27 Apr 2021 02:51:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619517072; cv=none; d=google.com; s=arc-20160816; b=Dw1+/zo6TAIkQOveMtfNglyTtbGbCLymI1NYsngTYXEyAcxPa+8x5xjhqHtBw7MJSp fFSYl4ImrURdkb++W4uZM1VaZUeRwBMdA2GJVmoOiCbjmhxHeIIiDCc6PxyB2Z4s2Qae Rh22Zmtf70cgRRTEzNFbt23eSRe3IgNNkja1lmqI72N3r0wTFKx70ECiRo6CCcELPD0H vYzcSNKo2uAZ7KDvZKAlebz5p8tqA0QNRRRhb1ACVfL6He+qJ5vVtxud8nBwzMx1WXVi dYlX/dMb/RpyL8XcrnnJcEp6Ycy9WiIvfTH6uTElWnVY2pLdNc9jS8294+cl9YoAdTUh zspg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dmarc-filter:sender:dkim-signature; bh=8AsmZyBIhvhaE3uaf1AcLPrkdQJjpoWFs7gTSVdvoi0=; b=ApkEb73E0OLfrcUfm1zZTs9KtrBvcVM7sNyLvrBl9x27vp/VfRlsKFnPCCIiEeRQkL 5lFA4xG6WXBeER6b/FOmYSXJg9v4MFKdX9EsMjGpsCfTTTUliQ3PZ8Id49zslVKKDSWq NxEENQ16eVMIqXyYZTSofOjfCYBs+7WppC9lOsWJwyDBJXs5LPhdSj6j+Vr//1I+KgEk EB8umCodSI9t5SKYlcItrKdPyVu2/iz1QtHKAaneuIrJrgwqxtPwKIg1gTQ0aO+xuX/L AEgLJ7oHDHeRlQidqeMnORCIaYSXKR1azqWzET8Ffw4sSPgghuxPS/G3jRptPcjysEZf TiYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=hWvZ+xfW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c2si3647945ejx.595.2021.04.27.02.50.48; Tue, 27 Apr 2021 02:51:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=hWvZ+xfW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235304AbhD0JtZ (ORCPT + 99 others); Tue, 27 Apr 2021 05:49:25 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:53392 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235262AbhD0JtY (ORCPT ); Tue, 27 Apr 2021 05:49:24 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1619516921; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=8AsmZyBIhvhaE3uaf1AcLPrkdQJjpoWFs7gTSVdvoi0=; b=hWvZ+xfWRhBOTpIhso6iM9iNAhASRMyzJxBdv7vh2MwR0svayzVh+V2HpZE9TBSPKMysw4zL GvRjcOZy16hLs69A1lsobxZJAJ0Tz96YXS1407NMQ7rgw28T8v5cW6I7QZOIBVHm/U3BON2g BHGeZPzmN9E18gMYqldHS5goWy8= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n07.prod.us-west-2.postgun.com with SMTP id 6087ddea2cc44d3aeac4ddfb (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 27 Apr 2021 09:48:26 GMT Sender: tdas=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id B28D0C4338A; Tue, 27 Apr 2021 09:48:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, NICE_REPLY_A,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from [192.168.0.102] (unknown [49.204.181.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: tdas) by smtp.codeaurora.org (Postfix) with ESMTPSA id 666EDC433D3; Tue, 27 Apr 2021 09:48:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 666EDC433D3 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=tdas@codeaurora.org Subject: Re: [PATCH v1 4/6] clk: qcom: Add graphics clock controller driver for SC7280 To: Stephen Boyd , Michael Turquette Cc: Rajendra Nayak , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh@kernel.org, robh+dt@kernel.org References: <1615944142-12171-1-git-send-email-tdas@codeaurora.org> <1615944142-12171-5-git-send-email-tdas@codeaurora.org> <161786654585.3790633.12597782416303763853@swboyd.mtv.corp.google.com> From: Taniya Das Message-ID: <575a9235-7753-d589-2173-050a16063b71@codeaurora.org> Date: Tue, 27 Apr 2021 15:18:20 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <161786654585.3790633.12597782416303763853@swboyd.mtv.corp.google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Stephen, Thank you for your review. On 4/8/2021 12:52 PM, Stephen Boyd wrote: > Quoting Taniya Das (2021-03-16 18:22:20) >> +static struct clk_regmap_div gpu_cc_hub_ahb_div_clk_src = { >> + .reg = 0x11c0, >> + .shift = 0, >> + .width = 4, >> + .clkr.hw.init = &(struct clk_init_data) { >> + .name = "gpu_cc_hub_ahb_div_clk_src", >> + .parent_data = &(const struct clk_parent_data){ >> + .hw = &gpu_cc_hub_clk_src.clkr.hw, > > Can you follow what Dmitry has done and use .hws instead of > clk_parent_data when the whole array is clk_hw pointers? > Will update them in the next patch. >> + }, >> + .num_parents = 1, >> + .flags = CLK_SET_RATE_PARENT, >> + .ops = &clk_regmap_div_ro_ops, >> + }, >> +}; >> + -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation. --