summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml
blob: 377a05d48a02a40e1b224eeeba4d8b5761f9a9d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/panel/novatek,nt35950.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Novatek NT35950-based display panels

maintainers:
  - AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>

description: |
  The nt35950 IC from Novatek is a Driver IC used to drive MIPI-DSI panels,
  with Static RAM for content retention in command mode and also supports
  video mode with VESA Frame Buffer Compression or Display Stream Compression
  on single, or dual dsi port(s).
  This DDIC is also capable of upscaling an input image to the panel's native
  resolution, for example it can upscale a 1920x1080 input to 3840x2160 with
  either bilinear interpolation or pixel duplication.

allOf:
  - $ref: panel-common.yaml#

properties:
  compatible:
    items:
      - enum:
          - sharp,ls055d1sx04
      - const: novatek,nt35950
    description: This indicates the panel manufacturer of the panel
      that is in turn using the NT35950 panel driver. The compatible
      string determines how the NT35950 panel driver shall be configured
      to work with the indicated panel. The novatek,nt35950 compatible shall
      always be provided as a fallback.

  reset-gpios:
    maxItems: 1
    description: phandle of gpio for reset line - This should be 8mA, gpio
      can be configured using mux, pinctrl, pinctrl-names (active high)

  avdd-supply:
    description: positive boost supply regulator
  avee-supply:
    description: negative boost supply regulator
  dvdd-supply:
    description: regulator that supplies the digital voltage
  vddio-supply:
    description: regulator that supplies the I/O voltage

  backlight: true
  ports: true
  reg: true

required:
  - compatible
  - reg
  - reset-gpios
  - avdd-supply
  - avee-supply
  - dvdd-supply
  - vddio-supply

additionalProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>

    dsi0 {
        #address-cells = <1>;
        #size-cells = <0>;

        panel@0 {
            compatible = "sharp,ls055d1sx04", "novatek,nt35950";
            reg = <0>;

            backlight = <&pmi8998_wled>;
            reset-gpios = <&tlmm 94 GPIO_ACTIVE_HIGH>;

            avdd-supply = <&lab>;
            avee-supply = <&ibb>;
            dvdd-supply = <&disp_dvdd_vreg>;
            vddio-supply = <&vreg_l14a_1p85>;

            ports {
                #address-cells = <1>;
                #size-cells = <0>;

                port@0 {
                    reg = <0>;
                    panel_in0: endpoint {
                        remote-endpoint = <&dsi0_out>;
                    };
                };

                port@1 {
                    reg = <1>;
                    panel_in1: endpoint {
                        remote-endpoint = <&dsi1_out>;
                    };
                };
            };
        };
    };

...