gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / Documentation / devicetree / bindings / media / renesas,ceu.yaml
blobfcb5f13704a5be236d9175efb7f5fbf6778da4ab
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/media/renesas,ceu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas Capture Engine Unit (CEU) Bindings
9 maintainers:
10   - Jacopo Mondi <jacopo+renesas@jmondi.org>
11   - linux-renesas-soc@vger.kernel.org
13 description: |+
14   The Capture Engine Unit is the image capture interface found in the Renesas SH
15   Mobile, R-Mobile and RZ SoCs. The interface supports a single parallel input
16   with data bus width of 8 or 16 bits.
18 properties:
19   compatible:
20     enum:
21       - renesas,r7s72100-ceu
22       - renesas,r8a7740-ceu
24   reg:
25     maxItems: 1
27   interrupts:
28     maxItems: 1
30   port:
31     type: object
32     additionalProperties: false
34     properties:
35        endpoint:
36          type: object
37          additionalProperties: false
39          # Properties described in
40          # Documentation/devicetree/bindings/media/video-interfaces.txt
41          properties:
42            remote-endpoint: true
43            hsync-active: true
44            vsync-active: true
45            field-even-active: false
46            bus-width:
47              enum: [8, 16]
48              default: 8
50          required:
51            - remote-endpoint
53     required:
54       - endpoint
56 required:
57   - compatible
58   - reg
59   - interrupts
60   - port
62 additionalProperties: false
64 examples:
65   - |
66     #include <dt-bindings/interrupt-controller/arm-gic.h>
68     ceu: ceu@e8210000 {
69         reg = <0xe8210000 0x209c>;
70         compatible = "renesas,r7s72100-ceu";
71         interrupts = <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>;
73         port {
74             ceu_in: endpoint {
75                 remote-endpoint = <&ov7670_out>;
76                 hsync-active = <1>;
77                 vsync-active = <0>;
78             };
79         };
80     };