xref: /linux/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml (revision 06f054b1fee83415fe35204845708988fc16ef22)
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:
189676bee4SDario Binacchi      - enum:
199676bee4SDario Binacchi          - frida,frd400b25025
209676bee4SDario Binacchi          - hydis,hva40wv1
215ce96fe0SLinus Walleij      - const: novatek,nt35510
225ce96fe0SLinus Walleij    description: This indicates the panel manufacturer of the panel
235ce96fe0SLinus Walleij      that is in turn using the NT35510 panel driver. The compatible
245ce96fe0SLinus Walleij      string determines how the NT35510 panel driver shall be configured
255ce96fe0SLinus Walleij      to work with the indicated panel. The novatek,nt35510 compatible shall
265ce96fe0SLinus Walleij      always be provided as a fallback.
27*9fa6bcf2SKrzysztof Kozlowski
28*9fa6bcf2SKrzysztof Kozlowski  reg:
29*9fa6bcf2SKrzysztof Kozlowski    maxItems: 1
30*9fa6bcf2SKrzysztof Kozlowski
315ce96fe0SLinus Walleij  reset-gpios: true
325ce96fe0SLinus Walleij  vdd-supply:
335ce96fe0SLinus Walleij    description: regulator that supplies the vdd voltage
345ce96fe0SLinus Walleij  vddi-supply:
355ce96fe0SLinus Walleij    description: regulator that supplies the vddi voltage
365ce96fe0SLinus Walleij  backlight: true
3740aed1c0SDario Binacchi  port: true
385ce96fe0SLinus Walleij
395ce96fe0SLinus Walleijrequired:
405ce96fe0SLinus Walleij  - compatible
415ce96fe0SLinus Walleij  - reg
425ce96fe0SLinus Walleij
435ce96fe0SLinus WalleijadditionalProperties: false
445ce96fe0SLinus Walleij
455ce96fe0SLinus Walleijexamples:
465ce96fe0SLinus Walleij  - |
475ce96fe0SLinus Walleij    #include <dt-bindings/gpio/gpio.h>
485ce96fe0SLinus Walleij
4952120e8cSSam Ravnborg    dsi {
505ce96fe0SLinus Walleij        #address-cells = <1>;
515ce96fe0SLinus Walleij        #size-cells = <0>;
5252120e8cSSam Ravnborg        panel@0 {
535ce96fe0SLinus Walleij            compatible = "hydis,hva40wv1", "novatek,nt35510";
545ce96fe0SLinus Walleij            reg = <0>;
555ce96fe0SLinus Walleij            vdd-supply = <&ab8500_ldo_aux4_reg>;
565ce96fe0SLinus Walleij            vddi-supply = <&ab8500_ldo_aux6_reg>;
575ce96fe0SLinus Walleij            reset-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
585ce96fe0SLinus Walleij            backlight = <&gpio_bl>;
595ce96fe0SLinus Walleij        };
605ce96fe0SLinus Walleij    };
615ce96fe0SLinus Walleij
625ce96fe0SLinus Walleij...
63