Skip to contentSkip to conversation

media: rockchip: rga: Add rk3588 support

PATCH Applied Jianfeng Liu 2 participants 3 messages Aug 31, 2024 – Sep 4, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v3 cover media: rockchip: rga: Add rk3588 support

This enables support for rga2 in the RK3588 base devicetree. Dt-binding of rockchip,rk3588-rga is already merged to v6.11.

Changes in v3:
- Rebase commit to next-20240830

Changes in v2:
- Sort node by bus-address based on next-20240604

Jianfeng Liu (1):
arm64: dts: rockchip: Add RGA2 support to rk3588

 arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)
Signature · 1 line
2.34.1
#1 lore raw

PATCH v3 1/1 arm64: dts: rockchip: Add RGA2 support to rk3588

RK3588 also features a RGA2 block. Add the necessary device tree node.

---

Changes in v3:
- Rebase commit to next-20240830

Changes in v2:
- Sort node by bus-address based on next-20240604

 arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/rockchip/rk3588-base.dtsi +11 -0
index 97a1a68e94e..d97d84b8883 100644
@@ -1143,6 +1143,17 @@ vpu121_mmu: iommu@fdb50800 {
 		#iommu-cells = <0>;
 	};
 
+	rga: rga@fdb80000 {
+		compatible = "rockchip,rk3588-rga", "rockchip,rk3288-rga";
+		reg = <0x0 0xfdb80000 0x0 0x180>;
+		interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH 0>;
+		clocks = <&cru ACLK_RGA2>, <&cru HCLK_RGA2>, <&cru CLK_RGA2_CORE>;
+		clock-names = "aclk", "hclk", "sclk";
+		resets = <&cru SRST_RGA2_CORE>, <&cru SRST_A_RGA2>, <&cru SRST_H_RGA2>;
+		reset-names = "core", "axi", "ahb";
+		power-domains = <&power RK3588_PD_VDPU>;
+	};
+
 	vepu121_0: video-codec@fdba0000 {
 		compatible = "rockchip,rk3588-vepu121";
 		reg = <0x0 0xfdba0000 0x0 0x800>;
Signature · 1 line
2.34.1
maintainer Applied
#2 lore raw
In reply to Jianfeng Liu
Quoted 10 lines · Jianfeng Liu

This enables support for rga2 in the RK3588 base devicetree. Dt-binding of rockchip,rk3588-rga is already merged to v6.11.

Changes in v3:
- Rebase commit to next-20240830

Changes in v2:
- Sort node by bus-address based on next-20240604

[...]

Applied, thanks!

[1/1] arm64: dts: rockchip: Add RGA2 support to rk3588

      commit: 13066fc101ca2deec1c9619e2f82ca437f38a6da

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>