From patchwork Wed Aug 28 12:40:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 13781256 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 D6828C54FA7 for ; Wed, 28 Aug 2024 12:42:57 +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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8xr4jz/jhwk9SSamG1sAApSs+EFIGPCHA42SsRdBdAY=; b=HQBYyGjIjM627f 4sBIVesXpUss53amPOuMFGUBSznEirt18IEdo7HtDAj4tS4l+IHj8D7U4q6Gx5HwdkT49kWfj6mVa 9KPd7tiOLpMElZ2jFowR4yJeFDxlq2TIEDbHxYntXuC9nUM7YobD+daSZnQcMNlBCyXKOkTaHID7U SfGDcqSZSHzleC5kp0ihdRLomM4wDA4inY05oUkJljcrw9wmkuZlhX+FXie3Wbodi/s0XvnWNGTX2 8Vn+ScE6pZMUO2sjyk0y9+H0oQ7jGUiWwbJSBZhvjjZUPI0CaznpggduE6ZCZ23oMknQtRo6Cd4CP KCJUuCrhjAiqwIC1Su7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjI0i-0000000FMc5-2OAT; Wed, 28 Aug 2024 12:42:52 +0000 Received: from sender4-pp-f112.zoho.com ([136.143.188.112]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjHyn-0000000FM0c-0uiw; Wed, 28 Aug 2024 12:40:54 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1724848846; cv=none; d=zohomail.com; s=zohoarc; b=ZW+hUkI92G2IJQ6fEhifND3XSgn7CS2EFzlhtkhdHFgGXz9axAAL/oWd/H4EJ6jmxF2Yj0ku4jeC1mpnGmkIwPjnwxY9H4QSurywUs+Jun3l5/08TmoA4GieDMWzAMqqkPuhnyS5VfdpB/G+s6/VSpTb8RdXxfDr3HtK8d9I/T8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1724848846; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=NHu1lK8y+binnoeFm6Jqz7QKNR4uii4rwsRkUGw9AYA=; b=kaaknCy2IEHiSvOaM6KqXeBd4iMlVkyMhbDMVEkQSABfDO9pQpIWKIb6sU5QqKm7ezGJe4B4nc4iWVMlvjZ8w1rbe7sqQVgzDpurDBvA1XKgdXyY4W15BCu2ou+6iyai1TSTJuYUBSJViBXZWYrQnsb45xc1NxBneTlTJQReBVg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=cristian.ciocaltea@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1724848846; s=zohomail; d=collabora.com; i=cristian.ciocaltea@collabora.com; h=From:From:Date:Date:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Message-Id:References:In-Reply-To:To:To:Cc:Cc:Reply-To; bh=NHu1lK8y+binnoeFm6Jqz7QKNR4uii4rwsRkUGw9AYA=; b=ii6SIp7a1cy99fT7eUqJbZ/5IR91DYM8tz0qsmItudWiMd4CVWe40HqAC/JMRQ1F PYna+u6PfcMSKbMFC6NHpMR58YYOTJpf7XBS0kwG0HGjS9SPPlnPOiB4exCKRpxZeHt VGPTSFKyRoumqIBvdmSbkF5jOZQRb4+fJ0FZ+xBk= Received: by mx.zohomail.com with SMTPS id 1724848844589312.0136674505112; Wed, 28 Aug 2024 05:40:44 -0700 (PDT) From: Cristian Ciocaltea Date: Wed, 28 Aug 2024 15:40:09 +0300 Subject: [PATCH v2 2/2] arm64: dts: rockchip: Fix compatibles for RK3588 VO{0,1}_GRF MIME-Version: 1.0 Message-Id: <20240828-rk3588-vo-grf-compat-v2-2-4db2f791593f@collabora.com> References: <20240828-rk3588-vo-grf-compat-v2-0-4db2f791593f@collabora.com> In-Reply-To: <20240828-rk3588-vo-grf-compat-v2-0-4db2f791593f@collabora.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: kernel@collabora.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Conor Dooley X-Mailer: b4 0.14.1 X-ZohoMailClient: External X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240828_054053_323004_0E38EC0A X-CRM114-Status: GOOD ( 10.06 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org RK3588 VO0 and VO1 GRFs are not identical (though quite similar in terms of layout) and, therefore, incorrectly shared the compatible string. Since the related binding document has been updated to use dedicated strings, update the compatibles for vo{0,1}_grf DT nodes accordingly. Additionally, for consistency, set the full region size (16KB) for VO1_GRF. Reported-by: Conor Dooley Signed-off-by: Cristian Ciocaltea --- arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi index b6e4df180f0b..ee99166ebd46 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi @@ -582,14 +582,14 @@ vop_grf: syscon@fd5a4000 { }; vo0_grf: syscon@fd5a6000 { - compatible = "rockchip,rk3588-vo-grf", "syscon"; + compatible = "rockchip,rk3588-vo0-grf", "syscon"; reg = <0x0 0xfd5a6000 0x0 0x2000>; clocks = <&cru PCLK_VO0GRF>; }; vo1_grf: syscon@fd5a8000 { - compatible = "rockchip,rk3588-vo-grf", "syscon"; - reg = <0x0 0xfd5a8000 0x0 0x100>; + compatible = "rockchip,rk3588-vo1-grf", "syscon"; + reg = <0x0 0xfd5a8000 0x0 0x4000>; clocks = <&cru PCLK_VO1GRF>; };