WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / display / ingenic,ipu.yaml
blob12064a8e7a92a09de004d31a8abd1abd2794bc3b
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/display/ingenic,ipu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Ingenic SoCs Image Processing Unit (IPU) devicetree bindings
9 maintainers:
10   - Paul Cercueil <paul@crapouillou.net>
12 properties:
13   compatible:
14     oneOf:
15       - enum:
16           - ingenic,jz4725b-ipu
17           - ingenic,jz4760-ipu
18       - items:
19           - const: ingenic,jz4770-ipu
20           - const: ingenic,jz4760-ipu
22   reg:
23     maxItems: 1
25   interrupts:
26     maxItems: 1
28   clocks:
29     maxItems: 1
31   clock-names:
32     const: ipu
34 patternProperties:
35   "^ports?$":
36     description: OF graph bindings (specified in bindings/graph.txt).
38 required:
39   - compatible
40   - reg
41   - interrupts
42   - clocks
43   - clock-names
45 additionalProperties: false
47 examples:
48   - |
49     #include <dt-bindings/clock/jz4770-cgu.h>
50     ipu@13080000 {
51       compatible = "ingenic,jz4770-ipu", "ingenic,jz4760-ipu";
52       reg = <0x13080000 0x800>;
54       interrupt-parent = <&intc>;
55       interrupts = <29>;
57       clocks = <&cgu JZ4770_CLK_IPU>;
58       clock-names = "ipu";
60       port {
61         ipu_ep: endpoint {
62           remote-endpoint = <&lcdc_ep>;
63         };
64       };
65     };