Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/panel/novatek,nt36672a.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Novatek NT36672A based DSI display Panels
0008 
0009 maintainers:
0010   - Sumit Semwal <sumit.semwal@linaro.org>
0011 
0012 description: |
0013   The nt36672a IC from Novatek is a generic DSI Panel IC used to drive dsi
0014   panels.
0015   Right now, support is added only for a Tianma FHD+ LCD display panel with a
0016   resolution of 1080x2246. It is a video mode DSI panel.
0017 
0018 allOf:
0019   - $ref: panel-common.yaml#
0020 
0021 properties:
0022   compatible:
0023     items:
0024       - enum:
0025           - tianma,fhd-video
0026       - const: novatek,nt36672a
0027     description: This indicates the panel manufacturer of the panel that is
0028       in turn using the NT36672A panel driver. This compatible string
0029       determines how the NT36672A panel driver is configured for the indicated
0030       panel. The novatek,nt36672a compatible shall always be provided as a fallback.
0031 
0032   reset-gpios:
0033     maxItems: 1
0034     description: phandle of gpio for reset line - This should be 8mA, gpio
0035       can be configured using mux, pinctrl, pinctrl-names (active high)
0036 
0037   vddi0-supply:
0038     description: phandle of the regulator that provides the supply voltage
0039       Power IC supply
0040 
0041   vddpos-supply:
0042     description: phandle of the positive boost supply regulator
0043 
0044   vddneg-supply:
0045     description: phandle of the negative boost supply regulator
0046 
0047   reg: true
0048   port: true
0049   backlight: true
0050 
0051 required:
0052   - compatible
0053   - reg
0054   - vddi0-supply
0055   - vddpos-supply
0056   - vddneg-supply
0057   - reset-gpios
0058   - port
0059 
0060 unevaluatedProperties: false
0061 
0062 examples:
0063   - |+
0064     #include <dt-bindings/gpio/gpio.h>
0065 
0066     dsi0 {
0067         #address-cells = <1>;
0068         #size-cells = <0>;
0069 
0070         panel@0 {
0071             compatible = "tianma,fhd-video", "novatek,nt36672a";
0072             reg = <0>;
0073             vddi0-supply = <&vreg_l14a_1p88>;
0074             vddpos-supply = <&lab>;
0075             vddneg-supply = <&ibb>;
0076 
0077             backlight = <&pmi8998_wled>;
0078             reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
0079 
0080             port {
0081                 tianma_nt36672a_in_0: endpoint {
0082                     remote-endpoint = <&dsi0_out>;
0083                 };
0084             };
0085         };
0086     };
0087 
0088 ...