Documentation / devicetree / bindings / media / img,e5010-jpeg-enc.yaml


Based on kernel version 6.11. Page generated on 2024-09-24 08:21 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/img,e5010-jpeg-enc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Imagination E5010 JPEG Encoder

maintainers:
  - Devarsh Thakkar <devarsht@ti.com>

description: |
  The E5010 is a JPEG encoder from Imagination Technologies implemented on
  TI's AM62A SoC. It is capable of real time encoding of YUV420 and YUV422
  inputs to JPEG and M-JPEG. It supports baseline JPEG Encoding up to
  8Kx8K resolution.

properties:
  compatible:
    oneOf:
      - items:
          - const: ti,am62a-jpeg-enc
          - const: img,e5010-jpeg-enc
      - const: img,e5010-jpeg-enc

  reg:
    items:
      - description: The E5010 core register region
      - description: The E5010 mmu register region

  reg-names:
    items:
      - const: core
      - const: mmu

  power-domains:
    maxItems: 1

  resets:
    maxItems: 1

  clocks:
    maxItems: 1

  interrupts:
    maxItems: 1

required:
  - compatible
  - reg
  - reg-names
  - interrupts
  - clocks

additionalProperties: false

examples:
  - |
    #include <dt-bindings/soc/ti,sci_pm_domain.h>
    #include <dt-bindings/interrupt-controller/arm-gic.h>
    #include <dt-bindings/interrupt-controller/irq.h>
 
    soc {
      #address-cells = <2>;
      #size-cells = <2>;
      jpeg-encoder@fd20000 {
          compatible = "img,e5010-jpeg-enc";
          reg = <0x00 0xfd20000 0x00 0x100>,
                <0x00 0xfd20200 0x00 0x200>;
          reg-names = "core", "mmu";
          clocks = <&k3_clks 201 0>;
          power-domains = <&k3_pds 201 TI_SCI_PD_EXCLUSIVE>;
          interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
      };
    };