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,nt35950.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Novatek NT35950-based display panels
0008 
0009 maintainers:
0010   - AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
0011 
0012 description: |
0013   The nt35950 IC from Novatek is a Driver IC used to drive MIPI-DSI panels,
0014   with Static RAM for content retention in command mode and also supports
0015   video mode with VESA Frame Buffer Compression or Display Stream Compression
0016   on single, or dual dsi port(s).
0017   This DDIC is also capable of upscaling an input image to the panel's native
0018   resolution, for example it can upscale a 1920x1080 input to 3840x2160 with
0019   either bilinear interpolation or pixel duplication.
0020 
0021 allOf:
0022   - $ref: panel-common.yaml#
0023 
0024 properties:
0025   compatible:
0026     items:
0027       - enum:
0028           - sharp,ls055d1sx04
0029       - const: novatek,nt35950
0030     description: This indicates the panel manufacturer of the panel
0031       that is in turn using the NT35950 panel driver. The compatible
0032       string determines how the NT35950 panel driver shall be configured
0033       to work with the indicated panel. The novatek,nt35950 compatible shall
0034       always be provided as a fallback.
0035 
0036   reset-gpios:
0037     maxItems: 1
0038     description: phandle of gpio for reset line - This should be 8mA, gpio
0039       can be configured using mux, pinctrl, pinctrl-names (active high)
0040 
0041   avdd-supply:
0042     description: positive boost supply regulator
0043   avee-supply:
0044     description: negative boost supply regulator
0045   dvdd-supply:
0046     description: regulator that supplies the digital voltage
0047   vddio-supply:
0048     description: regulator that supplies the I/O voltage
0049 
0050   backlight: true
0051   ports: true
0052   reg: true
0053 
0054 required:
0055   - compatible
0056   - reg
0057   - reset-gpios
0058   - avdd-supply
0059   - avee-supply
0060   - dvdd-supply
0061   - vddio-supply
0062 
0063 additionalProperties: false
0064 
0065 examples:
0066   - |
0067     #include <dt-bindings/gpio/gpio.h>
0068 
0069     dsi0 {
0070         #address-cells = <1>;
0071         #size-cells = <0>;
0072 
0073         panel@0 {
0074             compatible = "sharp,ls055d1sx04", "novatek,nt35950";
0075             reg = <0>;
0076 
0077             backlight = <&pmi8998_wled>;
0078             reset-gpios = <&tlmm 94 GPIO_ACTIVE_HIGH>;
0079 
0080             avdd-supply = <&lab>;
0081             avee-supply = <&ibb>;
0082             dvdd-supply = <&disp_dvdd_vreg>;
0083             vddio-supply = <&vreg_l14a_1p85>;
0084 
0085             ports {
0086                 #address-cells = <1>;
0087                 #size-cells = <0>;
0088 
0089                 port@0 {
0090                     reg = <0>;
0091                     panel_in0: endpoint {
0092                         remote-endpoint = <&dsi0_out>;
0093                     };
0094                 };
0095 
0096                 port@1 {
0097                     reg = <1>;
0098                     panel_in1: endpoint {
0099                         remote-endpoint = <&dsi1_out>;
0100                     };
0101                 };
0102             };
0103         };
0104     };
0105 
0106 ...