Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / media / rockchip,rk3568-vepu.yaml
blob947ad699cc5e7f0dc72fe3cadb45f97c6569bc47
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 %YAML 1.2
4 ---
5 $id: http://devicetree.org/schemas/media/rockchip,rk3568-vepu.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Hantro G1 VPU encoders implemented on Rockchip SoCs
10 maintainers:
11   - Nicolas Frattaroli <frattaroli.nicolas@gmail.com>
13 description:
14   Hantro G1 video encode-only accelerators present on Rockchip SoCs.
16 properties:
17   compatible:
18     enum:
19       - rockchip,rk3568-vepu
20       - rockchip,rk3588-vepu121
22   reg:
23     maxItems: 1
25   interrupts:
26     maxItems: 1
28   clocks:
29     maxItems: 2
31   clock-names:
32     items:
33       - const: aclk
34       - const: hclk
36   power-domains:
37     maxItems: 1
39   iommus:
40     maxItems: 1
42 required:
43   - compatible
44   - reg
45   - interrupts
46   - clocks
47   - clock-names
49 additionalProperties: false
51 examples:
52   - |
53     #include <dt-bindings/clock/rk3568-cru.h>
54     #include <dt-bindings/interrupt-controller/arm-gic.h>
55     #include <dt-bindings/power/rk3568-power.h>
57     bus {
58         #address-cells = <2>;
59         #size-cells = <2>;
61         vepu: video-codec@fdee0000 {
62             compatible = "rockchip,rk3568-vepu";
63             reg = <0x0 0xfdee0000 0x0 0x800>;
64             interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
65             clocks = <&cru ACLK_JENC>, <&cru HCLK_JENC>;
66             clock-names = "aclk", "hclk";
67             iommus = <&vepu_mmu>;
68             power-domains = <&power RK3568_PD_RGA>;
69         };
70     };