0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/panel/novatek,nt35510.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Novatek NT35510-based display panels
0008
0009 maintainers:
0010 - Linus Walleij <linus.walleij@linaro.org>
0011
0012 allOf:
0013 - $ref: panel-common.yaml#
0014
0015 properties:
0016 compatible:
0017 items:
0018 - const: hydis,hva40wv1
0019 - const: novatek,nt35510
0020 description: This indicates the panel manufacturer of the panel
0021 that is in turn using the NT35510 panel driver. The compatible
0022 string determines how the NT35510 panel driver shall be configured
0023 to work with the indicated panel. The novatek,nt35510 compatible shall
0024 always be provided as a fallback.
0025 reg: true
0026 reset-gpios: true
0027 vdd-supply:
0028 description: regulator that supplies the vdd voltage
0029 vddi-supply:
0030 description: regulator that supplies the vddi voltage
0031 backlight: true
0032
0033 required:
0034 - compatible
0035 - reg
0036
0037 additionalProperties: false
0038
0039 examples:
0040 - |
0041 #include <dt-bindings/gpio/gpio.h>
0042
0043 dsi {
0044 #address-cells = <1>;
0045 #size-cells = <0>;
0046 panel@0 {
0047 compatible = "hydis,hva40wv1", "novatek,nt35510";
0048 reg = <0>;
0049 vdd-supply = <&ab8500_ldo_aux4_reg>;
0050 vddi-supply = <&ab8500_ldo_aux6_reg>;
0051 reset-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
0052 backlight = <&gpio_bl>;
0053 };
0054 };
0055
0056 ...