2023-07-19 15:38:33

by Arnaud Ferraris

[permalink] [raw]
Subject: [PATCH v5 0/2 RESEND] Add driver for Novatek NT35596S panel

These patches add support for Novatek NT35596S based JDI FHD panels,
found in Xiaomi Mi Mix2S mobile phones.

Notes:
- I'm taking over this series as the original submitter is no longer
able to work on/test those patches.
- Re-sending as I messed the1st attempt by not including the mailing
lists; sorry to those impacted by the noise

Changes in v5:
- Move changelogs out of commit messages.
- Wrap comment/text lines around 80 chars.

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

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

Changes in v2:
- Correct items order in Makefile and improve failure handling.

Molly Sophia (2):
dt-bindings: display: panel: Add Novatek NT35596S panel bindings
drm: panel: Add novatek nt35596s panel driver

.../display/panel/novatek,nt36672a.yaml | 21 +-
drivers/gpu/drm/panel/Kconfig | 7 +-
.../gpu/drm/panel/panel-novatek-nt36672a.c | 251 ++++++++++++++++--
3 files changed, 251 insertions(+), 28 deletions(-)

--
2.40.1


2023-07-19 15:39:26

by Arnaud Ferraris

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

From: Molly Sophia <[email protected]>

Add documentation for "novatek,nt35596s" panel.

Signed-off-by: Molly Sophia <[email protected]>
Signed-off-by: Arnaud Ferraris <[email protected]>
Acked-by: Krzysztof Kozlowski <[email protected]>
---
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