arm64: dts: mt8183: add jpeg enc node for mt8183
authorMaoguang Meng <maoguang.meng@mediatek.com>
Mon, 6 Dec 2021 13:04:25 +0000 (21:04 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Tue, 1 Mar 2022 07:29:49 +0000 (08:29 +0100)
Add jpeg encoder device tree node.

Signed-off-by: Maoguang Meng <maoguang.meng@mediatek.com>
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20211206130425.184420-3-hsinyi@chromium.org
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8183.dtsi

index 00f2ddd245e1090b2541c91c89bc9ed2d5ca49f9..4b08691ed39e5ed1997db2f7ef60e2fcf5eb8ee3 100644 (file)
                        power-domains = <&spm MT8183_POWER_DOMAIN_VENC>;
                };
 
+               venc_jpg: venc_jpg@17030000 {
+                       compatible = "mediatek,mt8183-jpgenc", "mediatek,mtk-jpgenc";
+                       reg = <0 0x17030000 0 0x1000>;
+                       interrupts = <GIC_SPI 249 IRQ_TYPE_LEVEL_LOW>;
+                       mediatek,larb = <&larb4>;
+                       iommus = <&iommu M4U_PORT_JPGENC_RDMA>,
+                                <&iommu M4U_PORT_JPGENC_BSDMA>;
+                       power-domains = <&spm MT8183_POWER_DOMAIN_VENC>;
+                       clocks = <&vencsys CLK_VENC_JPGENC>;
+                       clock-names = "jpgenc";
+               };
+
                ipu_conn: syscon@19000000 {
                        compatible = "mediatek,mt8183-ipu_conn", "syscon";
                        reg = <0 0x19000000 0 0x1000>;