drm/bridge: dw-hdmi: Sync comment block with actual bus formats order
[drm/drm-misc.git] / Documentation / devicetree / bindings / display / brcm,bcm2835-dsi0.yaml
blobc8b2459d64f6664c28b1f39b84067fa5e64465ae
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/display/brcm,bcm2835-dsi0.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Broadcom VC4 (VideoCore4) DSI Controller
9 maintainers:
10   - Eric Anholt <eric@anholt.net>
12 allOf:
13   - $ref: dsi-controller.yaml#
15 properties:
16   "#clock-cells":
17     const: 1
19   compatible:
20     enum:
21       - brcm,bcm2711-dsi1
22       - brcm,bcm2835-dsi0
23       - brcm,bcm2835-dsi1
25   reg:
26     maxItems: 1
28   clocks:
29     items:
30       - description: The DSI PLL clock feeding the DSI analog PHY
31       - description: The DSI ESC clock
32       - description: The DSI pixel clock
34   clock-names:
35     items:
36       - const: phy
37       - const: escape
38       - const: pixel
40   clock-output-names: true
41     # FIXME: The meta-schemas don't seem to allow it for now
42     # items:
43     #   - description: The DSI byte clock for the PHY
44     #   - description: The DSI DDR2 clock
45     #   - description: The DSI DDR clock
47   interrupts:
48     maxItems: 1
50   power-domains:
51     maxItems: 1
53 required:
54   - "#clock-cells"
55   - compatible
56   - reg
57   - clocks
58   - clock-names
59   - clock-output-names
60   - interrupts
62 unevaluatedProperties: false
64 examples:
65   - |
66     #include <dt-bindings/clock/bcm2835.h>
68     dsi1: dsi@7e700000 {
69         compatible = "brcm,bcm2835-dsi1";
70         reg = <0x7e700000 0x8c>;
71         interrupts = <2 12>;
72         #address-cells = <1>;
73         #size-cells = <0>;
74         #clock-cells = <1>;
76         clocks = <&clocks BCM2835_PLLD_DSI1>,
77                  <&clocks BCM2835_CLOCK_DSI1E>,
78                  <&clocks BCM2835_CLOCK_DSI1P>;
79         clock-names = "phy", "escape", "pixel";
81         clock-output-names = "dsi1_byte", "dsi1_ddr2", "dsi1_ddr";
83     };
85 ...