Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: dt-bindings: Add Imagination E5010 JPEG Encoder

Add dt-bindings for Imagination E5010 JPEG Encoder [1] which is implemented
as stateful V4L2 M2M driver.

The device supports baseline encoding with two different quantization
tables and compression ratio as demanded.

Minimum resolution supported is 64x64 and Maximum resolution supported is
8192x8192.

Link: https://www.ti.com/lit/pdf/spruj16 [1] (Section 7.6 JPEG Encoder)
Co-developed-by: David Huang <d-huang@ti.com>
Signed-off-by: David Huang <d-huang@ti.com>
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>

authored by

Devarsh Thakkar and committed by
Hans Verkuil
dacd54eb 6aa08291

+80
+75
Documentation/devicetree/bindings/media/img,e5010-jpeg-enc.yaml
··· 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 + 7 + title: Imagination E5010 JPEG Encoder 8 + 9 + maintainers: 10 + - Devarsh Thakkar <devarsht@ti.com> 11 + 12 + description: | 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 + 18 + properties: 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 + 48 + required: 49 + - compatible 50 + - reg 51 + - reg-names 52 + - interrupts 53 + - clocks 54 + 55 + additionalProperties: false 56 + 57 + examples: 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 + };
+5
MAINTAINERS
··· 10765 10765 F: Documentation/devicetree/bindings/auxdisplay/img,ascii-lcd.yaml 10766 10766 F: drivers/auxdisplay/img-ascii-lcd.c 10767 10767 10768 + IMGTEC JPEG ENCODER DRIVER 10769 + M: Devarsh Thakkar <devarsht@ti.com> 10770 + S: Supported 10771 + F: Documentation/devicetree/bindings/media/img,e5010-jpeg-enc.yaml 10772 + 10768 10773 IMGTEC IR DECODER DRIVER 10769 10774 S: Orphan 10770 10775 F: drivers/media/rc/img-ir/