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.
11
12maintainers:
13  - Chris Morgan <macromorgan@hotmail.com>
14
15allOf:
16  - $ref: panel-common.yaml#
17
18properties:
19  compatible:
20    items:
21      - enum:
22          - anbernic,rg351v-panel
23          - anbernic,rg353p-panel
24          - powkiddy,rk2023-panel
25      - const: newvision,nv3051d
26
27  reg:
28    maxItems: 1
29
30  backlight: true
31  port: true
32  reset-gpios:
33    description: Active low reset GPIO
34  vdd-supply: true
35
36required:
37  - compatible
38  - reg
39  - backlight
40
41additionalProperties: false
42
43examples:
44  - |
45    #include <dt-bindings/gpio/gpio.h>
46    dsi {
47        #address-cells = <1>;
48        #size-cells = <0>;
49        panel@0 {
50            compatible = "anbernic,rg353p-panel", "newvision,nv3051d";
51            reg = <0>;
52            backlight = <&backlight>;
53            reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>;
54            vdd-supply = <&vcc3v3_lcd>;
55
56            port {
57                mipi_in_panel: endpoint {
58                    remote-endpoint = <&mipi_out_panel>;
59                };
60            };
61        };
62    };
63
64...
65