# 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@mainlining.org>
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 <dt-bindings/gpio/gpio.h>
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>;
};
};
};
};
...