Sumit Semwal | 9528a02 | 2020-09-02 12:14:06 +0530 | [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,nt36672a.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Novatek NT36672A based DSI display Panels |
| 8 | |
| 9 | maintainers: |
| 10 | - Sumit Semwal <sumit.semwal@linaro.org> |
| 11 | |
| 12 | description: | |
| 13 | The nt36672a IC from Novatek is a generic DSI Panel IC used to drive dsi |
| 14 | panels. |
| 15 | Right now, support is added only for a Tianma FHD+ LCD display panel with a |
| 16 | resolution of 1080x2246. It is a video mode DSI panel. |
| 17 | |
| 18 | allOf: |
| 19 | - $ref: panel-common.yaml# |
| 20 | |
| 21 | properties: |
| 22 | compatible: |
| 23 | items: |
| 24 | - enum: |
Zhen Lei | aeefc1a | 2020-12-07 12:48:30 +0800 | [diff] [blame] | 25 | - tianma,fhd-video |
Sumit Semwal | 9528a02 | 2020-09-02 12:14:06 +0530 | [diff] [blame] | 26 | - const: novatek,nt36672a |
| 27 | description: This indicates the panel manufacturer of the panel that is |
| 28 | in turn using the NT36672A panel driver. This compatible string |
| 29 | determines how the NT36672A panel driver is configured for the indicated |
| 30 | panel. The novatek,nt36672a compatible shall always be provided as a fallback. |
| 31 | |
| 32 | reset-gpios: |
Rob Herring | 0499220 | 2021-01-04 16:02:53 -0700 | [diff] [blame] | 33 | maxItems: 1 |
Sumit Semwal | 9528a02 | 2020-09-02 12:14:06 +0530 | [diff] [blame] | 34 | description: phandle of gpio for reset line - This should be 8mA, gpio |
| 35 | can be configured using mux, pinctrl, pinctrl-names (active high) |
| 36 | |
Rob Herring | c2abcf3 | 2021-12-21 08:51:26 -0400 | [diff] [blame] | 37 | vddi0-supply: |
Sumit Semwal | 9528a02 | 2020-09-02 12:14:06 +0530 | [diff] [blame] | 38 | description: phandle of the regulator that provides the supply voltage |
| 39 | Power IC supply |
| 40 | |
| 41 | vddpos-supply: |
| 42 | description: phandle of the positive boost supply regulator |
| 43 | |
| 44 | vddneg-supply: |
| 45 | description: phandle of the negative boost supply regulator |
| 46 | |
| 47 | reg: true |
| 48 | port: true |
| 49 | |
| 50 | required: |
| 51 | - compatible |
| 52 | - reg |
| 53 | - vddi0-supply |
| 54 | - vddpos-supply |
| 55 | - vddneg-supply |
| 56 | - reset-gpios |
| 57 | - port |
| 58 | |
| 59 | unevaluatedProperties: false |
| 60 | |
| 61 | examples: |
| 62 | - |+ |
| 63 | #include <dt-bindings/gpio/gpio.h> |
| 64 | |
| 65 | dsi0 { |
| 66 | #address-cells = <1>; |
| 67 | #size-cells = <0>; |
| 68 | |
| 69 | panel@0 { |
| 70 | compatible = "tianma,fhd-video", "novatek,nt36672a"; |
| 71 | reg = <0>; |
| 72 | vddi0-supply = <&vreg_l14a_1p88>; |
| 73 | vddpos-supply = <&lab>; |
| 74 | vddneg-supply = <&ibb>; |
| 75 | |
| 76 | reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; |
| 77 | |
Sumit Semwal | 9528a02 | 2020-09-02 12:14:06 +0530 | [diff] [blame] | 78 | port { |
| 79 | tianma_nt36672a_in_0: endpoint { |
| 80 | remote-endpoint = <&dsi0_out>; |
| 81 | }; |
| 82 | }; |
| 83 | }; |
| 84 | }; |
| 85 | |
| 86 | ... |