Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / display / panel / novatek,nt35950.yaml
bloba9e40493986b7e096e20cee1e7c63c3833a69ea2
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,nt35950.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Novatek NT35950-based display panels
9 maintainers:
10   - AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
12 description: |
13   The nt35950 IC from Novatek is a Driver IC used to drive MIPI-DSI panels,
14   with Static RAM for content retention in command mode and also supports
15   video mode with VESA Frame Buffer Compression or Display Stream Compression
16   on single, or dual dsi port(s).
17   This DDIC is also capable of upscaling an input image to the panel's native
18   resolution, for example it can upscale a 1920x1080 input to 3840x2160 with
19   either bilinear interpolation or pixel duplication.
21 allOf:
22   - $ref: panel-common-dual.yaml#
24 properties:
25   compatible:
26     items:
27       - enum:
28           - sharp,ls055d1sx04
29       - const: novatek,nt35950
30     description: This indicates the panel manufacturer of the panel
31       that is in turn using the NT35950 panel driver. The compatible
32       string determines how the NT35950 panel driver shall be configured
33       to work with the indicated panel. The novatek,nt35950 compatible shall
34       always be provided as a fallback.
36   reg:
37     maxItems: 1
39   reset-gpios:
40     maxItems: 1
41     description: phandle of gpio for reset line - This should be 8mA, gpio
42       can be configured using mux, pinctrl, pinctrl-names (active high)
44   avdd-supply:
45     description: positive boost supply regulator
46   avee-supply:
47     description: negative boost supply regulator
48   dvdd-supply:
49     description: regulator that supplies the digital voltage
50   vddio-supply:
51     description: regulator that supplies the I/O voltage
53   backlight: true
54   ports: true
56 required:
57   - compatible
58   - reg
59   - reset-gpios
60   - avdd-supply
61   - avee-supply
62   - dvdd-supply
63   - vddio-supply
64   - ports
66 additionalProperties: false
68 examples:
69   - |
70     #include <dt-bindings/gpio/gpio.h>
72     dsi0 {
73         #address-cells = <1>;
74         #size-cells = <0>;
76         panel@0 {
77             compatible = "sharp,ls055d1sx04", "novatek,nt35950";
78             reg = <0>;
80             backlight = <&pmi8998_wled>;
81             reset-gpios = <&tlmm 94 GPIO_ACTIVE_HIGH>;
83             avdd-supply = <&lab>;
84             avee-supply = <&ibb>;
85             dvdd-supply = <&disp_dvdd_vreg>;
86             vddio-supply = <&vreg_l14a_1p85>;
88             ports {
89                 #address-cells = <1>;
90                 #size-cells = <0>;
92                 port@0 {
93                     reg = <0>;
94                     panel_in0: endpoint {
95                         remote-endpoint = <&dsi0_out>;
96                     };
97                 };
99                 port@1 {
100                     reg = <1>;
101                     panel_in1: endpoint {
102                         remote-endpoint = <&dsi1_out>;
103                     };
104                 };
105             };
106         };
107     };