Skip to content

Commit 0311e0f

Browse files
krzksuperna9999
authored andcommitted
dt-bindings: display: panel: Add Novatek NT37801
Add bindings for the Novatek NT37801 or NT37810 AMOLED DSI panel. Sources, like downstream DTS, schematics and hardware manuals, use two model names (NT37801 and NT37810), so choose one and hope it is correct. Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 0e7c523 commit 0311e0f

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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,nt37801.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Novatek NT37801 AMOLED DSI Panel
8+
9+
maintainers:
10+
- Krzysztof Kozlowski <[email protected]>
11+
12+
description:
13+
Naming is inconclusive and different sources claim this is either Novatek
14+
NT37801 or NT37810 AMOLED DSI Panel.
15+
16+
allOf:
17+
- $ref: panel-common.yaml#
18+
19+
properties:
20+
compatible:
21+
const: novatek,nt37801
22+
23+
reg:
24+
maxItems: 1
25+
description: DSI virtual channel
26+
27+
vci-supply: true
28+
vdd-supply: true
29+
vddio-supply: true
30+
port: true
31+
reset-gpios: true
32+
33+
required:
34+
- compatible
35+
- reg
36+
- vci-supply
37+
- vdd-supply
38+
- vddio-supply
39+
- port
40+
- reset-gpios
41+
42+
additionalProperties: false
43+
44+
examples:
45+
- |
46+
#include <dt-bindings/gpio/gpio.h>
47+
48+
dsi {
49+
#address-cells = <1>;
50+
#size-cells = <0>;
51+
52+
panel@0 {
53+
compatible = "novatek,nt37801";
54+
reg = <0>;
55+
56+
vci-supply = <&vreg_l13b_3p0>;
57+
vdd-supply = <&vreg_l11b_1p2>;
58+
vddio-supply = <&vreg_l12b_1p8>;
59+
60+
reset-gpios = <&tlmm 98 GPIO_ACTIVE_LOW>;
61+
62+
port {
63+
endpoint {
64+
remote-endpoint = <&dsi0_out>;
65+
};
66+
};
67+
};
68+
};
69+
...

0 commit comments

Comments
 (0)