15ce96fe0SLinus Walleij# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25ce96fe0SLinus Walleij%YAML 1.2
35ce96fe0SLinus Walleij---
45ce96fe0SLinus Walleij$id: http://devicetree.org/schemas/display/panel/novatek,nt35510.yaml#
55ce96fe0SLinus Walleij$schema: http://devicetree.org/meta-schemas/core.yaml#
65ce96fe0SLinus Walleij
75ce96fe0SLinus Walleijtitle: Novatek NT35510-based display panels
85ce96fe0SLinus Walleij
95ce96fe0SLinus Walleijmaintainers:
105ce96fe0SLinus Walleij  - Linus Walleij <linus.walleij@linaro.org>
115ce96fe0SLinus Walleij
125ce96fe0SLinus WalleijallOf:
135ce96fe0SLinus Walleij  - $ref: panel-common.yaml#
145ce96fe0SLinus Walleij
155ce96fe0SLinus Walleijproperties:
165ce96fe0SLinus Walleij  compatible:
175ce96fe0SLinus Walleij    items:
185ce96fe0SLinus Walleij      - const: hydis,hva40wv1
195ce96fe0SLinus Walleij      - const: novatek,nt35510
205ce96fe0SLinus Walleij    description: This indicates the panel manufacturer of the panel
215ce96fe0SLinus Walleij      that is in turn using the NT35510 panel driver. The compatible
225ce96fe0SLinus Walleij      string determines how the NT35510 panel driver shall be configured
235ce96fe0SLinus Walleij      to work with the indicated panel. The novatek,nt35510 compatible shall
245ce96fe0SLinus Walleij      always be provided as a fallback.
255ce96fe0SLinus Walleij  reg: true
265ce96fe0SLinus Walleij  reset-gpios: true
275ce96fe0SLinus Walleij  vdd-supply:
285ce96fe0SLinus Walleij    description: regulator that supplies the vdd voltage
295ce96fe0SLinus Walleij  vddi-supply:
305ce96fe0SLinus Walleij    description: regulator that supplies the vddi voltage
315ce96fe0SLinus Walleij  backlight: true
325ce96fe0SLinus Walleij
335ce96fe0SLinus Walleijrequired:
345ce96fe0SLinus Walleij  - compatible
355ce96fe0SLinus Walleij  - reg
365ce96fe0SLinus Walleij
375ce96fe0SLinus WalleijadditionalProperties: false
385ce96fe0SLinus Walleij
395ce96fe0SLinus Walleijexamples:
405ce96fe0SLinus Walleij  - |
415ce96fe0SLinus Walleij    #include <dt-bindings/gpio/gpio.h>
425ce96fe0SLinus Walleij
4352120e8cSSam Ravnborg    dsi {
445ce96fe0SLinus Walleij        #address-cells = <1>;
455ce96fe0SLinus Walleij        #size-cells = <0>;
4652120e8cSSam Ravnborg        panel@0 {
475ce96fe0SLinus Walleij            compatible = "hydis,hva40wv1", "novatek,nt35510";
485ce96fe0SLinus Walleij            reg = <0>;
495ce96fe0SLinus Walleij            vdd-supply = <&ab8500_ldo_aux4_reg>;
505ce96fe0SLinus Walleij            vddi-supply = <&ab8500_ldo_aux6_reg>;
515ce96fe0SLinus Walleij            reset-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
525ce96fe0SLinus Walleij            backlight = <&gpio_bl>;
535ce96fe0SLinus Walleij        };
545ce96fe0SLinus Walleij    };
555ce96fe0SLinus Walleij
565ce96fe0SLinus Walleij...
57