mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 03:27:03 +02:00
arm64: dts: rockchip: Fix vdec register blocks order on RK3576
When building device trees for the RK3576 based boards, DTC shows the
following complaint:
rk3576.dtsi:1282.30-1304.5: Warning (simple_bus_reg): /soc/video-codec@27b00000: simple-bus unit address format error, expected "27b00100"
Since the video decoder support for the aforementioned SoC in mainline
driver and devicetrees hasn't been released yet (just landed in
v7.0-rc1), fix the issue by providing the register blocks using the
'link,function,cache' listing, which follows the address-based order as
shown in the vendor's datasheet and, implicitly, ensures the unit
address points to the primary register range.
Fixes: da0de806d8 ("arm64: dts: rockchip: Add the vdpu383 Video Decoder on rk3576")
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://patch.msgid.link/20260304-vdec-reg-order-rk3576-v5-3-7006fad42c3a@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
parent
254f49634e
commit
63fd2f6aa4
|
|
@ -1281,10 +1281,10 @@ gpu: gpu@27800000 {
|
|||
|
||||
vdec: video-codec@27b00000 {
|
||||
compatible = "rockchip,rk3576-vdec";
|
||||
reg = <0x0 0x27b00100 0x0 0x500>,
|
||||
<0x0 0x27b00000 0x0 0x100>,
|
||||
reg = <0x0 0x27b00000 0x0 0x100>,
|
||||
<0x0 0x27b00100 0x0 0x500>,
|
||||
<0x0 0x27b00600 0x0 0x100>;
|
||||
reg-names = "function", "link", "cache";
|
||||
reg-names = "link", "function", "cache";
|
||||
interrupts = <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&cru ACLK_RKVDEC_ROOT>, <&cru HCLK_RKVDEC>,
|
||||
<&cru ACLK_RKVDEC_ROOT_BAK>, <&cru CLK_RKVDEC_CORE>,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user