1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/media/img,e5010-jpeg-enc.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Imagination E5010 JPEG Encoder 8 9maintainers: 10 - Devarsh Thakkar <devarsht@ti.com> 11 12description: | 13 The E5010 is a JPEG encoder from Imagination Technologies implemented on 14 TI's AM62A SoC. It is capable of real time encoding of YUV420 and YUV422 15 inputs to JPEG and M-JPEG. It supports baseline JPEG Encoding up to 16 8Kx8K resolution. 17 18properties: 19 compatible: 20 oneOf: 21 - items: 22 - const: ti,am62a-jpeg-enc 23 - const: img,e5010-jpeg-enc 24 - const: img,e5010-jpeg-enc 25 26 reg: 27 items: 28 - description: The E5010 core register region 29 - description: The E5010 mmu register region 30 31 reg-names: 32 items: 33 - const: core 34 - const: mmu 35 36 power-domains: 37 maxItems: 1 38 39 resets: 40 maxItems: 1 41 42 clocks: 43 maxItems: 1 44 45 interrupts: 46 maxItems: 1 47 48required: 49 - compatible 50 - reg 51 - reg-names 52 - interrupts 53 - clocks 54 55additionalProperties: false 56 57examples: 58 - | 59 #include <dt-bindings/soc/ti,sci_pm_domain.h> 60 #include <dt-bindings/interrupt-controller/arm-gic.h> 61 #include <dt-bindings/interrupt-controller/irq.h> 62 63 soc { 64 #address-cells = <2>; 65 #size-cells = <2>; 66 jpeg-encoder@fd20000 { 67 compatible = "img,e5010-jpeg-enc"; 68 reg = <0x00 0xfd20000 0x00 0x100>, 69 <0x00 0xfd20200 0x00 0x200>; 70 reg-names = "core", "mmu"; 71 clocks = <&k3_clks 201 0>; 72 power-domains = <&k3_pds 201 TI_SCI_PD_EXCLUSIVE>; 73 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; 74 }; 75 }; 76