From patchwork Mon Jul 10 02:58:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allen-KH Cheng X-Patchwork-Id: 117565 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp4749350vqx; Sun, 9 Jul 2023 20:25:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlFT5zyp1RNKsSPDMMtobN01z9CUPLxHwGONzon2Uiw2UsASOZk2eqcDFkY3eXHIiVVnZkGL X-Received: by 2002:aa7:db91:0:b0:51a:2c81:72ee with SMTP id u17-20020aa7db91000000b0051a2c8172eemr10827776edt.20.1688959529236; Sun, 09 Jul 2023 20:25:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688959529; cv=none; d=google.com; s=arc-20160816; b=FeNChUcS7u8V/y4RDJgYVnIN1Fudpw974+tSB11u9/+RYMkFkyW2KvdV10JSgCRM7w PWNbuNJ/WbIKKREDr0RGEt/EipMlGIzptd6I2ecWrJaUKJljlWqyHuyUkIswoVM4Q3f1 XvL0y4qdcbXSLGRxIzKYm4mP7JO12bjY0XA2tN128JWjooU36tD7+oJFzGg++k1vbnLr mDwnVBJrpQ7t/PDzeH1R70a9+g5tttDc4Z4cx5Y7anR8fXjQJ9xeIRwyKpv/vtd2HXp3 fN9VIoqnQ0uIJ5qv4vcj9mFcJYqwh7JDlS6sHG4ycE4f9Zo4GuFJ4yL19GUd00w/n4CB wrag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=fE00NnLQgBtiRlH8pNZTvBFtXrfctUjKvaoZn2+eQSU=; fh=lP2sIvlcwHqGLxt0Dcb0SZiYqxd2uQbB1ATNNMGvoPw=; b=grSJsKZ/t37Fj5jfQ1RejiwluebEpc1tFaxcrZNNGAfgfirzFxIsfKLEe3fS40m8xF qoC0BZCBa8R03pwdtknDkkU/kqzubp5/JR7oOBmjAvz/REbln9YXggy/sf53Pjns07um KkuMtCbOvUWrcPD9wciO8kSo7b+vM7Db3WNPAdtvXeH64w78obcyx0pGYNGy5rYkpEea urksuvf9cKaInB4oM0QfApk0eV2PlmR/ECYrtxgZUcD+aaAZsanWi1axw9HddmpVtIq3 nUYliLtnXbQsHjPPIZFzZlSUdUxr0mRC93c8Ze3GCfaCfWQ3txnSTwzAuzxjYBeiLhYM N9Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=pHqxHFmY; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e19-20020aa7d7d3000000b0051de2b4090fsi7752316eds.578.2023.07.09.20.25.06; Sun, 09 Jul 2023 20:25:29 -0700 (PDT) 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=@mediatek.com header.s=dk header.b=pHqxHFmY; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230004AbjGJC6s (ORCPT + 99 others); Sun, 9 Jul 2023 22:58:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229539AbjGJC6q (ORCPT ); Sun, 9 Jul 2023 22:58:46 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F24DF1; Sun, 9 Jul 2023 19:58:42 -0700 (PDT) X-UUID: aa8857e41ecd11ee9cb5633481061a41-20230710 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=fE00NnLQgBtiRlH8pNZTvBFtXrfctUjKvaoZn2+eQSU=; b=pHqxHFmYTg8UZscqq0xhoQCm4uOGIF2Q4s7idknb0Jl+3tpgAkLCYnGYyed0HVOo6Ae4jZ0NElMqM0kjLXrhbo9uGIc/TKRh9uAkd8O7kjpZit/+T0p+O7LVGkDKKEecVGDCQjMy/dFmzaHZ3lJ3WOAgHDEgZAtHAbbMyIirvNk=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.27,REQID:a0074fd3-ad69-4618-9acb-a5fbd03a7e1e,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:95 X-CID-INFO: VERSION:1.1.27,REQID:a0074fd3-ad69-4618-9acb-a5fbd03a7e1e,IP:0,URL :0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTION :quarantine,TS:95 X-CID-META: VersionHash:01c9525,CLOUDID:bc8eceda-b4fa-43c8-9c3e-0d3fabd03ec0,B ulkID:230710105839Q2KVK0SQ,BulkQuantity:0,Recheck:0,SF:17|19|48|38|29|28,T C:nil,Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 ,OSI:0,OSA:0,AV:0,LES:1,SPR:NO X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_SDM,TF_CID_SPAM_ASC,TF_CID_SPAM_FAS, TF_CID_SPAM_FSD X-UUID: aa8857e41ecd11ee9cb5633481061a41-20230710 Received: from mtkmbs13n1.mediatek.inc [(172.21.101.193)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1862014506; Mon, 10 Jul 2023 10:58:37 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.108) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Mon, 10 Jul 2023 10:58:35 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Mon, 10 Jul 2023 10:58:35 +0800 From: Allen-KH Cheng To: Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Conor Dooley CC: , , , , , , Allen-KH Cheng Subject: [PATCH] arm64: dts: mediatek: mt8192: Add SVS node Date: Mon, 10 Jul 2023 10:58:34 +0800 Message-ID: <20230710025834.20513-1-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,T_SCC_BODY_TEXT_LINE,T_SPF_TEMPERROR,UNPARSEABLE_RELAY 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771002427424292109 X-GMAIL-MSGID: 1771002427424292109 Add MediaTek Smart Voltage Scaling (SVS) node for MT8192 SoC. Signed-off-by: Allen-KH Cheng Reviewed-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi index 5e94cb4aeb44..0131cfefc0a1 100644 --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi @@ -790,6 +790,18 @@ status = "disabled"; }; + svs: svs@1100b000 { + compatible = "mediatek,mt8192-svs"; + reg = <0 0x1100b000 0 0x1000>; + interrupts = ; + clocks = <&infracfg CLK_INFRA_THERM>; + clock-names = "main"; + nvmem-cells = <&svs_calibration>, <&lvts_e_data1>; + nvmem-cell-names = "svs-calibration-data", "t-calibration-data"; + resets = <&infracfg MT8192_INFRA_RST3_THERM_CTRL_PTP_SWRST>; + reset-names = "svs_rst"; + }; + pwm0: pwm@1100e000 { compatible = "mediatek,mt8183-disp-pwm"; reg = <0 0x1100e000 0 0x1000>;