mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-12 04:14:08 -04:00
arm64: dts: mediatek: mt8188: Add JPEG decoder and encoder nodes
Add JPEG encoder and decoder nodes for hardware-accelerated JPEG decoding and encoding support. Signed-off-by: Fei Shao <fshao@chromium.org> Link: https://lore.kernel.org/r/20241014111053.2294519-6-fshao@chromium.org Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
This commit is contained in:
committed by
AngeloGioacchino Del Regno
parent
e9e2a88663
commit
dbcc8ea714
@@ -2332,6 +2332,35 @@ video_encoder: video-encoder@1a020000 {
|
||||
mediatek,scp = <&scp>;
|
||||
};
|
||||
|
||||
jpeg_encoder: jpeg-encoder@1a030000 {
|
||||
compatible = "mediatek,mt8188-jpgenc", "mediatek,mtk-jpgenc";
|
||||
reg = <0 0x1a030000 0 0x10000>;
|
||||
clocks = <&vencsys CLK_VENC1_JPGENC>;
|
||||
clock-names = "jpgenc";
|
||||
interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH 0>;
|
||||
iommus = <&vdo_iommu M4U_PORT_L19_JPGENC_Y_RDMA>,
|
||||
<&vdo_iommu M4U_PORT_L19_JPGENC_C_RDMA>,
|
||||
<&vdo_iommu M4U_PORT_L19_JPGENC_Q_TABLE>,
|
||||
<&vdo_iommu M4U_PORT_L19_JPGENC_BSDMA>;
|
||||
power-domains = <&spm MT8188_POWER_DOMAIN_VENC>;
|
||||
};
|
||||
|
||||
jpeg_decoder: jpeg-decoder@1a040000 {
|
||||
compatible = "mediatek,mt8188-jpgdec", "mediatek,mt2701-jpgdec";
|
||||
reg = <0 0x1a040000 0 0x10000>;
|
||||
clocks = <&vencsys CLK_VENC1_LARB>,
|
||||
<&vencsys CLK_VENC1_JPGDEC>;
|
||||
clock-names = "jpgdec-smi", "jpgdec";
|
||||
interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH 0>;
|
||||
iommus = <&vdo_iommu M4U_PORT_L19_JPGDEC_WDMA_0>,
|
||||
<&vdo_iommu M4U_PORT_L19_JPGDEC_BSDMA_0>,
|
||||
<&vdo_iommu M4U_PORT_L19_JPGDEC_WDMA_1>,
|
||||
<&vdo_iommu M4U_PORT_L19_JPGDEC_BSDMA_1>,
|
||||
<&vdo_iommu M4U_PORT_L19_JPGDEC_HUFF_OFFSET_1>,
|
||||
<&vdo_iommu M4U_PORT_L19_JPGDEC_HUFF_OFFSET_0>;
|
||||
power-domains = <&spm MT8188_POWER_DOMAIN_VDEC0>;
|
||||
};
|
||||
|
||||
disp_dsi0: dsi@1c008000 {
|
||||
compatible = "mediatek,mt8188-dsi";
|
||||
reg = <0 0x1c008000 0 0x1000>;
|
||||
|
||||
Reference in New Issue
Block a user