1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/novatek,nt35510.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: Novatek NT35510-based display panels 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Linus Walleij <linus.walleij@linaro.org> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel VadotallOf: 13c66ec88fSEmmanuel Vadot - $ref: panel-common.yaml# 14c66ec88fSEmmanuel Vadot 15c66ec88fSEmmanuel Vadotproperties: 16c66ec88fSEmmanuel Vadot compatible: 17c66ec88fSEmmanuel Vadot items: 1801950c46SEmmanuel Vadot - enum: 1901950c46SEmmanuel Vadot - frida,frd400b25025 2001950c46SEmmanuel Vadot - hydis,hva40wv1 21c66ec88fSEmmanuel Vadot - const: novatek,nt35510 22c66ec88fSEmmanuel Vadot description: This indicates the panel manufacturer of the panel 23c66ec88fSEmmanuel Vadot that is in turn using the NT35510 panel driver. The compatible 24c66ec88fSEmmanuel Vadot string determines how the NT35510 panel driver shall be configured 25c66ec88fSEmmanuel Vadot to work with the indicated panel. The novatek,nt35510 compatible shall 26c66ec88fSEmmanuel Vadot always be provided as a fallback. 27*7d0873ebSEmmanuel Vadot 28*7d0873ebSEmmanuel Vadot reg: 29*7d0873ebSEmmanuel Vadot maxItems: 1 30*7d0873ebSEmmanuel Vadot 31c66ec88fSEmmanuel Vadot reset-gpios: true 32c66ec88fSEmmanuel Vadot vdd-supply: 33c66ec88fSEmmanuel Vadot description: regulator that supplies the vdd voltage 34c66ec88fSEmmanuel Vadot vddi-supply: 35c66ec88fSEmmanuel Vadot description: regulator that supplies the vddi voltage 36c66ec88fSEmmanuel Vadot backlight: true 3701950c46SEmmanuel Vadot port: true 38c66ec88fSEmmanuel Vadot 39c66ec88fSEmmanuel Vadotrequired: 40c66ec88fSEmmanuel Vadot - compatible 41c66ec88fSEmmanuel Vadot - reg 42c66ec88fSEmmanuel Vadot 43c66ec88fSEmmanuel VadotadditionalProperties: false 44c66ec88fSEmmanuel Vadot 45c66ec88fSEmmanuel Vadotexamples: 46c66ec88fSEmmanuel Vadot - | 47c66ec88fSEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 48c66ec88fSEmmanuel Vadot 49c66ec88fSEmmanuel Vadot dsi { 50c66ec88fSEmmanuel Vadot #address-cells = <1>; 51c66ec88fSEmmanuel Vadot #size-cells = <0>; 52c66ec88fSEmmanuel Vadot panel@0 { 53c66ec88fSEmmanuel Vadot compatible = "hydis,hva40wv1", "novatek,nt35510"; 54c66ec88fSEmmanuel Vadot reg = <0>; 55c66ec88fSEmmanuel Vadot vdd-supply = <&ab8500_ldo_aux4_reg>; 56c66ec88fSEmmanuel Vadot vddi-supply = <&ab8500_ldo_aux6_reg>; 57c66ec88fSEmmanuel Vadot reset-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>; 58c66ec88fSEmmanuel Vadot backlight = <&gpio_bl>; 59c66ec88fSEmmanuel Vadot }; 60c66ec88fSEmmanuel Vadot }; 61c66ec88fSEmmanuel Vadot 62c66ec88fSEmmanuel Vadot... 63