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

From: Arnaud Ferraris
Date: Wed Jul 19 2023 - 11:20:23 EST


From: Molly Sophia <mollysophia379@xxxxxxxxx>

Add documentation for "novatek,nt35596s" panel.

Signed-off-by: Molly Sophia <mollysophia379@xxxxxxxxx>
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@xxxxxxxxxxxxx>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
---
Changes in v5:
- Move changelog out of commit message.
- Wrap header comment block lines around 80 chars.

Changes in v4:
- No change.

Changes in v3:
- Embed the support into existing driver (panel-novatek-nt36672a), as
these two IC are similar with different initialization commands.

.../display/panel/novatek,nt36672a.yaml | 21 ++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)

diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml
index ae821f465e1c..53b9e771af56 100644
--- a/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml
+++ b/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml
@@ -20,14 +20,21 @@ 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.40.1