xref: /linux/Documentation/devicetree/bindings/display/panel/motorola,mot-panel.yaml (revision 0fc8f6200d2313278fbf4539bbab74677c685531)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/panel/motorola,mot-panel.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Atrix 4G and Droid X2 DSI Display Panel
8
9maintainers:
10  - Svyatoslav Ryhel <clamor95@gmail.com>
11
12description:
13  Atrix 4G and Droid X2 use the same 540x960 DSI video mode panel. Exact
14  panel vendor and model are unknown hence generic compatible based on the
15  board name "Mot" is used.
16
17allOf:
18  - $ref: panel-common.yaml#
19
20properties:
21  compatible:
22    items:
23      - const: motorola,mot-panel
24
25  reg:
26    maxItems: 1
27
28  vdd-supply:
29    description: Regulator for main power supply.
30
31  vddio-supply:
32    description: Regulator for 1.8V IO power supply.
33
34  backlight: true
35  reset-gpios: true
36  port: true
37
38required:
39  - compatible
40
41additionalProperties: false
42
43examples:
44  - |
45    #include <dt-bindings/gpio/gpio.h>
46
47    dsi {
48        #address-cells = <1>;
49        #size-cells = <0>;
50
51        panel@0 {
52            compatible = "motorola,mot-panel";
53            reg = <0>;
54
55            reset-gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
56
57            vdd-supply = <&vdd_5v0_panel>;
58            vddio-supply = <&vdd_1v8_vio>;
59
60            backlight = <&backlight>;
61
62            port {
63                panel_in: endpoint {
64                    remote-endpoint = <&dsi_out>;
65                };
66            };
67        };
68    };
69...
70