From nobody Wed Dec 17 00:12:47 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 E51D9C4167B for ; Thu, 30 Nov 2023 12:26:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345499AbjK3M0i (ORCPT ); Thu, 30 Nov 2023 07:26:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235192AbjK3M0d (ORCPT ); Thu, 30 Nov 2023 07:26:33 -0500 Received: from m12.mail.163.com (m12.mail.163.com [220.181.12.215]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2712D1984; Thu, 30 Nov 2023 04:26:20 -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=i9xa9 aCDAkBMKK67f0gLMaaLWyhe8bqdqGFu4/oZZB8=; b=kIqCIM+ghJX1SLepMugbE W6+/1VKc/P9a5lQGPo2SI9xmWDyGtLTVyD7ZA5q8IKnVFaAOG7kYyCRflZiVj1pc lEd/TOv9exVZ1NRzQksS8wAuSBnvwcguVytk80XIqqKXNPwi9/8d3Xg5JHBCccPu gSBVdOjRH7TeKy0jBfd/+Y= Received: from ProDesk.. (unknown [58.22.7.114]) by zwqz-smtp-mta-g3-4 (Coremail) with SMTP id _____wBHj0Aof2hl1OFtBQ--.51870S2; Thu, 30 Nov 2023 20:25:15 +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 v3 14/14] arm64: dts: rockchip: Add vop on rk3588 Date: Thu, 30 Nov 2023 20:25:11 +0800 Message-Id: <20231130122511.13552-1-andyshrk@163.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231130122001.12474-1-andyshrk@163.com> References: <20231130122001.12474-1-andyshrk@163.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-CM-TRANSID: _____wBHj0Aof2hl1OFtBQ--.51870S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxAFWfAr4kKw17GFyfJF1UJrb_yoW5ZF1kpa sruFW8Jr4kuF1Iqan8KrWvgrWkJanYka1kGwn3AFy0yr1SvryDKFWfur1fJasrXr4xAanr tFsFyry8trsxX3DanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jD-BNUUUUU= X-Originating-IP: [58.22.7.114] X-CM-SenderInfo: 5dqg52xkunqiywtou0bp/1tbiqA84XmVOAquXzwAAsb 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 --- (no changes since v1) arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 96 +++++++++++++++++++++++ 1 file changed, 96 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi b/arch/arm64/boot/dt= s/rockchip/rk3588s.dtsi index 7064c0e9179f..a9810ca78dc4 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,87 @@ 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"; + resets =3D <&cru SRST_A_VOP>, + <&cru SRST_H_VOP>, + <&cru SRST_D_VOP0>, + <&cru SRST_D_VOP1>, + <&cru SRST_D_VOP2>, + <&cru SRST_D_VOP3>; + reset-names =3D "axi", + "ahb", + "dclk_vp0", + "dclk_vp1", + "dclk_vp2", + "dclk_vp3"; + 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 ; + interrupt-names =3D "vop_mmu"; + 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