From patchwork Mon Mar 7 12:21:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?SmlhLXdlaSBDaGFuZyAo5by15L2z5YGJKQ==?= X-Patchwork-Id: 12771688 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E42DAC4332F for ; Mon, 7 Mar 2022 12:22:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231656AbiCGMXL (ORCPT ); Mon, 7 Mar 2022 07:23:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242080AbiCGMW4 (ORCPT ); Mon, 7 Mar 2022 07:22:56 -0500 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B22680214; Mon, 7 Mar 2022 04:21:57 -0800 (PST) X-UUID: 923b65cf9fa54cf2b826851fd7005e5e-20220307 X-UUID: 923b65cf9fa54cf2b826851fd7005e5e-20220307 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1360615509; Mon, 07 Mar 2022 20:21:52 +0800 Received: from mtkexhb02.mediatek.inc (172.21.101.103) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 7 Mar 2022 20:21:51 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkexhb02.mediatek.inc (172.21.101.103) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 7 Mar 2022 20:21:51 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 7 Mar 2022 20:21:51 +0800 From: Tim Chang To: "Rafael J . Wysocki" , Viresh Kumar , Rob Herring , Liam Girdwood , Mark Brown , Matthias Brugger , Jia-Wei Chang CC: , , , , , , , , , , Subject: [PATCH 0/4] cpufreq: mediatek: introduce mtk cpufreq Date: Mon, 7 Mar 2022 20:21:47 +0800 Message-ID: <20220307122151.11666-1-jia-wei.chang@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org CPUFREQ is DVFS driver used for power saving by scaling clock frequency and supply voltage of CPUs. This module cooperates with CCI DEVFREQ for certain Mediatek SoCs. Jia-Wei Chang (4): dt-bindings: cpufreq: mediatek: transform cpufreq-mediatek into yaml dt-bindings: cpufreq: mediatek: add mt8186 cpufreq dt-bindings cpufreq: mediatek: clean up cpufreq driver cpufreq: mediatek: add platform data and clean up voltage tracking logic .../bindings/cpufreq/cpufreq-mediatek.yaml | 172 +++++ drivers/cpufreq/mediatek-cpufreq.c | 717 +++++++++--------- 2 files changed, 521 insertions(+), 368 deletions(-) create mode 100644 Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek.yaml