[PATCH] arm64: dts: ti: k3-am62a-main: Add Wave5 Video Encoder/Decoder Node

From: Brandon Brnich
Date: Mon Apr 15 2024 - 16:47:39 EST


This patch adds support for the Wave521cl on the AM62A-SK.

Signed-off-by: Brandon Brnich <b-brnich@xxxxxx>
---

With HR timer polling[0] now in -next[1], lets add support on am62a to
probe wave521c.

[0]: https://patchwork.linuxtv.org/project/linux-media/patch/20240310104827.665456-1-devarsht@xxxxxx/
[1]: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/media/platform/chips-media/wave5?id=ed7276ed2fd02208bfca9f222ef1e7b2743d710d

arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
index aa1e057082f0..73dbdcce68ff 100644
--- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
@@ -1051,4 +1051,11 @@ dss_ports: ports {
#size-cells = <0>;
};
};
+
+ vpu: video-codec@30210000 {
+ compatible = "ti,j721s2-wave521c", "cnm,wave521c";
+ reg = <0x00 0x30210000 0x00 0x10000>;
+ clocks = <&k3_clks 204 2>;
+ power-domains = <&k3_pds 204 TI_SCI_PD_EXCLUSIVE>;
+ };
};
--
2.34.1