arm64: dts: mediatek: mt8195: Reparent vdec1/2 and venc1 power domains
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 2 Apr 2025 09:06:15 +0000 (11:06 +0200)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 14 Apr 2025 09:29:44 +0000 (11:29 +0200)
commit394f29033324e2317bfd6a7ed99b9a60832b36a2
tree71c9576c8bf001601990b004f2a99012bcdd422d
parentec71844817266c8d301f5745126cdbdafd33edea
arm64: dts: mediatek: mt8195: Reparent vdec1/2 and venc1 power domains

By hardware, the first and second core of the video decoder IP
need the VDEC_SOC to be powered up in order to be able to be
accessed (both internally, by firmware, and externally, by the
kernel).
Similarly, for the video encoder IP, the second core needs the
first core to be powered up in order to be accessible.

Fix that by reparenting the VDEC1/2 power domains to be children
of VDEC0 (VDEC_SOC), and the VENC1 to be a child of VENC0.

Fixes: 2b515194bf0c ("arm64: dts: mt8195: Add power domains controller")
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20250402090615.25871-3-angelogioacchino.delregno@collabora.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8195.dtsi