76 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 Encoder8 9maintainers:10 - Devarsh Thakkar <devarsht@ti.com>11 12description: |13 The E5010 is a JPEG encoder from Imagination Technologies implemented on14 TI's AM62A SoC. It is capable of real time encoding of YUV420 and YUV42215 inputs to JPEG and M-JPEG. It supports baseline JPEG Encoding up to16 8Kx8K resolution.17 18properties:19 compatible:20 oneOf:21 - items:22 - const: ti,am62a-jpeg-enc23 - const: img,e5010-jpeg-enc24 - const: img,e5010-jpeg-enc25 26 reg:27 items:28 - description: The E5010 core register region29 - description: The E5010 mmu register region30 31 reg-names:32 items:33 - const: core34 - const: mmu35 36 power-domains:37 maxItems: 138 39 resets:40 maxItems: 141 42 clocks:43 maxItems: 144 45 interrupts:46 maxItems: 147 48required:49 - compatible50 - reg51 - reg-names52 - interrupts53 - clocks54 55additionalProperties: false56 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