brintos

brintos / linux-shallow public Read only

0
0
Text · 2.2 KiB · 800a2f0 Raw
91 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/display/panel/novatek,nt36672a.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Novatek NT36672A based DSI display Panels8 9maintainers:10  - Sumit Semwal <sumit.semwal@linaro.org>11 12description: |13  The nt36672a IC from Novatek is a generic DSI Panel IC used to drive dsi14  panels.15  Right now, support is added only for a Tianma FHD+ LCD display panel with a16  resolution of 1080x2246. It is a video mode DSI panel.17 18allOf:19  - $ref: panel-common.yaml#20 21properties:22  compatible:23    items:24      - enum:25          - tianma,fhd-video26      - const: novatek,nt36672a27    description: This indicates the panel manufacturer of the panel that is28      in turn using the NT36672A panel driver. This compatible string29      determines how the NT36672A panel driver is configured for the indicated30      panel. The novatek,nt36672a compatible shall always be provided as a fallback.31 32  reg:33    maxItems: 134 35  reset-gpios:36    maxItems: 137    description: phandle of gpio for reset line - This should be 8mA, gpio38      can be configured using mux, pinctrl, pinctrl-names (active high)39 40  vddio-supply:41    description: phandle of the regulator that provides the supply voltage42      Power IC supply43 44  vddpos-supply:45    description: phandle of the positive boost supply regulator46 47  vddneg-supply:48    description: phandle of the negative boost supply regulator49 50  port: true51  backlight: true52 53required:54  - compatible55  - reg56  - vddio-supply57  - vddpos-supply58  - vddneg-supply59  - reset-gpios60  - port61 62unevaluatedProperties: false63 64examples:65  - |+66    #include <dt-bindings/gpio/gpio.h>67 68    dsi0 {69        #address-cells = <1>;70        #size-cells = <0>;71 72        panel@0 {73            compatible = "tianma,fhd-video", "novatek,nt36672a";74            reg = <0>;75            vddio-supply = <&vreg_l14a_1p88>;76            vddpos-supply = <&lab>;77            vddneg-supply = <&ibb>;78 79            backlight = <&pmi8998_wled>;80            reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;81 82            port {83                tianma_nt36672a_in_0: endpoint {84                    remote-endpoint = <&dsi0_out>;85                };86            };87        };88    };89 90...91