xref: /linux/Documentation/devicetree/bindings/display/panel/newvision,nv3051d.yaml (revision 9f2c9170934eace462499ba0bfe042cc72900173)
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/newvision,nv3051d.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NewVision NV3051D based LCD panel
8
9description: |
10  The NewVision NV3051D is a driver chip used to drive DSI panels. For now,
11  this driver only supports the 640x480 panels found in the Anbernic RG353
12  based devices.
13
14maintainers:
15  - Chris Morgan <macromorgan@hotmail.com>
16
17allOf:
18  - $ref: panel-common.yaml#
19
20properties:
21  compatible:
22    items:
23      - enum:
24          - anbernic,rg353p-panel
25          - anbernic,rg353v-panel
26      - const: newvision,nv3051d
27
28  reg: true
29  backlight: true
30  port: true
31  reset-gpios:
32    description: Active low reset GPIO
33  vdd-supply: true
34
35required:
36  - compatible
37  - reg
38  - backlight
39
40additionalProperties: false
41
42examples:
43  - |
44    #include <dt-bindings/gpio/gpio.h>
45    dsi {
46        #address-cells = <1>;
47        #size-cells = <0>;
48        panel@0 {
49            compatible = "anbernic,rg353p-panel", "newvision,nv3051d";
50            reg = <0>;
51            backlight = <&backlight>;
52            reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>;
53            vdd-supply = <&vcc3v3_lcd>;
54
55            port {
56                mipi_in_panel: endpoint {
57                    remote-endpoint = <&mipi_out_panel>;
58                };
59            };
60        };
61    };
62
63...
64