From patchwork Wed Sep 29 04:42:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 12524623 X-Patchwork-Delegate: cw00.choi@samsung.com 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43514C4332F for ; Wed, 29 Sep 2021 04:43:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2C69661407 for ; Wed, 29 Sep 2021 04:43:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244259AbhI2Eoy (ORCPT ); Wed, 29 Sep 2021 00:44:54 -0400 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:39817 "EHLO new1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244133AbhI2Eoo (ORCPT ); Wed, 29 Sep 2021 00:44:44 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id E694E580B80; Wed, 29 Sep 2021 00:43:02 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 29 Sep 2021 00:43:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=efuiFrtjndofu Egsj8FZPu6HgWCshxeWqk8FHljRCbQ=; b=k39JyxxxhODLljXlvg2D/LDnVzdR0 wkhJMffEy3bjSTFSdl1HCUfvxCZbTc1PKGwiOvpf68hsos4GZStM0u6t0C67oJ1N 5hMQy3/tAFzenf64n5mgNX5xj5Azi40ZBnAaAfHq7jtD85uqFFhJjpyCrtSiVQPO QXo2d1VnK2DEYkrM9RkPj7PVIgnzegNxJD7Xy0MI9oJCtHDijILmZzLjuAB1R+Ul HfdLSSwXWSutK6yTSYJiPrg5jmMIQ4U5E+mUU42ibEWOry31tB2/hO+OynyrT9Ki uIv6vMNjE/5W6AQlNFP5T1oiU2Buej/j1VeKSmAZW47sLLqfjJi/HApaA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=efuiFrtjndofuEgsj8FZPu6HgWCshxeWqk8FHljRCbQ=; b=ZOPui9Bw 09y6zBXbyqII/MGnVmgn5Tqg9TfpV+z1kKfrij8MvJc+PnbkKj8M6vqP+zErPBvt /8+PdGvoWxE+VbGT5Daa9gLAc6BjWTBeMPVZt71AGQ6g42S931U4I4I9HVDLoyvx XpkDP8M2lxaBojgu0t801bMnbSK8i3yX18NxB8yLhE+M69hMkLINiIFt/qE6XfJC JQYDMFx94EpDh0Z2LYUDnRW1EbP7R215JQVUBlpn0QI+g+j/bxzaoeBCSUAgg1ym ARJH+PixpaB1oSBHSfTmHSUQYL9jRTp1q4chtKpx4JyQ6gaPgb9qyWRi/+0mQbBQ GejR2JM6A22qlQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudekuddgkeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpeduhfejfedvhffgfeehtefghfeiiefgfeehgfdvvdevfeegjeehjedv gfejheeuieenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhroh hmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 29 Sep 2021 00:43:02 -0400 (EDT) From: Samuel Holland To: MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , Rob Herring Cc: Michael Turquette , Stephen Boyd , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Samuel Holland Subject: [PATCH 09/10] arm64: dts: allwinner: a64: Update MBUS node Date: Tue, 28 Sep 2021 23:42:53 -0500 Message-Id: <20210929044254.38301-10-samuel@sholland.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210929044254.38301-1-samuel@sholland.org> References: <20210929044254.38301-1-samuel@sholland.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org In order to support memory dynamic frequency scaling (MDFS), the MBUS binding now requires enumerating more resources. Provide them in the device tree. Signed-off-by: Samuel Holland --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 6ddb717f2f98..609a59c6c778 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -1129,8 +1129,14 @@ pwm: pwm@1c21400 { mbus: dram-controller@1c62000 { compatible = "allwinner,sun50i-a64-mbus"; - reg = <0x01c62000 0x1000>; - clocks = <&ccu 112>; + reg = <0x01c62000 0x1000>, + <0x01c63000 0x1000>; + reg-names = "mbus", "dram"; + clocks = <&ccu CLK_MBUS>, + <&ccu CLK_DRAM>, + <&ccu CLK_BUS_DRAM>; + clock-names = "mbus", "dram", "bus"; + interrupts = ; #address-cells = <1>; #size-cells = <1>; dma-ranges = <0x00000000 0x40000000 0xc0000000>;