1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/media/mediatek-jpeg-encoder.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek JPEG Encoder
10 - Xia Jiang <xia.jiang@mediatek.com>
13 MediaTek JPEG Encoder is the JPEG encode hardware present in MediaTek SoCs
19 - mediatek,mt2701-jpgenc
20 - mediatek,mt8183-jpgenc
21 - mediatek,mt8186-jpgenc
22 - mediatek,mt8188-jpgenc
23 - const: mediatek,mtk-jpgenc
43 Points to the respective IOMMU block with master port as argument, see
44 Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml for details.
45 Ports are according to the HW.
56 additionalProperties: false
60 #include <dt-bindings/clock/mt2701-clk.h>
61 #include <dt-bindings/interrupt-controller/arm-gic.h>
62 #include <dt-bindings/memory/mt2701-larb-port.h>
63 #include <dt-bindings/power/mt2701-power.h>
64 jpegenc: jpegenc@1500a000 {
65 compatible = "mediatek,mt2701-jpgenc",
66 "mediatek,mtk-jpgenc";
67 reg = <0x1500a000 0x1000>;
68 interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_LOW>;
69 clocks = <&imgsys CLK_IMG_VENC>;
70 clock-names = "jpgenc";
71 power-domains = <&scpsys MT2701_POWER_DOMAIN_ISP>;
72 iommus = <&iommu MT2701_M4U_PORT_JPGENC_RDMA>,
73 <&iommu MT2701_M4U_PORT_JPGENC_BSDMA>;