aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/media/rpivid_hevc.yaml
blob: ce6b81a103030ee2f84c1cfd7f2ea34cabe859ab (plain)
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
# SPDX-License-Identifier: GPL-2.0-only
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/rpivid_hevc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Raspberry Pi HEVC Decoder

maintainers:
  - Raspberry Pi <kernel-list@raspberrypi.com>

description: |-
  The Camera Adaptation Layer (CAL) is a key component for image capture
  applications. The capture module provides the system interface and the
  processing capability to connect CSI2 image-sensor modules to the
  DRA72x device.

properties:
  compatible:
    enum:
      - raspberrypi,rpivid-vid-decoder

  reg:
    minItems: 2
    items:
      - description: The HEVC main register region
      - description: The Interrupt controller register region

  reg-names:
    minItems: 2
    items:
      - const: hevc
      - const: intc

  interrupts:
    maxItems: 1

  clocks:
    items:
      - description: The HEVC block clock

  clock-names:
    items:
      - const: hevc

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

additionalProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>

    video-codec@7eb10000 {
        compatible = "raspberrypi,rpivid-vid-decoder";
        reg = <0x0 0x7eb10000 0x1000>,	/* INTC */
              <0x0 0x7eb00000 0x10000>; /* HEVC */
        reg-names = "intc",
                    "hevc";

        interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;

        clocks = <&clk 0>;
        clock-names = "hevc";
    };

...