Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3541261pxb; Sun, 20 Feb 2022 23:41:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJzy5cM6a4mYxgZ1s145OhFO15GU0qTBrQydE66ylOgrEyGkLJewKF75wUBgsfAyfeEelFX2 X-Received: by 2002:a05:6a00:1954:b0:4e1:7791:6a8e with SMTP id s20-20020a056a00195400b004e177916a8emr19132926pfk.77.1645429309795; Sun, 20 Feb 2022 23:41:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645429309; cv=none; d=google.com; s=arc-20160816; b=wuwYc8Qb2gkHMug/wGQCWde9Le8bK7MszHsXMt/41WZspq+R+m3gF+j82Dn3hEAf7A 010w5ykoTvAtjNDXqTyyiz1eqBFCo0UJgxMmi9d/tObF+/1E2/tKvvMdZ+T04ubPORCk Ux9loTogFM0WpHhsxuVzasM9J+TGyvxmPrK+MLK3LuRPe3nU+Vh8LCfXrDB06WH3Q+o7 TsWQN+kdWBaAF9vn/JGjbt6ToE+MTXjiv6yGNxS2GmP6ZKwJO+ULfuC8L6Le3tV8ePL5 iouHRUlkM375cFEDZfEGXCZaqbCiqeeFBft1RBaZfHGTznSVDBJxrELqBvdw/9a5/BFR px/A== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=M9i+2mhTxJRCulZFPrtapbNZRjl0XH/uP0SlRqgAJXQ=; b=H8KOYCLXLHZ1hqMn7znEjZwdfos02lqktG6fIxTNdf/O2DGjGd9OuhqXP/4ZNwka78 e2lutIl1BcpQhXjvq6qyfVkEzxh3cFRGr6PJCfG6L5ij/HPNhDYhK07b6SP31BOeRvyQ cPmpWc9eGvCP3slBCf+wXfDao4Z5bbRsCN5TR2w0SD9DjBCkZDTjKArygFmIsl2ED+9g YjJR3Se6s1iNvvHYHf4ZkV2NsNX4xM06z+Mei33N+bMUske03HgfDwHFhbVzVmIwtDPZ IJsWD98hsgOm78XmjKe13idI2933ABcs72u6Iktx4cw8pdHRMtii3aXluKSPxZwkPP9s gIPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=SrV+xGWU; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pc15si6087643pjb.67.2022.02.20.23.41.36; Sun, 20 Feb 2022 23:41:49 -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; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=SrV+xGWU; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242512AbiBUH2g (ORCPT + 99 others); Mon, 21 Feb 2022 02:28:36 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:45414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346207AbiBUH2W (ORCPT ); Mon, 21 Feb 2022 02:28:22 -0500 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EB5BBF43; Sun, 20 Feb 2022 23:27:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1645428480; x=1676964480; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=M9i+2mhTxJRCulZFPrtapbNZRjl0XH/uP0SlRqgAJXQ=; b=SrV+xGWUOdShLrRnEYef5XGt5hx0+Pjl6mnZV2THEJduqLK7xK/F30si EjENTbjBvh2irExc7L96dumdNO/gd6LgUcnsliq6Q/4Fo7kcvBb4qchpZ nU4kVbDwMjNkVYFLPFIo3vGbYyinyvTK9kWR68HbwR7f+jytDkpJvbrZW w=; Received: from unknown (HELO ironmsg04-sd.qualcomm.com) ([10.53.140.144]) by alexa-out-sd-02.qualcomm.com with ESMTP; 20 Feb 2022 23:27:59 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg04-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2022 23:27:59 -0800 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Sun, 20 Feb 2022 23:27:58 -0800 Received: from [10.216.3.188] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Sun, 20 Feb 2022 23:27:54 -0800 Message-ID: <9fb3155e-e23e-fccd-7ab9-88f77de1bb78@quicinc.com> Date: Mon, 21 Feb 2022 12:57:51 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: [PATCH v3 4/7] clk: qcom: Add A7 PLL support for SDX65 Content-Language: en-US To: Manivannan Sadhasivam CC: , , , , , , , , , References: <1645420953-21176-1-git-send-email-quic_rohiagar@quicinc.com> <1645420953-21176-5-git-send-email-quic_rohiagar@quicinc.com> <20220221054045.GC15108@thinkpad> From: Rohit Agarwal In-Reply-To: <20220221054045.GC15108@thinkpad> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, 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 2/21/2022 11:10 AM, Manivannan Sadhasivam wrote: > On Mon, Feb 21, 2022 at 10:52:30AM +0530, Rohit Agarwal wrote: >> Add support for PLL found in Qualcomm SDX65 platforms which is used to >> provide clock to the Cortex A7 CPU via a mux. This PLL can provide high >> frequency clock to the CPU above 1GHz as compared to the other sources >> like GPLL0. >> >> In this driver, the power domain is attached to the cpudev. This is >> required for CPUFreq functionality and there seems to be no better place >> to do other than this driver (no dedicated CPUFreq driver). >> > This tells what the driver is doing but not essentially what this patch does > i.e., you need to mention how the SDX65 PLL is added to the driver. Since you > are reusing the existing driver, this needs to be mentioned. Will update. >> Signed-off-by: Rohit Agarwal >> --- >> drivers/clk/qcom/Kconfig | 6 +++--- >> drivers/clk/qcom/a7-pll.c | 1 + >> 2 files changed, 4 insertions(+), 3 deletions(-) >> >> diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig >> index 42c8741..5159a1d 100644 >> --- a/drivers/clk/qcom/Kconfig >> +++ b/drivers/clk/qcom/Kconfig >> @@ -29,11 +29,11 @@ config QCOM_A53PLL >> devices. >> >> config QCOM_A7PLL >> - tristate "SDX55 A7 PLL" >> + tristate "A7 PLL driver for SDX55 and SDX65" >> help >> - Support for the A7 PLL on SDX55 devices. It provides the CPU with >> + Support for the A7 PLL on SDX55 and SDX65 devices. It provides the CPU with >> frequencies above 1GHz. >> - Say Y if you want to support higher CPU frequencies on SDX55 >> + Say Y if you want to support higher CPU frequencies on SDX55 and SDX65 >> devices. >> >> config QCOM_CLK_APCS_MSM8916 >> diff --git a/drivers/clk/qcom/a7-pll.c b/drivers/clk/qcom/a7-pll.c >> index c4a53e5..adb2121 100644 >> --- a/drivers/clk/qcom/a7-pll.c >> +++ b/drivers/clk/qcom/a7-pll.c >> @@ -84,6 +84,7 @@ static int qcom_a7pll_probe(struct platform_device *pdev) >> >> static const struct of_device_id qcom_a7pll_match_table[] = { >> { .compatible = "qcom,sdx55-a7pll" }, >> + { .compatible = "qcom,sdx65-a7pll" }, > I think here also you can just reuse the "qcom,sdx55-a7pll" compatible. Ok, Will update. Thanks! > > Thanks, > Mani > >> { } >> }; >> MODULE_DEVICE_TABLE(of, qcom_a7pll_match_table); >> -- >> 2.7.4 >>