Linus Walleij | 5ce96fe | 2020-02-23 13:18:40 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/display/panel/novatek,nt35510.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Novatek NT35510-based display panels |
| 8 | |
| 9 | maintainers: |
| 10 | - Linus Walleij <linus.walleij@linaro.org> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: panel-common.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | items: |
| 18 | - const: hydis,hva40wv1 |
| 19 | - const: novatek,nt35510 |
| 20 | description: This indicates the panel manufacturer of the panel |
| 21 | that is in turn using the NT35510 panel driver. The compatible |
| 22 | string determines how the NT35510 panel driver shall be configured |
| 23 | to work with the indicated panel. The novatek,nt35510 compatible shall |
| 24 | always be provided as a fallback. |
| 25 | reg: true |
| 26 | reset-gpios: true |
| 27 | vdd-supply: |
Rob Herring | f516fb7 | 2020-04-20 21:24:47 -0500 | [diff] [blame^] | 28 | description: regulator that supplies the vdd voltage |
Linus Walleij | 5ce96fe | 2020-02-23 13:18:40 +0100 | [diff] [blame] | 29 | vddi-supply: |
Rob Herring | f516fb7 | 2020-04-20 21:24:47 -0500 | [diff] [blame^] | 30 | description: regulator that supplies the vddi voltage |
Linus Walleij | 5ce96fe | 2020-02-23 13:18:40 +0100 | [diff] [blame] | 31 | backlight: true |
| 32 | |
| 33 | required: |
| 34 | - compatible |
| 35 | - reg |
| 36 | |
| 37 | additionalProperties: false |
| 38 | |
| 39 | examples: |
| 40 | - | |
| 41 | #include <dt-bindings/gpio/gpio.h> |
| 42 | |
Sam Ravnborg | 52120e8 | 2020-03-08 12:50:17 +0100 | [diff] [blame] | 43 | dsi { |
Linus Walleij | 5ce96fe | 2020-02-23 13:18:40 +0100 | [diff] [blame] | 44 | #address-cells = <1>; |
| 45 | #size-cells = <0>; |
Sam Ravnborg | 52120e8 | 2020-03-08 12:50:17 +0100 | [diff] [blame] | 46 | panel@0 { |
Linus Walleij | 5ce96fe | 2020-02-23 13:18:40 +0100 | [diff] [blame] | 47 | compatible = "hydis,hva40wv1", "novatek,nt35510"; |
| 48 | reg = <0>; |
| 49 | vdd-supply = <&ab8500_ldo_aux4_reg>; |
| 50 | vddi-supply = <&ab8500_ldo_aux6_reg>; |
| 51 | reset-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>; |
| 52 | backlight = <&gpio_bl>; |
| 53 | }; |
| 54 | }; |
| 55 | |
| 56 | ... |