Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp583203ybe; Fri, 6 Sep 2019 04:15:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqyOiki4Hj6L5oPD+fNXPMMqkv6iDDHfzFe9/OlJxd9qaLsTWOdgIt5SgZJVAqdUrgAxrUD8 X-Received: by 2002:a17:902:bd05:: with SMTP id p5mr7967272pls.339.1567768539560; Fri, 06 Sep 2019 04:15:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567768539; cv=none; d=google.com; s=arc-20160816; b=K0zQyr86WIuDr7Ff/UUfKfJzcBGuHwkEjBbt+sxBNHDVX3YatCCPhHVhaZX7unNz54 mXE7tLZLJTY/ugnbem7C6E8qn+IucFr2yH7U79E8vwstf2TSb3KN1Pg5u7FZPFSFU8xt hmJ8S6pGYpXmnHgye0BDgjPTr6vAu+B9tSHw7BG8mCfcwL6+lD2EFuHiamFmMcKaDl2T PrsC7nnzFEiFl6r+JRCNr56+RZLSHa+DTOFXObGzKdIOofLEXtu/7rF55NVctP/MjGQC q5D1HnmRY6iVQmuUXk9ZqIP9U42vN8uvnLmrT6YYCbFzg47j2EJjR0BtBZTWYi2Xq7ax fRpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=cQ/q6i/c5y+ASNVb8fhPPs0eb9ejlrxzpdVGkydvGb4=; b=QbvbE5i3wtrvv/tmez65b0dnupG8gws4cTEFNGrvi+sxwOdipwLu1vW6tEreQTvsGg ol0SL0WW2v14vJDy2owutlPXGGDfjSkBHPcO0uU4E4bitpw32ftp8zxUQ3rS9ENlssSl yT0y5mSAsFOEWccHvQTD/K2XdFOCT7/5mvEZyWnFj5EH31nkrpcDGpXs0WtDOGk4FpWg ML8jgOz5tiIkCSQxoxOLGTlc0UuspnOid9Hg7EHa16EbOYSTwbbS3JRPfw7/9jwvcdmb 5DwJ8Yi6oRqyiVFYDpqwcd6MIIKJmfNXRNfGmwkWe55PdZjp9gMIxHwp0p6X6MviCfXq zlAw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x13si4231192pgr.210.2019.09.06.04.15.23; Fri, 06 Sep 2019 04:15:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390311AbfIFKFt (ORCPT + 99 others); Fri, 6 Sep 2019 06:05:49 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:7095 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1731802AbfIFKFq (ORCPT ); Fri, 6 Sep 2019 06:05:46 -0400 X-UUID: 0d1a76915928484faaaddf40a3c95dd5-20190906 X-UUID: 0d1a76915928484faaaddf40a3c95dd5-20190906 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1005158676; Fri, 06 Sep 2019 18:05:41 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 6 Sep 2019 18:05:38 +0800 Received: from mtksdaap41.mediatek.inc (172.21.77.4) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 6 Sep 2019 18:05:36 +0800 From: Roger Lu To: Kevin Hilman , Rob Herring , Nicolas Boichat , Stephen Boyd CC: Fan Chen , HenryC Chen , , Angus Lin , Mark Rutland , Matthias Brugger , Nishanth Menon , Roger Lu , , , , , Subject: [PATCH v5 2/3] arm64: dts: mt8183: add svs device information Date: Fri, 6 Sep 2019 18:05:14 +0800 Message-ID: <20190906100514.30803-3-roger.lu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190906100514.30803-1-roger.lu@mediatek.com> References: <20190906100514.30803-1-roger.lu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 9FBA1D41D325C9551F47247846E57E9AC6F34033007F8A5A4C42B98883029E182000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add pmic/clock/irq/efuse setting in svs noce Signed-off-by: Roger Lu --- arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 16 +++++++++ arch/arm64/boot/dts/mediatek/mt8183.dtsi | 38 +++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts index d8e555cbb5d3..7c1d6e6a2a85 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts @@ -135,6 +135,22 @@ }; +&svs_cpu_little { + vcpu-little-supply = <&mt6358_vproc12_reg>; +}; + +&svs_cpu_big { + vcpu-big-supply = <&mt6358_vproc11_reg>; +}; + +&svs_cci { + vcci-supply = <&mt6358_vproc12_reg>; +}; + +&svs_gpu { + vgpu-spply = <&mt6358_vgpu_reg>; +}; + &uart0 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index 66aaa07f6cec..48343328bec2 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -351,6 +351,39 @@ status = "disabled"; }; + svs: svs@1100b000 { + compatible = "mediatek,mt8183-svs"; + reg = <0 0x1100b000 0 0x1000>; + interrupts = ; + clocks = <&infracfg CLK_INFRA_THERM>; + clock-names = "main_clk"; + nvmem-cells = <&svs_calibration>, + <&thermal_calibration>; + nvmem-cell-names = "svs-calibration-data", + "calibration-data"; + + svs_cpu_little: svs_cpu_little { + compatible = "mediatek,mt8183-svs-cpu-little"; + operating-points-v2 = <&cluster0_opp>; + }; + + svs_cpu_big: svs_cpu_big { + compatible = "mediatek,mt8183-svs-cpu-big"; + operating-points-v2 = <&cluster1_opp>; + }; + + svs_cci: svs_cci { + compatible = "mediatek,mt8183-svs-cci"; + operating-points-v2 = <&cci_opp>; + }; + + svs_gpu: svs_gpu { + compatible = "mediatek,mt8183-svs-gpu"; + power-domains = <&scpsys MT8183_POWER_DOMAIN_MFG_2D>; + operating-points-v2 = <&gpu_opp_table>; + }; + }; + spi0: spi@1100a000 { compatible = "mediatek,mt8183-spi"; #address-cells = <1>; @@ -439,6 +472,11 @@ compatible = "mediatek,mt8183-efuse", "mediatek,efuse"; reg = <0 0x11f10000 0 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + svs_calibration: calib@580 { + reg = <0x580 0x64>; + }; }; mfgcfg: syscon@13000000 { -- 2.18.0