Merge tag 'x86_cleanups_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / display / brcm,bcm2835-dpi.yaml
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/display/brcm,bcm2835-dpi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Broadcom VC4 (VideoCore4) DPI Controller
8
9 maintainers:
10   - Eric Anholt <eric@anholt.net>
11
12 properties:
13   compatible:
14     const: brcm,bcm2835-dpi
15
16   reg:
17     maxItems: 1
18
19   clocks:
20     items:
21       - description: The core clock the unit runs on
22       - description: The pixel clock that feeds the pixelvalve
23
24   clock-names:
25     items:
26       - const: core
27       - const: pixel
28
29   port:
30     type: object
31     description: >
32       Port node with a single endpoint connecting to the panel, as
33       defined in Documentation/devicetree/bindings/media/video-interfaces.txt.
34
35 required:
36   - compatible
37   - reg
38   - clocks
39   - clock-names
40   - port
41
42 additionalProperties: false
43
44 examples:
45   - |
46     #include <dt-bindings/clock/bcm2835.h>
47
48     dpi: dpi@7e208000 {
49         compatible = "brcm,bcm2835-dpi";
50         reg = <0x7e208000 0x8c>;
51         clocks = <&clocks BCM2835_CLOCK_VPU>,
52                  <&clocks BCM2835_CLOCK_DPI>;
53         clock-names = "core", "pixel";
54
55         port {
56             dpi_out: endpoint {
57                 remote-endpoint = <&panel_in>;
58             };
59         };
60     };
61
62 ...