Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3594692pxb; Mon, 21 Feb 2022 01:19:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQaGYPtSVJcYEfTOZwuTHeRdtU0uR7pUiom6gq2gGK3cW1ZdJCM7eUYi1hNYPUkOGAT2zt X-Received: by 2002:a17:902:b701:b0:14d:b457:e506 with SMTP id d1-20020a170902b70100b0014db457e506mr18040103pls.32.1645435149397; Mon, 21 Feb 2022 01:19:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645435149; cv=none; d=google.com; s=arc-20160816; b=n3cNepyy2yoI0W/xTY7exK2reABUx9H8HJoarEF4vtVZS67WQqCsIfEpm68C4/WKEe AvfzTB7R5FpQGEzE/C1ASQSXLR8xqZoXrXNg8EbfiSYLzGZQGZzydmdMPJtevWiNVypG qHEoiCgUpu/OrmtaYi1I/UMDgOUy1JguQNApdd8DWGjnV/TgQpdRXBqIWUJHppYJTQuo 7D1LbhZbBG6nL02/uh1s8GWSwsK6TOkwYVsbMdVVSKdHdRq8MhM0tGqzazbksKrIdb8R 2cu7ShJi/tPLHe5XbjDwKjTR9AtoEVcwhEkMpvvHQuDRRqbIn4enhGrhHzSFKMmpNeem ITyw== 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=IaYk0/7MCZS2WivmuGCsvre1k3PlmI9ZSnYN3jlruDA=; b=c6Ym/XNyA6rEE7C7w7KqRQZjMIFRP2aj9+k5yD0ar7ITHqrGLchz4crcd5yNXt65Uw BR5InYJ7foyv1sFK2BHbBwmlrZ9j2lnPVL8s3WQL2RSc2vrReR8ptTl/4Qk7EGJ9GnH1 WIsjkJKtmhyVQV7E60XqP4KSikcZeAo71vYD6cVQMZBfKWUXbRTBQFYIZ87cDJLZYvww jCZt4xCXKY+G8UYI14nmetltRS0pDISchqlkUzFcOK255QIU81SiRpkKkL3swHmPWpXs gTkmuV6EKP9mYw26qOTiuHMM66IpZ+Z4EYbEo4IJQ6o99bZJi4A0YeZDp/JBQ1DdnIHQ YglQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mtDdWUx7; 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 t5si30847985plg.360.2022.02.21.01.18.55; Mon, 21 Feb 2022 01:19:09 -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=@linaro.org header.s=google header.b=mtDdWUx7; 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 S1343905AbiBUFlP (ORCPT + 99 others); Mon, 21 Feb 2022 00:41:15 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:59568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239945AbiBUFlO (ORCPT ); Mon, 21 Feb 2022 00:41:14 -0500 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CF3C4AE28 for ; Sun, 20 Feb 2022 21:40:51 -0800 (PST) Received: by mail-pj1-x1032.google.com with SMTP id q11-20020a17090a304b00b001b94d25eaecso14498636pjl.4 for ; Sun, 20 Feb 2022 21:40:51 -0800 (PST) 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=IaYk0/7MCZS2WivmuGCsvre1k3PlmI9ZSnYN3jlruDA=; b=mtDdWUx7cHaFVR3YSjzA8M74X5/BI99pC5C3bqdO4v4LMhYYovmviuR+BcU+E+yuUc k83y89b+9ZNGcnpN761qDCzm+cLkZLz4v27sf9BKyAbK7BbuPinpypWjWkn553lfVbbP DRET8nrGfewlEqTiPW1NitgcH86ywianPHsA9Fg36M/LN8BS2dfV1Ft7neOayfq8aqo5 S5qxA3p31YCBHDG/HGbKLTnPKW2yX/Kvytrxd3rcqzAtfsalo18hAhUlDStunpVSvOOr 7L31fGYvp1UL1DU1iYhyFXku9Z72srT4Nbc6agiRcjh3DCJKYdeUCakCW3QSec6g18Yh 0buA== 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=IaYk0/7MCZS2WivmuGCsvre1k3PlmI9ZSnYN3jlruDA=; b=UVAHS7CHKJDL8uMC9bj4uZOjPcLtbBnd/SqqmNBhxC05xhQWVLatzO4p44v+cowY/W w57JuMCMFIIyJpRSVvqpa/heDF3RXaE6DGO0g8PVFxptoHmkkCeGnkySEpaX8/zr3DcT G5dzjhKPHSIEpDO5qHFfvR7pbQcpy9QA7kSHcInAVOW+weLhI7C7G4b+Ic6GWJ2NqMUq xLmCDHW6JYYDbmklp9R2T226aCZlGCLP8abG1QFcRPd2p1uydKBYm5B1xUOYcoNDD5st lb7OCT4YrmWl3uEQUrmpBDBjihAHtXIOFKn6socMqE1V3NtGG/zjarZb9YJL8Iffvsms yZKw== X-Gm-Message-State: AOAM531tVMAU/rjOBC1Hi+wzQ6EXZp+nCjnsgDNUSzx417vR4fMvsp42 lz+11CwRhJMUq8xPmC4hmlIZ X-Received: by 2002:a17:90a:bb8e:b0:1b9:256c:6c3 with SMTP id v14-20020a17090abb8e00b001b9256c06c3mr20023954pjr.16.1645422050950; Sun, 20 Feb 2022 21:40:50 -0800 (PST) Received: from thinkpad ([220.158.158.223]) by smtp.gmail.com with ESMTPSA id v3-20020a17090abb8300b001bc0740c35dsm5283533pjr.18.2022.02.20.21.40.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Feb 2022 21:40:50 -0800 (PST) Date: Mon, 21 Feb 2022 11:10:45 +0530 From: Manivannan Sadhasivam To: Rohit Agarwal Cc: agross@kernel.org, bjorn.andersson@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, jassisinghbrar@gmail.com, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 4/7] clk: qcom: Add A7 PLL support for SDX65 Message-ID: <20220221054045.GC15108@thinkpad> References: <1645420953-21176-1-git-send-email-quic_rohiagar@quicinc.com> <1645420953-21176-5-git-send-email-quic_rohiagar@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1645420953-21176-5-git-send-email-quic_rohiagar@quicinc.com> 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=unavailable 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 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. > 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. Thanks, Mani > { } > }; > MODULE_DEVICE_TABLE(of, qcom_a7pll_match_table); > -- > 2.7.4 >