]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blob - Documentation/devicetree/bindings/display/allwinner,sun6i-a31-mipi-dsi.yaml
Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-hirsute-kernel.git] / Documentation / devicetree / bindings / display / allwinner,sun6i-a31-mipi-dsi.yaml
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/display/allwinner,sun6i-a31-mipi-dsi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Allwinner A31 MIPI-DSI Controller Device Tree Bindings
8
9 maintainers:
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <maxime.ripard@bootlin.com>
12
13 properties:
14 "#address-cells": true
15 "#size-cells": true
16
17 compatible:
18 const: allwinner,sun6i-a31-mipi-dsi
19
20 reg:
21 maxItems: 1
22
23 interrupts:
24 maxItems: 1
25
26 clocks:
27 items:
28 - description: Bus Clock
29 - description: Module Clock
30
31 clock-names:
32 items:
33 - const: bus
34 - const: mod
35
36 resets:
37 maxItems: 1
38
39 vcc-dsi-supply:
40 description: VCC-DSI power supply of the DSI encoder
41
42 phys:
43 maxItems: 1
44
45 phy-names:
46 const: dphy
47
48 port:
49 type: object
50 description:
51 A port node with endpoint definitions as defined in
52 Documentation/devicetree/bindings/media/video-interfaces.txt. That
53 port should be the input endpoint, usually coming from the
54 associated TCON.
55
56 patternProperties:
57 "^panel@[0-9]+$": true
58
59 required:
60 - "#address-cells"
61 - "#size-cells"
62 - compatible
63 - reg
64 - interrupts
65 - clocks
66 - clock-names
67 - phys
68 - phy-names
69 - resets
70 - vcc-dsi-supply
71 - port
72
73 additionalProperties: false
74
75 examples:
76 - |
77 dsi0: dsi@1ca0000 {
78 compatible = "allwinner,sun6i-a31-mipi-dsi";
79 reg = <0x01ca0000 0x1000>;
80 interrupts = <0 89 4>;
81 clocks = <&ccu 23>, <&ccu 96>;
82 clock-names = "bus", "mod";
83 resets = <&ccu 4>;
84 phys = <&dphy0>;
85 phy-names = "dphy";
86 vcc-dsi-supply = <&reg_dcdc1>;
87 #address-cells = <1>;
88 #size-cells = <0>;
89
90 panel@0 {
91 compatible = "bananapi,lhr050h41", "ilitek,ili9881c";
92 reg = <0>;
93 power-gpios = <&pio 1 7 0>; /* PB07 */
94 reset-gpios = <&r_pio 0 5 1>; /* PL05 */
95 backlight = <&pwm_bl>;
96 };
97
98 port {
99 dsi0_in_tcon0: endpoint {
100 remote-endpoint = <&tcon0_out_dsi0>;
101 };
102 };
103 };
104
105 ...