xref: /linux/Documentation/devicetree/bindings/display/panel/lxd,m9189a.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/lxd,m9189a.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: LXD M9189A DSI Display Panel
8
9maintainers:
10  - Michael Tretter <m.tretter@pengutronix.de>
11
12allOf:
13  - $ref: panel-common.yaml
14
15properties:
16  compatible:
17    const: lxd,m9189a
18
19  reg:
20    maxItems: 1
21
22  standby-gpios:
23    description: GPIO used for the standby pin
24    maxItems: 1
25
26  reset-gpios: true
27  power-supply: true
28  backlight: true
29  port: true
30
31required:
32  - compatible
33  - reg
34  - standby-gpios
35  - reset-gpios
36  - power-supply
37  - backlight
38  - port
39
40additionalProperties: false
41
42examples:
43  - |
44    #include <dt-bindings/gpio/gpio.h>
45
46    dsi {
47      #address-cells = <1>;
48      #size-cells = <0>;
49
50      panel@0 {
51        compatible = "lxd,m9189a";
52        reg = <0>;
53        backlight = <&backlight>;
54        reset-gpios = <&gpio3 25 GPIO_ACTIVE_LOW>;
55        standby-gpios = <&gpio5 22 GPIO_ACTIVE_LOW>;
56        power-supply = <&reg_display_3v3>;
57
58        port {
59          mipi_panel_in: endpoint {
60            remote-endpoint = <&mipi_dsi_out>;
61          };
62        };
63      };
64    };
65