Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: display: panel: Add bindings for Novatek nt36672a

Novatek nt36672a is a display driver IC that can drive DSI panel. It
is also present in the Tianma video mode panel, which is a FHD+ panel
with a resolution of 1080x2246 and 6.18 inches size. It is found in
some of the Poco F1 phones.

This patch adds the display driver for the IC, with support added for
this tianma fhd video mode panel.

Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200902064407.30712-2-sumit.semwal@linaro.org

+87
+87
Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml
··· 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: 25 + - tianma,fhd-video 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: 33 + description: phandle of gpio for reset line - This should be 8mA, gpio 34 + can be configured using mux, pinctrl, pinctrl-names (active high) 35 + 36 + vddio-supply: 37 + description: phandle of the regulator that provides the supply voltage 38 + Power IC supply 39 + 40 + vddpos-supply: 41 + description: phandle of the positive boost supply regulator 42 + 43 + vddneg-supply: 44 + description: phandle of the negative boost supply regulator 45 + 46 + reg: true 47 + port: true 48 + 49 + required: 50 + - compatible 51 + - reg 52 + - vddi0-supply 53 + - vddpos-supply 54 + - vddneg-supply 55 + - reset-gpios 56 + - port 57 + 58 + unevaluatedProperties: false 59 + 60 + examples: 61 + - |+ 62 + #include <dt-bindings/gpio/gpio.h> 63 + 64 + dsi0 { 65 + #address-cells = <1>; 66 + #size-cells = <0>; 67 + 68 + panel@0 { 69 + compatible = "tianma,fhd-video", "novatek,nt36672a"; 70 + reg = <0>; 71 + vddi0-supply = <&vreg_l14a_1p88>; 72 + vddpos-supply = <&lab>; 73 + vddneg-supply = <&ibb>; 74 + 75 + reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; 76 + 77 + #address-cells = <1>; 78 + #size-cells = <0>; 79 + port { 80 + tianma_nt36672a_in_0: endpoint { 81 + remote-endpoint = <&dsi0_out>; 82 + }; 83 + }; 84 + }; 85 + }; 86 + 87 + ...