Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp82992pxb; Tue, 15 Feb 2022 06:04:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJwGo0I/9hq1ZmHdcyK11GEkRrvPrw1RQjdfh+4Keo4Ww7iPo7mKafISMSbExD4ygg9TWGnJ X-Received: by 2002:a05:6871:6a1:b0:d2:9f85:b3d1 with SMTP id l33-20020a05687106a100b000d29f85b3d1mr1369714oao.299.1644933896620; Tue, 15 Feb 2022 06:04:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644933896; cv=none; d=google.com; s=arc-20160816; b=ZxqtGoEIgWUKBpQDw4d7aGtfO13vicm/xmjkYJSkpBLs+nYHmO6uadLZV4inQz70uu 5msieRaqN0F8Bpx/e4Zc1DxN6OG6aaxdHwj44Qy2vZuR5yWvh4c3A5z+ydaL4ocOsaZV +M/1LUyUE6XX66bnBu2UcvKGrg0vKgCeEIiyVvhWW67SNzfE+UyElFcnuQ8EPJ3UZlDC 1ewi41IKfI3tx9yOtaUSGTst1V5SzUxQHsEmzE5Z5aSoLDiAtbxcDX54XiaFXpaypjSN 7aeZ5tb4KaD8fEp6bJst5QjkV6kSF/penMsuWpsFVU2CLrnwd8G0Z72FNTU3gS5AH2Fp EZAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=6AwSMXffc+ZIF68gcqh0h7X3F8Mo1HWIO+7WbtTu0i4=; b=LJ4Bdq08LwiCvL+I3Egwkwm4kQiVqFxEVp6CDM9snfRoLjLiL3W6kSAvif+cwiOR+Z EnpVno0vv134TNy2nUGyKNuN1H5kjXuMWojJTG6t07gMoevTkMVvBN01ngK2AEiw0G0v np5Ke6Y3aOY1IEv5A2hkkbJ6emXQw/Zuj1qH8RMIDzTVPP2C3kFESG+tqMRNl5dCdQrU aJJotZPJ5SrwzW1ow31er6A9tulnr0fHfMbPMzB6waEvj68iEDSuLHCsKhiNSCBhJj10 /0pLUtHQP/mcpkE0ffvV0296+uOhOqxnIeyJFRPkjQh7eWu30ad/wa+MvHUdmkfVDA4q Sh1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=RiIlFbl8; 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 l6si9328173oao.356.2022.02.15.06.04.35; Tue, 15 Feb 2022 06:04:56 -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=RiIlFbl8; 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 S236322AbiBOKJk (ORCPT + 99 others); Tue, 15 Feb 2022 05:09:40 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:43924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233726AbiBOKJj (ORCPT ); Tue, 15 Feb 2022 05:09:39 -0500 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89A1B88B1D; Tue, 15 Feb 2022 02:09:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1644919770; x=1676455770; h=from:to:cc:subject:date:message-id; bh=6AwSMXffc+ZIF68gcqh0h7X3F8Mo1HWIO+7WbtTu0i4=; b=RiIlFbl8L32mEk6Ub85kj8tMvE/5zyiUGuXS3Ighwpl2/DutdLK9r6yN s3l6IIgxbY4G+RaYUqfTsNUHyCnB96WX3i8GE4hbokz+k1Oee40zg60G5 0ZrgfKtAIBs9pouixgBo6/5Q9N1zGqmuAI8Ppd3BwK0PVoZMmZQkH3t6N E=; Received: from ironmsg-lv-alpha.qualcomm.com ([10.47.202.13]) by alexa-out.qualcomm.com with ESMTP; 15 Feb 2022 02:09:30 -0800 X-QCInternal: smtphost Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg-lv-alpha.qualcomm.com with ESMTP/TLS/AES256-SHA; 15 Feb 2022 02:09:28 -0800 X-QCInternal: smtphost Received: from hu-rohiagar-hyd.qualcomm.com (HELO hu-sgudaval-hyd.qualcomm.com) ([10.213.106.138]) by ironmsg01-blr.qualcomm.com with ESMTP; 15 Feb 2022 15:39:16 +0530 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id 2EC904665; Tue, 15 Feb 2022 15:39:16 +0530 (+0530) From: Rohit Agarwal To: manivannan.sadhasivam@linaro.org, agross@kernel.org, bjorn.andersson@linaro.org, mturquette@baylibre.com, sboyd@kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, Rohit Agarwal Subject: [PATCH v2 7/7] clk: qcom: Add SDX65 APCS clock controller support Date: Tue, 15 Feb 2022 15:39:13 +0530 Message-Id: <1644919753-28855-1-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 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 a driver config support for the SDX65 APCS clock controller. It is part of the APCS hardware block, which among other things implements a combined mux and half integer divider functionality. The APCS clock controller has 3 parent clocks: 1. Board XO 2. Fixed rate GPLL0 3. A7 PLL This is required for enabling CPU frequency scaling on SDX65-based platforms. Signed-off-by: Rohit Agarwal --- drivers/clk/qcom/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig index 10d75d3..05abf78 100644 --- a/drivers/clk/qcom/Kconfig +++ b/drivers/clk/qcom/Kconfig @@ -55,13 +55,13 @@ config QCOM_CLK_APCC_MSM8996 drivers for dynamic power management. config QCOM_CLK_APCS_SDX55 - tristate "SDX55 APCS Clock Controller" + tristate "SDX55 and SDX65 APCS Clock Controller" depends on QCOM_APCS_IPC || COMPILE_TEST help - Support for the APCS Clock Controller on SDX55 platform. The + Support for the APCS Clock Controller on SDX55, SDX65 platform. The APCS is managing the mux and divider which feeds the CPUs. Say Y if you want to support CPU frequency scaling on devices - such as SDX55. + such as SDX55, SDX65. config QCOM_CLK_RPM tristate "RPM based Clock Controller" -- 2.7.4