]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: dts: mediatek: mt8188: Move vdec1 power domain under vdec0
authorFei Shao <fshao@chromium.org>
Tue, 1 Oct 2024 11:27:25 +0000 (19:27 +0800)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 2 Oct 2024 09:13:08 +0000 (11:13 +0200)
commit66c466dae8a620010df24b636c3cffd15292e2bb
tree13b688f3913dac5e69bdabc13637dd7bf680126e
parentc1134cbf001082925656c6ac4f38e8751d87b0f9
arm64: dts: mediatek: mt8188: Move vdec1 power domain under vdec0

The MT8188 video decoder pipeline has two hardware IP blocks: LAT and
Core, which are powered by vdec0 and vdec1 power domains, respectively.

The hardware design includes a dependency between the vdec0 and vdec1
power domains to ensure that Core is powered down before LAT. Without
correctly describing this dependency in DT, the system will fail to
suspend.

As a comparable reference, MT8192 also uses the LAT + Core decoding
pipeline, and it has the correct power domain dependency defined in DT.

Update vdec1 as a sub-domain of vdec0 in MT8188 DT to reflect the
hardware design. Also, use more specific clock names for both power
domains.

Signed-off-by: Fei Shao <fshao@chromium.org>
Link: https://lore.kernel.org/r/20241001113052.3124869-8-fshao@chromium.org
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8188.dtsi