From patchwork Sat Jul 2 04:24:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 586672 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 507B2C433EF for ; Sat, 2 Jul 2022 04:24:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231967AbiGBEYy (ORCPT ); Sat, 2 Jul 2022 00:24:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229538AbiGBEYx (ORCPT ); Sat, 2 Jul 2022 00:24:53 -0400 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DE85286CC; Fri, 1 Jul 2022 21:24:52 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id AEE0D5C01C4; Sat, 2 Jul 2022 00:24:49 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 02 Jul 2022 00:24:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm3; t=1656735889; x=1656822289; bh=FUs7rY0ijqZHdaCKY9CAeZqO4 IX8cpBDkKx0ctlACpk=; b=gRwhEwFVRGjU8ArhtMFEY/kTsiGCdYof0tv2cILq6 46gybqs08hqWZ3MV8em1CyTAZVVN2L2u4/tc1Upifi8Sgs3ikZ0/NioGw4ZCE2Vw 9ytHju6mBbohE2tSboBROAx/AQfPyt4kseSuaIQV4O8GAqGZ/Q8DhVekb672im1z Jm4YjUrdwJNqQE2gDLs5woQz2PBG3WtwZ4RlBA7uveKpp6aF3m8IFbDmSgC2pl9c QcKVco4B4xwMs0rMx8xcXo3XnWlvbf7Ib0n5qYgD6LwkPpsyUh58E4M6kox0SsIa Vsh9hwfb2D1Wdtk35EFMVGeef0oZmYLAhZauIW5hkBpLw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1656735889; x=1656822289; bh=FUs7rY0ijqZHdaCKY9CAeZqO4IX8cpBDkKx 0ctlACpk=; b=Ff8OC7IQw+fgsHP/Fjh5WFf1knPf13awskdA0Jujkab7eX6S66k SoWq9yvwwJLQeoMp58NrUDd5qTsH0BQQs2ow0j2J4rJlXvLi6wMP92+2wwGZR/i2 vW4QxK9ZVFT9hndtZjx5XbilcI7PJGNL2lO8fkogqWTT+EkFfVDa34zjPpmOjRhX xvA5QOxTzXfFionjAIbubV1mx3kqV4DLE3lrIiaBC411xIsP0pavdkvuJfWgVX7T UGmrnL2HWuPvct+NsIBNXz7TQhzaLLkSzfqteOJ2S/7lEZ1ZkgcacTUXZ70DQc3z V3R0V0I/IZjL3dq63HJePtwLNaWToPLs2Ng== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudehgedgkeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepufgrmhhuvghl ucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecuggftrf grthhtvghrnhepkeevlefhjeeuleeltedvjedvfeefteegleehueejffehgffffeekhefh hfekkeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 2 Jul 2022 00:24:48 -0400 (EDT) From: Samuel Holland To: Chen-Yu Tsai , Jernej Skrabec Cc: Samuel Holland , 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 Subject: [PATCH 1/2] dt-bindings: arm: sunxi: Default to the full MBUS binding Date: Fri, 1 Jul 2022 23:24:46 -0500 Message-Id: <20220702042447.26734-1-samuel@sholland.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Some older SoCs use a deprecated MBUS binding with some clocks missing. Currently, new SoCs must opt in to the complete binding. This should be the default, so new SoCs do not accidentally use the deprecated version. Signed-off-by: Samuel Holland Reviewed-by: Jernej Skrabec --- .../arm/sunxi/allwinner,sun4i-a10-mbus.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 8eee312c2e6f..2b018feb56df 100644 --- a/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun4i-a10-mbus.yaml +++ b/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun4i-a10-mbus.yaml @@ -81,13 +81,13 @@ required: - dma-ranges if: - properties: - compatible: - contains: - enum: - - allwinner,sun8i-h3-mbus - - allwinner,sun50i-a64-mbus - - allwinner,sun50i-h5-mbus + not: + properties: + compatible: + contains: + enum: + - allwinner,sun5i-a13-mbus + - allwinner,sun8i-r40-mbus then: properties: From patchwork Sat Jul 2 04:24:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 586968 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5E040C433EF for ; Sat, 2 Jul 2022 04:24:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232013AbiGBEYz (ORCPT ); Sat, 2 Jul 2022 00:24:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231243AbiGBEYx (ORCPT ); Sat, 2 Jul 2022 00:24:53 -0400 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DEC828E31; Fri, 1 Jul 2022 21:24:52 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 31CD45C020F; Sat, 2 Jul 2022 00:24:51 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sat, 02 Jul 2022 00:24:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1656735891; x=1656822291; bh=LG V0UgiQ5BsxhP6kl4zQXzxA4vF4AWjRJhvCPcjVLAA=; b=mTLu5+HMsxS/tj+kVe 0xH5f5Upim2cayZaeXIRca25FqAEFVsqJp0UFlZJ1m5M5of7cqYL39h0GRdXF78+ aYOYBmxk9/6ieCibKJSPIVx1a+8m8pbsryCRYlNDL5EWn8iqeoeiwGaVUhnhjlTR bA7rsIZKAf79eXfFsUKLKQZe8k2wumK29lmnCVMpg8PPZczzh7hWNvm7VBTtQfDj 4s3NEpyrpiPrgRfkLxdpLGP69GC4HYShiTzkzSf0zEx5s5GgZdIhHFym5m4L9Gf1 mY7BW1IXNC56Strlv3KhitrniALbquDbVDV6c/AheeNDtlPgM7s2BnpZ2vqhd/ve +Lhw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding: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=fm2; t=1656735891; x=1656822291; bh=LGV0UgiQ5Bsxh P6kl4zQXzxA4vF4AWjRJhvCPcjVLAA=; b=vUGCkQ0awWg4+ubo+VMfiDcVKsFHx Q5y1kUwg4zUVDyP2oo5trdlvTWcvSfkYMGoBBTL1F1TvBu7GquOnanSz8ImyBQuB Ywr72cPHB4bIf3q5Q8lePoy3l/lMYSRFpLBk5hahmZWIf8z2vuwuIrR+Re+fGFV9 p6kjShPJua30vLSm2qlcY6q7exuLOL3+GGfCx9NHcWWEPLlHQ8Vx44ZKBngZPNbs EiME5lyknBDaGs+xqJFtw325qaC3aCDUS3jyywinT2xRzadXwV3w6Gs4bdcw5jhc lUoYtWuNkNQPjIiTYjLZX0Z+tUv4Aco5xHdW+drykQWZDeib04m0XpKFA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudehgedgkeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnhepudekteeuudehtdelteevgfduvddvjefhfedulefgudevgeeghefg udefiedtveetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 2 Jul 2022 00:24:50 -0400 (EDT) From: Samuel Holland To: Chen-Yu Tsai , Jernej Skrabec Cc: Samuel Holland , 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 Subject: [PATCH 2/2] dt-bindings: arm: sunxi: Add several MBUS compatibles Date: Fri, 1 Jul 2022 23:24:47 -0500 Message-Id: <20220702042447.26734-2-samuel@sholland.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220702042447.26734-1-samuel@sholland.org> References: <20220702042447.26734-1-samuel@sholland.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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