Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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# |
| 6 | |
| 7 | title: Novatek NT35950-based display panels |
| 8 | |
| 9 | maintainers: |
| 10 | - AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> |
| 11 | |
| 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. |
| 20 | |
| 21 | allOf: |
| 22 | - $ref: panel-common.yaml# |
| 23 | |
| 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. |
| 35 | |
| 36 | reset-gpios: |
| 37 | maxItems: 1 |
| 38 | description: phandle of gpio for reset line - This should be 8mA, gpio |
| 39 | can be configured using mux, pinctrl, pinctrl-names (active high) |
| 40 | |
| 41 | avdd-supply: |
| 42 | description: positive boost supply regulator |
| 43 | avee-supply: |
| 44 | description: negative boost supply regulator |
| 45 | dvdd-supply: |
| 46 | description: regulator that supplies the digital voltage |
| 47 | vddio-supply: |
| 48 | description: regulator that supplies the I/O voltage |
| 49 | |
| 50 | backlight: true |
| 51 | ports: true |
| 52 | reg: true |
| 53 | |
| 54 | required: |
| 55 | - compatible |
| 56 | - reg |
| 57 | - reset-gpios |
| 58 | - avdd-supply |
| 59 | - avee-supply |
| 60 | - dvdd-supply |
| 61 | - vddio-supply |
| 62 | |
| 63 | additionalProperties: false |
| 64 | |
| 65 | examples: |
| 66 | - | |
| 67 | #include <dt-bindings/gpio/gpio.h> |
| 68 | |
| 69 | dsi0 { |
| 70 | #address-cells = <1>; |
| 71 | #size-cells = <0>; |
| 72 | |
| 73 | panel@0 { |
| 74 | compatible = "sharp,ls055d1sx04", "novatek,nt35950"; |
| 75 | reg = <0>; |
| 76 | |
| 77 | backlight = <&pmi8998_wled>; |
| 78 | reset-gpios = <&tlmm 94 GPIO_ACTIVE_HIGH>; |
| 79 | |
| 80 | avdd-supply = <&lab>; |
| 81 | avee-supply = <&ibb>; |
| 82 | dvdd-supply = <&disp_dvdd_vreg>; |
| 83 | vddio-supply = <&vreg_l14a_1p85>; |
| 84 | |
| 85 | ports { |
| 86 | #address-cells = <1>; |
| 87 | #size-cells = <0>; |
| 88 | |
| 89 | port@0 { |
| 90 | reg = <0>; |
| 91 | panel_in0: endpoint { |
| 92 | remote-endpoint = <&dsi0_out>; |
| 93 | }; |
| 94 | }; |
| 95 | |
| 96 | port@1 { |
| 97 | reg = <1>; |
| 98 | panel_in1: endpoint { |
| 99 | remote-endpoint = <&dsi1_out>; |
| 100 | }; |
| 101 | }; |
| 102 | }; |
| 103 | }; |
| 104 | }; |
| 105 | |
| 106 | ... |