From patchwork Thu May 19 06:09:20 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: 12854534 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1101FC433EF for ; Thu, 19 May 2022 06:11:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=qhRGkXLOBlCCyigIZ3eP23bIEwiiE1G5cC3q9cEuU20=; b=la0f8+Sf6lX1J1 4oZSIxUctOX+nS8AFnzCU4WYQP+hUYTlrEcmpPwwbmSGzdfm1p+hhkzJnVGR7W5CpdP7cqFY9y2bi rygDK+nbY+0Y4vOdZQyMzRqeq+51kuzPlinxdFxjBUHK6TpPg37cBRWkCei4n23mAXyfmca/qDYcK UCozrfDDMZ7TPhbDpxd9zFpvSTaedIzwZKdA0ubxiN+Cf+x4Zxp9zQH89mIJNTLymIdq7xkr1CwBi /ZgGkvm7cKlnFelJCPvjlg+MUNTeRLYqRQG9gLpo3OheeeEuJFAuRCIRE8rm/vLafOrJ8tjYAkj3x vVyvQHFud8Ia0tin4arg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nrZM6-005Cv7-Cg; Thu, 19 May 2022 06:09:50 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nrZM0-005Cqb-Ng; Thu, 19 May 2022 06:09:47 +0000 X-UUID: 319546cbeb514c60b7262f0570e491bb-20220518 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.5, REQID:25f6fce0-e430-497e-97c2-756f7afbe425, OB:0, LO B:0,IP:0,URL:5,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,RULE:Release_Ham,ACTI ON:release,TS:5 X-CID-META: VersionHash:2a19b09, CLOUDID:32dfd079-5ef6-470b-96c9-bdb8ced32786, C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,IP:nil,URL:1,File:nil ,QS:0,BEC:nil X-UUID: 319546cbeb514c60b7262f0570e491bb-20220518 Received: from mtkcas67.mediatek.inc [(172.29.193.45)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 392409023; Wed, 18 May 2022 23:09:30 -0700 Received: from mtkmbs07n1.mediatek.inc (172.21.101.16) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 18 May 2022 23:09:28 -0700 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 19 May 2022 14:09:26 +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; Thu, 19 May 2022 14:09:26 +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: Thu, 19 May 2022 14:09:20 +0800 Message-ID: <20220519060924.13493-1-jia-wei.chang@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220518_230944_799782_24ADAD4D X-CRM114-Status: UNSURE ( 8.71 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 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 | 544 +++++++++++++++++- 2 files changed, 540 insertions(+), 7 deletions(-)