diff mbox series

[v1,2/2] arm64: dts: rockchip: Add RGA2 support to rk3588

Message ID 20240322052915.3507937-3-liujianfeng1994@gmail.com (mailing list archive)
State New, archived
Headers show
Series media: rockchip: rga: Add rk3568 support | expand

Commit Message

Jianfeng Liu March 22, 2024, 5:29 a.m. UTC
RK3588 also features a RGA2 block. Add the necessary device tree
node.

Signed-off-by: Jianfeng Liu <liujianfeng1994@gmail.com>
---
 arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Jianfeng Liu March 22, 2024, 6:47 a.m. UTC | #1
This node is not sorted by bus-address, and anthoer patch adding hantro g1
with addreess fdb50000 is not merged. I will send v2 after that patch is
merged.

Jianfeng
Diederik de Haas June 3, 2024, 3:50 p.m. UTC | #2
Hi Jianfeng,

On Friday, 22 March 2024 07:47:34 CEST Jianfeng Liu wrote:
> This node is not sorted by bus-address, and anthoer patch adding hantro g1
> with addreess fdb50000 is not merged. I will send v2 after that patch is
> merged.

AFAICT the hantro g1 patch set is waiting on an answer to several questions 
Nicolas raised, so maybe sent v2 of this patch set first?

Cheers,
  Diederik
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
index 87b83c87b..8f130177b 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
@@ -387,6 +387,17 @@  psci {
 		method = "smc";
 	};
 
+	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>;
+	};
+
 	spll: clock-0 {
 		compatible = "fixed-clock";
 		clock-frequency = <702000000>;