From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6BEC515AA for ; Wed, 13 Jul 2022 03:01:18 +0000 (UTC) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 85DDB5C00BE; Tue, 12 Jul 2022 23:01:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 12 Jul 2022 23:01:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1657681277; x= 1657767677; bh=IX/xuPhA1GhYJNalCXe7PUV3ahJKE0iqzjYmdUN5By4=; b=N GCyoWzlVHaJXrmPU9AnDWIoqY+jhJ8uau0h1esA/9qOQykTiMax3YLh84vfKuTJX 4J6u58Q3BAO/CqNVDIinNyw/00jPP2FWVSK/56DQNpd2igEAxjrYcpI+HH13Xgck 2RsxAG3ipaMc7letBqqLzY9rcCzt7zAYdLIY2iSRsdE+Iq0XgM330n6mG4ejoAbW O56QstjQjN8vZcBWHDBD+fAAVn7e0NbRZOnwaA+GHKZtrCpb9w9CVpH6EfXClh53 m33Rd1H6xfnQS2DdVJ2eBoeF5hJRP3VdPM5cx0tGOK6CUPoiocXNcfJeuxNso4P6 Yxtp/vAyDe26gTFWgRNmQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1657681277; x= 1657767677; bh=IX/xuPhA1GhYJNalCXe7PUV3ahJKE0iqzjYmdUN5By4=; b=G rPmlsUXGYBy9hmyDoQ1f8oHg4igM/LsPLgVGqxHWrQ2szWCrzuV0Vken95P8Qa9j 0JoqD1WBmTiUQyfhPRfzki1Kk4cXjazvdhRZvkMW0KYBRjkcJ5QyAKkgVo+WAYLY go672uzD1x8ZVBIgPwakUykwo/njOTbcVWCl4A/NUsBai7Nj3vXjFSAxZkpYtiTu HixmiLuIbXWadLyFWOzY4e78qaVdDWGFIuqlj5o3Mqvknfjjv2X31M/ytoLs0dOJ FrIsY0v9sVbAm1KpIGoc5zWvS9CfXwzVCwDvehd3V9u5UPEpSv/Xt9AYqxoLFgXl KENaLybUnl02JkgjGhLBQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudejiedgieekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvvehfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpefurghm uhgvlhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenuc ggtffrrghtthgvrhhnpefftdevkedvgeekueeutefgteffieelvedukeeuhfehledvhfei tdehudfhudehhfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 12 Jul 2022 23:01:16 -0400 (EDT) Subject: Re: [PATCH 2/2] dt-bindings: arm: sunxi: Add several MBUS compatibles To: Chanwoo Choi , Chen-Yu Tsai , Jernej Skrabec Cc: Chanwoo Choi , Krzysztof Kozlowski , Maxime Ripard , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev References: <20220702042447.26734-1-samuel@sholland.org> <20220702042447.26734-2-samuel@sholland.org> <59e565e3-8930-9010-7642-2b13607cba61@gmail.com> From: Samuel Holland Message-ID: <3a57d278-295a-313e-ed22-7cc482e9921f@sholland.org> Date: Tue, 12 Jul 2022 22:01:15 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <59e565e3-8930-9010-7642-2b13607cba61@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 7/7/22 3:06 PM, Chanwoo Choi wrote: > Hi Samuel, > > On 22. 7. 2. 13:24, Samuel Holland wrote: >> All of the sunxi SoCs since at least the A33 have a similar structure >> for the MBUS and DRAM controller, but they all have minor differences in >> MBUS port assignments and DRAM controller behavior. Give each SoC its >> own compatible. >> >> Signed-off-by: Samuel Holland >> --- >> >> .../bindings/arm/sunxi/allwinner,sun4i-a10-mbus.yaml | 10 ++++++++++ >> 1 file changed, 10 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun4i-a10-mbus.yaml b/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun4i-a10-mbus.yaml >> index 2b018feb56df..99566688d033 100644 >> --- a/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun4i-a10-mbus.yaml >> +++ b/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun4i-a10-mbus.yaml >> @@ -29,10 +29,20 @@ properties: >> compatible: >> enum: >> - allwinner,sun5i-a13-mbus >> + - allwinner,sun8i-a33-mbus >> + - allwinner,sun8i-a50-mbus >> + - allwinner,sun8i-a83t-mbus >> - allwinner,sun8i-h3-mbus >> - allwinner,sun8i-r40-mbus >> + - allwinner,sun8i-v3s-mbus >> + - allwinner,sun8i-v536-mbus >> + - allwinner,sun20i-d1-mbus >> - allwinner,sun50i-a64-mbus >> + - allwinner,sun50i-a100-mbus >> - allwinner,sun50i-h5-mbus >> + - allwinner,sun50i-h6-mbus >> + - allwinner,sun50i-h616-mbus >> + - allwinner,sun50i-r329-mbus >> >> reg: >> minItems: 1 > > I have a question. > Are there the device drivers for the newly added compatible? There are not DVFS drivers yet. However, the nodes are needed for their dma-ranges property, which affects some other devices that do have drivers. And at least for D1, the MBUS node is used for U-Boot's DRAM driver. Regards, Samuel From mboxrd@z Thu Jan 1 00:00:00 1970 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 6E476C43334 for ; Wed, 13 Jul 2022 03:02:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:Cc:To:Subject:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=gEI7b0gg01PxAsYT94Yk1KTGGbppTxPyQqCjKR+7mUU=; b=u3g0JXMgBpbRqpeVTI045pYF2N fwkABWuGP9cyY/aehoVQtqfaVPNeCqxjERfePsJFIgy7oO24VTt1ckSL+vXGbl6Pvo4oVrQZ7oGB0 rxrxUTQP1KOYcKuzr9kiJT8Xek8l9ucVNc+jczm5YaOGMJGwQkewstL6l7ozbq1IKcikc/pkjnR2o HuBhDhBBcHfXf8uZ0HYZti8oHTMHypaUBgpqPYO4zOEjw/5cI5Xj4AMU+jp23xsZTvNrl6jQtSdCG kI7jLC9qAwpcUVtb7b2o5b++SkLFQM4hje7Kado5aYE81h9EiemzyMgjbEXsf9k74djvtqeG6CMHm EATdhs1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBScr-00H2QQ-RE; Wed, 13 Jul 2022 03:01:22 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBSco-00H2Ol-D4 for linux-arm-kernel@lists.infradead.org; Wed, 13 Jul 2022 03:01:19 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 85DDB5C00BE; Tue, 12 Jul 2022 23:01:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 12 Jul 2022 23:01:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1657681277; x= 1657767677; bh=IX/xuPhA1GhYJNalCXe7PUV3ahJKE0iqzjYmdUN5By4=; b=N GCyoWzlVHaJXrmPU9AnDWIoqY+jhJ8uau0h1esA/9qOQykTiMax3YLh84vfKuTJX 4J6u58Q3BAO/CqNVDIinNyw/00jPP2FWVSK/56DQNpd2igEAxjrYcpI+HH13Xgck 2RsxAG3ipaMc7letBqqLzY9rcCzt7zAYdLIY2iSRsdE+Iq0XgM330n6mG4ejoAbW O56QstjQjN8vZcBWHDBD+fAAVn7e0NbRZOnwaA+GHKZtrCpb9w9CVpH6EfXClh53 m33Rd1H6xfnQS2DdVJ2eBoeF5hJRP3VdPM5cx0tGOK6CUPoiocXNcfJeuxNso4P6 Yxtp/vAyDe26gTFWgRNmQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1657681277; x= 1657767677; bh=IX/xuPhA1GhYJNalCXe7PUV3ahJKE0iqzjYmdUN5By4=; b=G rPmlsUXGYBy9hmyDoQ1f8oHg4igM/LsPLgVGqxHWrQ2szWCrzuV0Vken95P8Qa9j 0JoqD1WBmTiUQyfhPRfzki1Kk4cXjazvdhRZvkMW0KYBRjkcJ5QyAKkgVo+WAYLY go672uzD1x8ZVBIgPwakUykwo/njOTbcVWCl4A/NUsBai7Nj3vXjFSAxZkpYtiTu HixmiLuIbXWadLyFWOzY4e78qaVdDWGFIuqlj5o3Mqvknfjjv2X31M/ytoLs0dOJ FrIsY0v9sVbAm1KpIGoc5zWvS9CfXwzVCwDvehd3V9u5UPEpSv/Xt9AYqxoLFgXl KENaLybUnl02JkgjGhLBQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudejiedgieekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvvehfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpefurghm uhgvlhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenuc ggtffrrghtthgvrhhnpefftdevkedvgeekueeutefgteffieelvedukeeuhfehledvhfei tdehudfhudehhfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 12 Jul 2022 23:01:16 -0400 (EDT) Subject: Re: [PATCH 2/2] dt-bindings: arm: sunxi: Add several MBUS compatibles To: Chanwoo Choi , Chen-Yu Tsai , Jernej Skrabec Cc: Chanwoo Choi , Krzysztof Kozlowski , Maxime Ripard , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev References: <20220702042447.26734-1-samuel@sholland.org> <20220702042447.26734-2-samuel@sholland.org> <59e565e3-8930-9010-7642-2b13607cba61@gmail.com> From: Samuel Holland Message-ID: <3a57d278-295a-313e-ed22-7cc482e9921f@sholland.org> Date: Tue, 12 Jul 2022 22:01:15 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <59e565e3-8930-9010-7642-2b13607cba61@gmail.com> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220712_200118_561463_40088F21 X-CRM114-Status: GOOD ( 16.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 7/7/22 3:06 PM, Chanwoo Choi wrote: > Hi Samuel, > > On 22. 7. 2. 13:24, Samuel Holland wrote: >> All of the sunxi SoCs since at least the A33 have a similar structure >> for the MBUS and DRAM controller, but they all have minor differences in >> MBUS port assignments and DRAM controller behavior. Give each SoC its >> own compatible. >> >> Signed-off-by: Samuel Holland >> --- >> >> .../bindings/arm/sunxi/allwinner,sun4i-a10-mbus.yaml | 10 ++++++++++ >> 1 file changed, 10 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun4i-a10-mbus.yaml b/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun4i-a10-mbus.yaml >> index 2b018feb56df..99566688d033 100644 >> --- a/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun4i-a10-mbus.yaml >> +++ b/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun4i-a10-mbus.yaml >> @@ -29,10 +29,20 @@ properties: >> compatible: >> enum: >> - allwinner,sun5i-a13-mbus >> + - allwinner,sun8i-a33-mbus >> + - allwinner,sun8i-a50-mbus >> + - allwinner,sun8i-a83t-mbus >> - allwinner,sun8i-h3-mbus >> - allwinner,sun8i-r40-mbus >> + - allwinner,sun8i-v3s-mbus >> + - allwinner,sun8i-v536-mbus >> + - allwinner,sun20i-d1-mbus >> - allwinner,sun50i-a64-mbus >> + - allwinner,sun50i-a100-mbus >> - allwinner,sun50i-h5-mbus >> + - allwinner,sun50i-h6-mbus >> + - allwinner,sun50i-h616-mbus >> + - allwinner,sun50i-r329-mbus >> >> reg: >> minItems: 1 > > I have a question. > Are there the device drivers for the newly added compatible? There are not DVFS drivers yet. However, the nodes are needed for their dma-ranges property, which affects some other devices that do have drivers. And at least for D1, the MBUS node is used for U-Boot's DRAM driver. Regards, Samuel _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel