From patchwork Mon Oct 4 01:27:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 12533157 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 8A5ACC433F5 for ; Mon, 4 Oct 2021 01:28:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 76C51611C5 for ; Mon, 4 Oct 2021 01:28:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232164AbhJDB3s (ORCPT ); Sun, 3 Oct 2021 21:29:48 -0400 Received: from wnew3-smtp.messagingengine.com ([64.147.123.17]:35719 "EHLO wnew3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232228AbhJDB3m (ORCPT ); Sun, 3 Oct 2021 21:29:42 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.west.internal (Postfix) with ESMTP id A20DF2B0131B; Sun, 3 Oct 2021 21:27:53 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sun, 03 Oct 2021 21:27:54 -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=VcVlHIpR02Sda Pzq24T8/onu1V2deGVBvxBFpQB0Hqc=; b=UkhAPctwnEQ9qGz0pjncxFTt+X/3l 6T0EG3MtYSSvA5oZz5TGjXhj7pKVXw4e4j01yf0Ee8csSBA+9fevE4d+C8/Fw/FJ mhj/LJa/uj5dfbKdVbLOZqYwjNTIMqhRZgQdkZXgChSlFeLyQ31eydiZSmI9i5x1 BDchgf+VGat6U71KzV5yiaudd6YvMBlBETprabWHknmfFyyF/q70OT49CVjyiK6N BI0pH4EZm4jf5lHWwqixCzWP1nKGeQtRy0WQTRjGF1aGoDGsXJ9JeZNZJvWrFCp7 iuNhfA00/4Cumtv9XBUDle6kJmseqNmmn0XNArB3QAGq7pWxMRcYxYZpw== 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= fm1; bh=VcVlHIpR02SdaPzq24T8/onu1V2deGVBvxBFpQB0Hqc=; b=ioRicfyl a3i5JH9X2JMYWoqS9FC0FMrw/gD1M6/b5nx8xWa4bgOwmBLAAwKqcYkbQDGs4vJj JbTP0htKAPB83GFyyliF0G4P2nLN/zz4VpfD9K3yIuch8RU8J40qhcE2IoLVv+Aq Oh4VRlbBky0fvU6FqihOVqqyRYWMhZh4Xi/hKGFkZRWbGCLl4QURusBbVyz4MynZ 9W7KhdQY7xmo8pQSrE2l+faCLZcGoXYx5ltOKJ4oKs2uJtwL8XN2i59YPmRL0TMW DJJINftegMOTYkaiHOhMBnPY55ucq8X0qhCMvJCyG+cODTVSklvxz2BkW10ZeBuU Mxb9cTOQ6hPVkA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeluddggeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpeduhfejfedvhffgfeehtefghfeiiefgfeehgfdvvdevfeegjeehjedv gfejheeuieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 3 Oct 2021 21:27:52 -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 v2 5/6] arm64: dts: allwinner: a64: Update MBUS node Date: Sun, 3 Oct 2021 20:27:38 -0500 Message-Id: <20211004012739.39053-6-samuel@sholland.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211004012739.39053-1-samuel@sholland.org> References: <20211004012739.39053-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 Reviewed-by: Chanwoo Choi --- 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>;