xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/newvision,nv3051d.yaml (revision e63d20b70ee1dbee9b075f29de6f30cdcfe1abe1)
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: true
28  backlight: true
29  port: true
30  reset-gpios:
31    description: Active low reset GPIO
32  vdd-supply: true
33
34required:
35  - compatible
36  - reg
37  - backlight
38
39additionalProperties: false
40
41examples:
42  - |
43    #include <dt-bindings/gpio/gpio.h>
44    dsi {
45        #address-cells = <1>;
46        #size-cells = <0>;
47        panel@0 {
48            compatible = "anbernic,rg353p-panel", "newvision,nv3051d";
49            reg = <0>;
50            backlight = <&backlight>;
51            reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>;
52            vdd-supply = <&vcc3v3_lcd>;
53
54            port {
55                mipi_in_panel: endpoint {
56                    remote-endpoint = <&mipi_out_panel>;
57                };
58            };
59        };
60    };
61
62...
63