[PATCH v4 1/2] dt-bindings: display: panel: Add Novatek NT35596S panel bindings

From: Molly Sophia
Date: Wed Jul 27 2022 - 22:36:35 EST


Add documentation for "novatek,nt35596s" panel.

Changes in v4:
- Correct numeric order of the items.

Changes in v3:
- Embed the documentation into existing one (novatek,nt36672a).

Signed-off-by: Molly Sophia <mollysophia379@xxxxxxxxx>
---
.../display/panel/novatek,nt36672a.yaml | 20 ++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml
index 563766d283f6..d21a4a87a9d8 100644
--- a/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml
+++ b/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml
@@ -20,14 +20,20 @@ allOf:

properties:
compatible:
- items:
- - enum:
- - tianma,fhd-video
- - const: novatek,nt36672a
+ oneOf:
+ - items:
+ - enum:
+ - jdi,fhd-nt35596s
+ - const: novatek,nt35596s
+
+ - items:
+ - enum:
+ - tianma,fhd-video
+ - const: novatek,nt36672a
+
description: This indicates the panel manufacturer of the panel that is
- in turn using the NT36672A panel driver. This compatible string
- determines how the NT36672A panel driver is configured for the indicated
- panel. The novatek,nt36672a compatible shall always be provided as a fallback.
+ in turn using the NT36672A or the NT35596S panel driver. This compatible string
+ determines how the panel driver is configured for the indicated panel.

reset-gpios:
maxItems: 1
--
2.37.1