xref: /linux/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml (revision ae22a94997b8a03dcb3c922857c203246711f9d4)
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/novatek,nt35510.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Novatek NT35510-based display panels
8
9maintainers:
10  - Linus Walleij <linus.walleij@linaro.org>
11
12allOf:
13  - $ref: panel-common.yaml#
14
15properties:
16  compatible:
17    items:
18      - enum:
19          - frida,frd400b25025
20          - hydis,hva40wv1
21      - const: novatek,nt35510
22    description: This indicates the panel manufacturer of the panel
23      that is in turn using the NT35510 panel driver. The compatible
24      string determines how the NT35510 panel driver shall be configured
25      to work with the indicated panel. The novatek,nt35510 compatible shall
26      always be provided as a fallback.
27  reg: true
28  reset-gpios: true
29  vdd-supply:
30    description: regulator that supplies the vdd voltage
31  vddi-supply:
32    description: regulator that supplies the vddi voltage
33  backlight: true
34  port: true
35
36required:
37  - compatible
38  - reg
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        panel@0 {
50            compatible = "hydis,hva40wv1", "novatek,nt35510";
51            reg = <0>;
52            vdd-supply = <&ab8500_ldo_aux4_reg>;
53            vddi-supply = <&ab8500_ldo_aux6_reg>;
54            reset-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
55            backlight = <&gpio_bl>;
56        };
57    };
58
59...
60