18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28c2ecf20Sopenharmony_ci%YAML 1.2
38c2ecf20Sopenharmony_ci---
48c2ecf20Sopenharmony_ci$id: http://devicetree.org/schemas/display/panel/novatek,nt35510.yaml#
58c2ecf20Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml#
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_cititle: Novatek NT35510-based display panels
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_cimaintainers:
108c2ecf20Sopenharmony_ci  - Linus Walleij <linus.walleij@linaro.org>
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciallOf:
138c2ecf20Sopenharmony_ci  - $ref: panel-common.yaml#
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciproperties:
168c2ecf20Sopenharmony_ci  compatible:
178c2ecf20Sopenharmony_ci    items:
188c2ecf20Sopenharmony_ci      - const: hydis,hva40wv1
198c2ecf20Sopenharmony_ci      - const: novatek,nt35510
208c2ecf20Sopenharmony_ci    description: This indicates the panel manufacturer of the panel
218c2ecf20Sopenharmony_ci      that is in turn using the NT35510 panel driver. The compatible
228c2ecf20Sopenharmony_ci      string determines how the NT35510 panel driver shall be configured
238c2ecf20Sopenharmony_ci      to work with the indicated panel. The novatek,nt35510 compatible shall
248c2ecf20Sopenharmony_ci      always be provided as a fallback.
258c2ecf20Sopenharmony_ci  reg: true
268c2ecf20Sopenharmony_ci  reset-gpios: true
278c2ecf20Sopenharmony_ci  vdd-supply:
288c2ecf20Sopenharmony_ci    description: regulator that supplies the vdd voltage
298c2ecf20Sopenharmony_ci  vddi-supply:
308c2ecf20Sopenharmony_ci    description: regulator that supplies the vddi voltage
318c2ecf20Sopenharmony_ci  backlight: true
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_cirequired:
348c2ecf20Sopenharmony_ci  - compatible
358c2ecf20Sopenharmony_ci  - reg
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ciadditionalProperties: false
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ciexamples:
408c2ecf20Sopenharmony_ci  - |
418c2ecf20Sopenharmony_ci    #include <dt-bindings/gpio/gpio.h>
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ci    dsi {
448c2ecf20Sopenharmony_ci        #address-cells = <1>;
458c2ecf20Sopenharmony_ci        #size-cells = <0>;
468c2ecf20Sopenharmony_ci        panel@0 {
478c2ecf20Sopenharmony_ci            compatible = "hydis,hva40wv1", "novatek,nt35510";
488c2ecf20Sopenharmony_ci            reg = <0>;
498c2ecf20Sopenharmony_ci            vdd-supply = <&ab8500_ldo_aux4_reg>;
508c2ecf20Sopenharmony_ci            vddi-supply = <&ab8500_ldo_aux6_reg>;
518c2ecf20Sopenharmony_ci            reset-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
528c2ecf20Sopenharmony_ci            backlight = <&gpio_bl>;
538c2ecf20Sopenharmony_ci        };
548c2ecf20Sopenharmony_ci    };
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ci...
57