Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3573896pxb; Mon, 21 Feb 2022 00:45:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzgxphMviwoZuTPzggCmSFrw1+PEMT6TGtBEepA7d4wS/HDh/oJVSEI/eL1zwnMOdKLlavZ X-Received: by 2002:a63:4a63:0:b0:373:a03a:8a1d with SMTP id j35-20020a634a63000000b00373a03a8a1dmr15026919pgl.460.1645433116242; Mon, 21 Feb 2022 00:45:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645433116; cv=none; d=google.com; s=arc-20160816; b=S5zW5AOBc7c4KruL50CJxwbT60c6V4TtGsdP3zU0FENzbv2zmaQ32PSgbSxkW4k9ha NuNSz38Ppw6Xz0Lf5y6pcSXr2NmlapNcn3LWSwYTJ0bZ+V+HjqB1u2YxriB95KeSOk1O Xh3nF9EYT0ka5TW5wSjW78rV2QkfFqYpl6xXvoGoGOS83rJHbQw5WUPgXDkXGEc5/P+f e8IuRqKe25sEMPJDf8dk6ao4ALtzYUb+6im8YBTuj5mjlonzYbJOagT2PrSJXgBx0KZI ieMZHbcntHLOFCcYzMZw1j3DAjMVQriGMvljErAE9IYWQtaM6qx8YB3B4BY5yv4tuMI8 SIYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=TGPshyGLQVn+XUcTmwqZz7StC7gbCPyK/DutjTq1Skw=; b=GO3N8vD5CL5WNbGhHuYA2ooEp6sikgqPHIvxe6ud1NawfZQlhpPO51SbLpUxhdjPWI 0Bl+zD8S4mHonjk94p+fgPMFKI7SizbAq1BkBdRb5wukjWXgcxoMaIB/aWJhFObuCeUB EEGtDKdYE3ROI46LkItYbGT3nf/av62+O73eqhWdADS+e7gD75Ky7/BGo4pBk+Nl5WA8 mlgRjw3uNLX5/h4W2/VxVV2xi+V0UD2KiBorRndUjgsKhaSaRFJ+BC9+D3RHcHX4dvb/ DO9Bu/mvVzBA+DleOyg4uSGDEYAtsVk4IqBIceYDy1IWz8Zww/7eRFDEpX9dgmX7Cbdr LEMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=YK8li8a3; 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 r6si28680306plo.333.2022.02.21.00.45.02; Mon, 21 Feb 2022 00:45:16 -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=YK8li8a3; 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 S1344468AbiBUFXn (ORCPT + 99 others); Mon, 21 Feb 2022 00:23:43 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:49274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344414AbiBUFXf (ORCPT ); Mon, 21 Feb 2022 00:23:35 -0500 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A17ECEB7; Sun, 20 Feb 2022 21:23:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1645420993; x=1676956993; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=TGPshyGLQVn+XUcTmwqZz7StC7gbCPyK/DutjTq1Skw=; b=YK8li8a3qR7IllQzEaIteBgO+0g2lHUFZhJxo5V8I2obXO4wknlsAg0e 0naLa2293gdTJrc0d7fYiWzAQjSTbGSx2EGwlJt0KqPTQqRwKwdjABkwT JFCybB5d9NuJiqZjYfF37urFKFuVwlXYJZgmvwgMLGfx4jX/5qyJvc7p/ s=; Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 20 Feb 2022 21:23:11 -0800 X-QCInternal: smtphost Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 20 Feb 2022 21:23:08 -0800 X-QCInternal: smtphost Received: from hu-rohiagar-hyd.qualcomm.com (HELO hu-sgudaval-hyd.qualcomm.com) ([10.213.106.138]) by ironmsg02-blr.qualcomm.com with ESMTP; 21 Feb 2022 10:52:54 +0530 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id D94DD46C2; Mon, 21 Feb 2022 10:52:53 +0530 (+0530) From: Rohit Agarwal To: agross@kernel.org, bjorn.andersson@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, jassisinghbrar@gmail.com, manivannan.sadhasivam@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rohit Agarwal Subject: [PATCH v3 4/7] clk: qcom: Add A7 PLL support for SDX65 Date: Mon, 21 Feb 2022 10:52:30 +0530 Message-Id: <1645420953-21176-5-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1645420953-21176-1-git-send-email-quic_rohiagar@quicinc.com> References: <1645420953-21176-1-git-send-email-quic_rohiagar@quicinc.com> X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,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 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). 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" }, { } }; MODULE_DEVICE_TABLE(of, qcom_a7pll_match_table); -- 2.7.4