diff mbox series

[v3] arm64: dts: rockchip: rk3588s: Add AV1 decoder node

Message ID 20231006065334.8117-1-benjamin.gaignard@collabora.com (mailing list archive)
State New, archived
Headers show
Series [v3] arm64: dts: rockchip: rk3588s: Add AV1 decoder node | expand

Commit Message

Benjamin Gaignard Oct. 6, 2023, 6:53 a.m. UTC
Add node for AV1 video decoder.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
---
version 3:
- remove status = "okay"

version 2:
- change node name to video-codec
- fix typo in commit header

 arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

Comments

Heiko Stübner Oct. 16, 2023, 8:12 p.m. UTC | #1
On Fri, 6 Oct 2023 08:53:34 +0200, Benjamin Gaignard wrote:
> Add node for AV1 video decoder.
> 
> 

Applied, thanks!

[1/1] arm64: dts: rockchip: rk3588s: Add AV1 decoder node
      commit: dd6dc0c4c1265129c229e26917bf4de1d97ff91f

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
index 5544f66c6ff4..5481f59f551f 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
@@ -2304,6 +2304,19 @@  gpio4: gpio@fec50000 {
 			#interrupt-cells = <2>;
 		};
 	};
+
+	av1d: video-codec@fdc70000 {
+		compatible = "rockchip,rk3588-av1-vpu";
+		reg = <0x0 0xfdc70000 0x0 0x800>;
+		interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH 0>;
+		interrupt-names = "vdpu";
+		clocks = <&cru ACLK_AV1>, <&cru PCLK_AV1>;
+		clock-names = "aclk", "hclk";
+		assigned-clocks = <&cru ACLK_AV1>, <&cru PCLK_AV1>;
+		assigned-clock-rates = <400000000>, <400000000>;
+		resets = <&cru SRST_A_AV1>, <&cru SRST_P_AV1>, <&cru SRST_A_AV1_BIU>, <&cru SRST_P_AV1_BIU>;
+		power-domains = <&power RK3588_PD_AV1>;
+	};
 };
 
 #include "rk3588s-pinctrl.dtsi"