From patchwork Mon May 23 08:40:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jia-Wei Chang X-Patchwork-Id: 575592 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 3D52BC433F5 for ; Mon, 23 May 2022 08:41:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232005AbiEWIly (ORCPT ); Mon, 23 May 2022 04:41:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232069AbiEWIlw (ORCPT ); Mon, 23 May 2022 04:41:52 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 091B024979; Mon, 23 May 2022 01:41:49 -0700 (PDT) X-UUID: 8884c2b80f2b4847843bd6c3bd158728-20220523 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.5, REQID:0809e0a0-a913-4a4f-a164-4783020bb2d3, OB:0, LO B:0,IP:0,URL:5,TC:0,Content:0,EDM:0,RT:0,SF:100,FILE:0,RULE:Release_Ham,AC TION:release,TS:105 X-CID-INFO: VERSION:1.1.5, REQID:0809e0a0-a913-4a4f-a164-4783020bb2d3, OB:0, LOB: 0,IP:0,URL:5,TC:0,Content:0,EDM:0,RT:0,SF:100,FILE:0,RULE:Spam_GS981B3D,AC TION:quarantine,TS:105 X-CID-META: VersionHash:2a19b09, CLOUDID:ff8d35e3-edbf-4bd4-8a34-dfc5f7bb086d, C OID:6a0c5243d316,Recheck:0,SF:28|17|19|48,TC:nil,Content:0,EDM:-3,IP:nil,U RL:1,File:nil,QS:0,BEC:nil X-UUID: 8884c2b80f2b4847843bd6c3bd158728-20220523 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 501867786; Mon, 23 May 2022 16:41:42 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs11n1.mediatek.inc (172.21.101.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.3; Mon, 23 May 2022 16:41:40 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 23 May 2022 16:41:40 +0800 From: Tim Chang To: Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Philipp Zabel , Roger Lu , Kevin Hilman , Jia-Wei Chang CC: , , , , , , AngeloGioacchino Del Regno Subject: [PATCH v2 0/4] soc: mediatek: svs: add support for mt8186 and Date: Mon, 23 May 2022 16:40:30 +0800 Message-ID: <20220523084034.26802-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: devicetree@vger.kernel.org From: Jia-Wei Chang This series supports MT8186 and MT8195 Smart Voltage Scaling (SVS) hardware which used as optimization of opp voltage table for corresponding dvfs drivers. This series is based on Roger's series [1]. [1]: Message ID: 20220516004311.18358-1-roger.lu@mediatek.com Change since v2: - Reuse platform probe of MT8192 for MT8195. - Remove unnecessary svs bank parameters of MT8195. - Remove sw id check for MT8195 efuse parsing. Change since v1: - Add myself as a co-maintainer of mtk-svs.yaml. - Fix MT8186 error handling in platform probe. - Add dt-bindings and support for MT8195 platform. Jia-Wei Chang (4): dt-bindings: soc: mediatek: add mt8186 svs dt-bindings soc: mediatek: svs: add support for mt8186 dt-bindings: soc: mediatek: add mt8195 svs dt-bindings soc: mediatek: svs: add support for mt8195 .../bindings/soc/mediatek/mtk-svs.yaml | 3 + drivers/soc/mediatek/mtk-svs.c | 502 +++++++++++++++++- 2 files changed, 498 insertions(+), 7 deletions(-)