From patchwork Mon Nov 4 01:39:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 11224841 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 49C0116B1 for ; Mon, 4 Nov 2019 01:40:32 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 1C2F7222C7 for ; Mon, 4 Nov 2019 01:40:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Y4RmKxLX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1C2F7222C7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lluxaQews9ExiDoj0a0xB/3dz1zui664glDagF3sz8E=; b=Y4RmKxLXobe4KI IwxGmnpjvXU7VM8WpRJQp/3kEcjdmFHADPmuu2tEOMWzrMCG49myl+yZv+zBskLihwfD2a3UJCdx+ jlq2kuLbwfw8KLW2iDaGyZuzc6kPa9NFO0Jva3WgXhutMLHFTerucO0CcXOyenauZcWf7QgUIsDc7 90+fVPE97LjKN3PbaEEvIA8jP5MuwQZ3sBatMIdT9RFkCCePUw7LqnXRUF4hUGWoJK1OOeQeuUeKj 2UOOC1DBEmqX0GziCrPLvIlL3zGDL5Szr/tCqpT0jsMKkhh6GC9t/puGMyqc3NlnGif4ey0pTBOkr /5VPwc16gfp/YSRcFfmw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iRRM7-0003JS-Nu; Mon, 04 Nov 2019 01:40:31 +0000 Received: from mx2.suse.de ([195.135.220.15] helo=mx1.suse.de) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iRRM5-0003Hm-G7; Mon, 04 Nov 2019 01:40:31 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 81A9CB1AC; Mon, 4 Nov 2019 01:40:26 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Subject: [RFC 3/7] arm64: dts: realtek: rtd1295: Add Mali node Date: Mon, 4 Nov 2019 02:39:28 +0100 Message-Id: <20191104013932.22505-4-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191104013932.22505-1-afaerber@suse.de> References: <20191104013932.22505-1-afaerber@suse.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191103_174029_679699_5312C764 X-CRM114-Status: UNSURE ( 8.82 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [195.135.220.15 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , =?utf-8?q?A?= =?utf-8?q?ndreas_F=C3=A4rber?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/rtd1295.dtsi | 85 ++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/arch/arm64/boot/dts/realtek/rtd1295.dtsi b/arch/arm64/boot/dts/realtek/rtd1295.dtsi index 93f0e1d97721..61aa4f47c70b 100644 --- a/arch/arm64/boot/dts/realtek/rtd1295.dtsi +++ b/arch/arm64/boot/dts/realtek/rtd1295.dtsi @@ -69,6 +69,91 @@ ; }; + + mali_opp_table: gpu-opp-table { + compatible = "operating-points-v2"; + + opp@620000000 { + opp-hz = /bits/ 64 <620000000>; + opp-microvolt = <1100000>; + }; + + opp@600000000 { + opp-hz = /bits/ 64 <600000000>; + opp-microvolt = <1100000>; + }; + + opp@580000000 { + opp-hz = /bits/ 64 <580000000>; + opp-microvolt = <1075000>; + }; + + opp@560000000 { + opp-hz = /bits/ 64 <560000000>; + opp-microvolt = <1075000>; + }; + + opp@540000000 { + opp-hz = /bits/ 64 <540000000>; + opp-microvolt = <1050000>; + }; + + opp@520000000 { + opp-hz = /bits/ 64 <520000000>; + opp-microvolt = <1025000>; + }; + + opp@500000000 { + opp-hz = /bits/ 64 <500000000>; + opp-microvolt = <1000000>; + }; + + opp@460000000 { + opp-hz = /bits/ 64 <460000000>; + opp-microvolt = <1000000>; + }; + + opp@440000000 { + opp-hz = /bits/ 64 <440000000>; + opp-microvolt = <1000000>; + }; + + opp@400000000 { + opp-hz = /bits/ 64 <400000000>; + opp-microvolt = <1000000>; + }; + + opp@380000000 { + opp-hz = /bits/ 64 <380000000>; + opp-microvolt = <975000>; + }; + + opp@340000000 { + opp-hz = /bits/ 64 <340000000>; + opp-microvolt = <975000>; + }; + + opp@300000000 { + opp-hz = /bits/ 64 <300000000>; + opp-microvolt = <900000>; + }; + }; + + soc { + mali: gpu@98050000 { + compatible = "realtek,rtd1295-mali", "arm,mali-t820"; + reg = <0x98050000 0x10000>; + clocks = <&clkc RTD1295_CLK_EN_GPU>; + clock-names = "core"; + resets = <&reset1 RTD1295_RSTN_GPU>; + interrupts = , + , + ; + interrupt-names = "job", "mmu", "gpu"; + operating-points-v2 = <&mali_opp_table>; + #cooling-cells = <2>; + }; + }; }; &arm_pmu {