From nobody Sun Dec 14 06:30:41 2025 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 38941C4167B for ; Mon, 11 Dec 2023 12:01:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234828AbjLKMB3 (ORCPT ); Mon, 11 Dec 2023 07:01:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234802AbjLKMBB (ORCPT ); Mon, 11 Dec 2023 07:01:01 -0500 Received: from m12.mail.163.com (m12.mail.163.com [220.181.12.215]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 65C8711D; Mon, 11 Dec 2023 04:00:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=/sWVg 0hNK5TP+8Pwlr8XAy4mPpuu4KgDAAEWdrDIyEA=; b=L/iFFu02+T/dzaMA6lRo1 6nT0xMjecozCVvqTeMbZ7sQOOx4WpQmD+m4d76zSuwccTOF/CdYPGcvUG0zwL5rF atG0x4njtzI6CAOYFBTWsp81k3TVFC7imLVy7CckGOn9WvxCHm9qnWlfRhAxHKpk IuSQIZ6jyU18MMJK4jNizA= Received: from ProDesk.. (unknown [58.22.7.114]) by zwqz-smtp-mta-g5-3 (Coremail) with SMTP id _____wC331rF+XZlxbuGFQ--.4805S2; Mon, 11 Dec 2023 20:00:09 +0800 (CST) From: Andy Yan To: heiko@sntech.de Cc: hjc@rock-chips.com, dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, devicetree@vger.kernel.org, sebastian.reichel@collabora.com, kever.yang@rock-chips.com, chris.obbard@collabora.com, Andy Yan Subject: [PATCH v5 15/16] arm64: dts: rockchip: Add vop on rk3588 Date: Mon, 11 Dec 2023 20:00:04 +0800 Message-Id: <20231211120004.1785616-1-andyshrk@163.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231211115547.1784587-1-andyshrk@163.com> References: <20231211115547.1784587-1-andyshrk@163.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-CM-TRANSID: _____wC331rF+XZlxbuGFQ--.4805S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxAFy3GFyUKw1xGw1rZw4UXFb_yoW5Aw45p3 ZruFWrJr4kuF1Iqa98KryvgrWkJan5CaykGwnxAFy8tr1SvryDKrWxWryfZ3ZrXr4xZanF yFsrAryUtrsxXw7anT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jD-BNUUUUU= X-Originating-IP: [58.22.7.114] X-CM-SenderInfo: 5dqg52xkunqiywtou0bp/xtbBEglDXmVOA43JFQABs+ Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Andy Yan Add vop dt node for rk3588. Signed-off-by: Andy Yan --- Changes in v5: - remove unused property - move blank line below the status=3Ddisabled in vop dt node arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 83 +++++++++++++++++++++++ 1 file changed, 83 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi b/arch/arm64/boot/dt= s/rockchip/rk3588s.dtsi index 8aa0499f9b03..98547642fd08 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi @@ -362,6 +362,11 @@ spll: clock-0 { #clock-cells =3D <0>; }; =20 + display_subsystem: display-subsystem { + compatible =3D "rockchip,display-subsystem"; + ports =3D <&vop_out>; + }; + timer { compatible =3D "arm,armv8-timer"; interrupts =3D , @@ -474,6 +479,16 @@ sys_grf: syscon@fd58c000 { reg =3D <0x0 0xfd58c000 0x0 0x1000>; }; =20 + vop_grf: syscon@fd5a4000 { + compatible =3D "rockchip,rk3588-vop-grf", "syscon"; + reg =3D <0x0 0xfd5a4000 0x0 0x2000>; + }; + + vo1_grf: syscon@fd5a8000 { + compatible =3D "rockchip,rk3588-vo-grf", "syscon"; + reg =3D <0x0 0xfd5a8000 0x0 0x100>; + }; + php_grf: syscon@fd5b0000 { compatible =3D "rockchip,rk3588-php-grf", "syscon"; reg =3D <0x0 0xfd5b0000 0x0 0x1000>; @@ -593,6 +608,74 @@ i2c0: i2c@fd880000 { status =3D "disabled"; }; =20 + vop: vop@fdd90000 { + compatible =3D "rockchip,rk3588-vop"; + reg =3D <0x0 0xfdd90000 0x0 0x4200>, <0x0 0xfdd95000 0x0 0x1000>; + reg-names =3D "vop", "gamma_lut"; + interrupts =3D ; + clocks =3D <&cru ACLK_VOP>, + <&cru HCLK_VOP>, + <&cru DCLK_VOP0>, + <&cru DCLK_VOP1>, + <&cru DCLK_VOP2>, + <&cru DCLK_VOP3>, + <&cru PCLK_VOP_ROOT>; + clock-names =3D "aclk", + "hclk", + "dclk_vp0", + "dclk_vp1", + "dclk_vp2", + "dclk_vp3", + "pclk_vop"; + iommus =3D <&vop_mmu>; + power-domains =3D <&power RK3588_PD_VOP>; + rockchip,grf =3D <&sys_grf>; + rockchip,vop-grf =3D <&vop_grf>; + rockchip,vo1-grf =3D <&vo1_grf>; + rockchip,pmu =3D <&pmu>; + status =3D "disabled"; + + vop_out: ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + vp0: port@0 { + #address-cells =3D <1>; + #size-cells =3D <0>; + reg =3D <0>; + }; + + vp1: port@1 { + #address-cells =3D <1>; + #size-cells =3D <0>; + reg =3D <1>; + }; + + vp2: port@2 { + #address-cells =3D <1>; + #size-cells =3D <0>; + reg =3D <2>; + }; + + vp3: port@3 { + #address-cells =3D <1>; + #size-cells =3D <0>; + reg =3D <3>; + }; + }; + }; + + vop_mmu: iommu@fdd97e00 { + compatible =3D "rockchip,rk3588-iommu", "rockchip,rk3568-iommu"; + reg =3D <0x0 0xfdd97e00 0x0 0x100>, <0x0 0xfdd97f00 0x0 0x100>; + interrupts =3D ; + clocks =3D <&cru ACLK_VOP>, <&cru HCLK_VOP>; + clock-names =3D "aclk", "iface"; + #iommu-cells =3D <0>; + power-domains =3D <&power RK3588_PD_VOP>; + status =3D "disabled"; + }; + uart0: serial@fd890000 { compatible =3D "rockchip,rk3588-uart", "snps,dw-apb-uart"; reg =3D <0x0 0xfd890000 0x0 0x100>; --=20 2.34.1