Re: [PATCH v2 1/3] dt-bindings: display: panel: Add bindings for Novatek NT51021
From: Krzysztof Kozlowski
Date: Sun Sep 13 2026 - 05:31:37 EST
On Fri, Sep 11, 2026 at 06:38:00PM +0300, Nickolay Goppen wrote:
> 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.
A nit, subject: drop second/last, redundant "bindings for". The
"dt-bindings" prefix is already stating that these are bindings.
See also:
https://elixir.bootlin.com/linux/v7.1-rc7/source/Documentation/devicetree/bindings/submitting-patches.rst#L23
>
> This patch adds the bindings for display driver for the IC, with support
Please do not use "This commit/patch/change", but imperative mood. See
longer explanation here:
https://elixir.bootlin.com/linux/v6.16/source/Documentation/process/submitting-patches.rst#L94
> added for this BOE TV101WUM-NX0 and TV080WUM-NX2 WUXGA video mode panels.
>
> Signed-off-by: Nickolay Goppen <setotau@xxxxxxxxxxxxxx>
> ---
> .../bindings/display/panel/novatek,nt51021.yaml | 89 ++++++++++++++++++++++
> 1 file changed, 89 insertions(+)
>
> 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..550aefaead46
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt51021.yaml
> @@ -0,0 +1,89 @@
> +# 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 <setotau@xxxxxxxxxxxxxx>
> +
> +description: |
Do not need '|' unless you need to preserve formatting.
> + 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-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
> +
> + port: true
> + backlight: true
You can drop these two
> +
> +required:
> + - compatible
> + - reg
> + - vdd-supply
> + - avdd-supply
> + - havdd-supply
> + - reset-gpios
> + - port
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |+
> + #include <dt-bindings/gpio/gpio.h>
> +
> + dsi0 {
dsi
Best regards,
Krzysztof