Skip to content

Commit ce48af1

Browse files
wensarndb
authored andcommitted
arm64: dts: mediatek: mt8195: Fix address range for JPEG decoder core 1
The base address of JPEG decoder core 1 should start at 0x10000, and have a size of 0x10000, i.e. it is right after core 0. Instead the core has the same base address as core 0, and with a crazy large size. This looks like a mixup of address and size cells when the ranges were converted. This causes the kernel to fail to register the second core due to sysfs name conflicts: sysfs: cannot create duplicate filename '/devices/platform/soc/soc:jpeg-decoder@1a040000/1a040000.jpgdec' Fix up the address range. Fixes: a9eac43 ("arm64: dts: mediatek: mt8195: Fix ranges for jpeg enc/decoder nodes") Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20251127100044.612825-1-wenst@chromium.org Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 6038f30 commit ce48af1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm64/boot/dts/mediatek/mt8195.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3067,7 +3067,7 @@
30673067

30683068
jpgdec@0,10000 {
30693069
compatible = "mediatek,mt8195-jpgdec-hw";
3070-
reg = <0 0 0x10000 0x10000>;/* JPGDEC_C1 */
3070+
reg = <0 0x10000 0 0x10000>;/* JPGDEC_C1 */
30713071
iommus = <&iommu_vdo M4U_PORT_L19_JPGDEC_WDMA0>,
30723072
<&iommu_vdo M4U_PORT_L19_JPGDEC_BSDMA0>,
30733073
<&iommu_vdo M4U_PORT_L19_JPGDEC_WDMA1>,

0 commit comments

Comments
 (0)