From 7d2dffd72625784945b8a467b6d47fbed6fe7d74 Mon Sep 17 00:00:00 2001 From: Nickolay Goppen Date: Thu, 24 Sep 2026 18:08:14 +0300 Subject: [PATCH] dt-bindings: display: panel: Add Novatek NT51021 Novatek NT51021 is a display driver IC that can drive DSI panel. It is also present in the BOE TV101WUM-NX0 video mode panel, which is a WUXGA panel with a resolution of 1200x1920 and 10.1 inches size. It is found in Xiaomi Mi Pad 4 Plus. Also it's present in the BOE-TV080WUM-NX2 video mode panel, which also has a resolution of 1200x1920, but 8 inches size. It is found in Xiaomi Mi Pad 4. And also it's present in the BOE-TV101WUM-NM0. It's found in Amazon Fire HD 10 (2017). Add the bindings for display driver for the IC, with support added for this BOE TV101WUM-NX0 and TV080WUM-NX2 WUXGA video mode panels. Reviewed-by: Krzysztof Kozlowski Co-developed-by: Ryan Brue Signed-off-by: Ryan Brue Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Nickolay Goppen Signed-off-by: Neil Armstrong Link: https://patch.msgid.link/20260924-qcom-novatek-nt51021-panels-v5-1-f5eaf5685c9c@mainlining.org --- .../display/panel/novatek,nt51021.yaml | 87 +++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/novatek,nt51021.yaml diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt51021.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt51021.yaml new file mode 100644 index 000000000000..7754a8cb1e5c --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt51021.yaml @@ -0,0 +1,87 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/novatek,nt51021.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Novatek NT51021 based DSI display Panels + +maintainers: + - Nickolay Goppen + +description: + The NT51021 IC from Novatek is a generic DSI Panel IC used to drive dsi + panels. + Right now, support is added only for a BOE WUXGA LCD display panels with a + resolution of 1200x1920. They are video mode DSI panels. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - enum: + - boe,tv101wum-nm0 + - boe,tv101wum-nx0 + - boe,tv080wum-nx2 + - const: novatek,nt51021 + + reg: + maxItems: 1 + + 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 low) + + vdd-supply: + description: phandle of the regulator that provides the supply voltage + for digital circuits + + avdd-supply: + description: phandle of the regulator that provides the supply voltage + for analog circuits + + havdd-supply: + description: phandle of the regulator that provides the supply voltage + for analog circuits + +required: + - compatible + - reg + - vdd-supply + - avdd-supply + - havdd-supply + - reset-gpios + - port + +unevaluatedProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "boe,tv101wum-nx0", "novatek,nt51021"; + reg = <0>; + vdd-supply = <&lcd_pwr>; + avdd-supply = <&lcd_pwr>; + havdd-supply = <&lcd_pwr>; + + backlight = <&i2c_backlight>; + reset-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>; + + port { + panel_in: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; + +... -- knotmirror 0.0.1