Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] arm64: dts: mediatek: Add node for Mediatek Video Processor Unit

Add VPU drivers for MT8173

Signed-off-by: Andrew-CT Chen <andrew-ct.chen@mediatek.com>
Signed-off-by: Tiffany Lin <tiffany.lin@mediatek.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>

authored by

Andrew-CT Chen and committed by
Mauro Carvalho Chehab
404b2819 3003a180

+23
+23
arch/arm64/boot/dts/mediatek/mt8173.dtsi
··· 168 168 }; 169 169 }; 170 170 171 + reserved-memory { 172 + #address-cells = <2>; 173 + #size-cells = <2>; 174 + ranges; 175 + vpu_dma_reserved: vpu_dma_mem_region { 176 + compatible = "shared-dma-pool"; 177 + reg = <0 0xb7000000 0 0x500000>; 178 + alignment = <0x1000>; 179 + no-map; 180 + }; 181 + }; 182 + 171 183 timer { 172 184 compatible = "arm,armv8-timer"; 173 185 interrupt-parent = <&gic>; ··· 322 310 reset-names = "pwrap"; 323 311 clocks = <&infracfg CLK_INFRA_PMICSPI>, <&infracfg CLK_INFRA_PMICWRAP>; 324 312 clock-names = "spi", "wrap"; 313 + }; 314 + 315 + vpu: vpu@10020000 { 316 + compatible = "mediatek,mt8173-vpu"; 317 + reg = <0 0x10020000 0 0x30000>, 318 + <0 0x10050000 0 0x100>; 319 + reg-names = "tcm", "cfg_reg"; 320 + interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>; 321 + clocks = <&topckgen CLK_TOP_SCP_SEL>; 322 + clock-names = "main"; 323 + memory-region = <&vpu_dma_reserved>; 325 324 }; 326 325 327 326 sysirq: intpol-controller@10200620 {