Skip to contentSkip to conversation

drm/panel: Add driver for Seiko 43WVF1G panel

PATCH RESEND Applied Marco Franchi 5 participants 8 messages Jul 20, 2017 – Sep 19, 2017

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND v2 1/1 drm/panel: Add driver for Seiko 43WVF1G panel

Add driver for Seiko Instruments Inc. 4.3" WVGA (800 x RGB x 480) TFT with Touch-Panel.

Datasheet available at:
http://www.glyn.de/data/glyn/media/doc/43wvf1g-0.pdf

Seiko 43WVF1G panel has two power supplies: avdd and dvdd and they require a specific power on/down sequence.
For this reason the simple panel driver cannot be used to drive this panel, so create a new one heavily based on simple panel.

Based on initial patch submission from Breno Lima.

---
Changes since v1:
-Change supply names to dvdd-supply and avdd-supply

 .../bindings/display/panel/seiko,43wvf1g.txt       |  23 ++
 drivers/gpu/drm/panel/Kconfig                      |   9 +
 drivers/gpu/drm/panel/Makefile                     |   1 +
 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c        | 372 +++++++++++++++++++++
 4 files changed, 405 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/seiko,43wvf1g.txt
 create mode 100644 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c
Documentation/devicetree/bindings/display/panel/seiko,43wvf1g.txt new file +23 -0
new file mode 100644
index 0000000..aae57ef
@@ -0,0 +1,23 @@
+Seiko Instruments Inc. 4.3" WVGA (800 x RGB x 480) TFT with Touch-Panel
+
+Required properties:
+- compatible: should be "sii,43wvf1g".
+- "dvdd-supply": 3v3 digital regulator.
+- "avdd-supply": 5v analog regulator.
+
+Optional properties:
+- backlight: phandle for the backlight control.
+
+Example:
+
+	panel {
+		compatible = "sii,43wvf1g";
+		backlight = <&backlight_display>;
+		dvdd-supply = <&reg_lcd_3v3>;
+		avdd-supply = <&reg_lcd_5v>;
+		port {
+			panel_in: endpoint {
+				remote-endpoint = <&display_out>;
+			};
+		};
+	};
drivers/gpu/drm/panel/Kconfig +9 -0
index d84a031..09b0717 100644
@@ -86,6 +86,15 @@ config DRM_PANEL_SAMSUNG_S6E8AA0
 	select DRM_MIPI_DSI
 	select VIDEOMODE_HELPERS
 
+config DRM_PANEL_SEIKO_43WVF1G
+	tristate "Seiko 43WVF1G panel"
+	depends on OF
+	depends on BACKLIGHT_CLASS_DEVICE
+	select VIDEOMODE_HELPERS
+	help
+	  Say Y here if you want to enable support for the Seiko
+	  43WVF1G controller for 800x480 LCD panels
+
 config DRM_PANEL_SHARP_LQ101R1SX01
 	tristate "Sharp LQ101R1SX01 panel"
 	depends on OF
drivers/gpu/drm/panel/Makefile +1 -0
index 9f6610d..183c6bf 100644
@@ -7,6 +7,7 @@ obj-$(CONFIG_DRM_PANEL_PANASONIC_VVX10F034N00) += panel-panasonic-vvx10f034n00.o
 obj-$(CONFIG_DRM_PANEL_SAMSUNG_LD9040) += panel-samsung-ld9040.o
 obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6E3HA2) += panel-samsung-s6e3ha2.o
 obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0) += panel-samsung-s6e8aa0.o
+obj-$(CONFIG_DRM_PANEL_SEIKO_43WVF1G) += panel-seiko-43wvf1g.o
 obj-$(CONFIG_DRM_PANEL_SHARP_LQ101R1SX01) += panel-sharp-lq101r1sx01.o
 obj-$(CONFIG_DRM_PANEL_SHARP_LS043T1LE01) += panel-sharp-ls043t1le01.o
 obj-$(CONFIG_DRM_PANEL_SITRONIX_ST7789V) += panel-sitronix-st7789v.o
drivers/gpu/drm/panel/panel-seiko-43wvf1g.c new file +372 -0

372 lines not on this page · raw message

Signature · 6 lines
2.7.4

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

Thierry,

2017-07-20 13:12 GMT-03:00 Marco Franchi <[email protected]>:

Quoted 11 lines

Add driver for Seiko Instruments Inc. 4.3" WVGA (800 x RGB x 480) TFT with Touch-Panel.

Datasheet available at:
http://www.glyn.de/data/glyn/media/doc/43wvf1g-0.pdf

Seiko 43WVF1G panel has two power supplies: avdd and dvdd and they require a specific power on/down sequence.
For this reason the simple panel driver cannot be used to drive this panel, so create a new one heavily based on simple panel.

Quoted 7 lines

Based on initial patch submission from Breno Lima.

---
Changes since v1:
-Change supply names to dvdd-supply and avdd-supply

I tried pingin Rob with no sucess so far. Given that this is a very simples LCD driver, could you please apply it directly?
Thanks

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
Quoted 23 lines · Marco Frank

Thierry,

2017-07-20 13:12 GMT-03:00 Marco Franchi <[email protected]>:

Quoted 12 lines

Add driver for Seiko Instruments Inc. 4.3" WVGA (800 x RGB x 480) TFT with Touch-Panel.

Datasheet available at:
http://www.glyn.de/data/glyn/media/doc/43wvf1g-0.pdf

Seiko 43WVF1G panel has two power supplies: avdd and dvdd and they require a specific power on/down sequence.
For this reason the simple panel driver cannot be used to drive this panel, so create a new one heavily based on simple panel.

Quoted 6 lines

Based on initial patch submission from Breno Lima.

---
Changes since v1:
-Change supply names to dvdd-supply and avdd-supply

Quoted 3 lines

I tried pingin Rob with no sucess so far. Given that this is a very simples LCD driver, could you please apply it directly?
Thanks

If you don't send to the right lists (i.e. the DT list), then it doesn't get into my queue (patchwork) and likely I won't see it.

Rob
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to Marco Franchi

Rob, Thierry,

2017-07-20 13:12 GMT-03:00 Marco Franchi <[email protected]>:

Quoted 11 lines

Add driver for Seiko Instruments Inc. 4.3" WVGA (800 x RGB x 480) TFT with Touch-Panel.

Datasheet available at:
http://www.glyn.de/data/glyn/media/doc/43wvf1g-0.pdf

Seiko 43WVF1G panel has two power supplies: avdd and dvdd and they require a specific power on/down sequence.
For this reason the simple panel driver cannot be used to drive this panel, so create a new one heavily based on simple panel.

Quoted 7 lines

Based on initial patch submission from Breno Lima.

---
Changes since v1:
-Change supply names to dvdd-supply and avdd-supply

Any comments? If there is anything I can do to help, please let me know.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to Marco Franchi
Quoted 17 lines · Marco Franchi

Add driver for Seiko Instruments Inc. 4.3" WVGA (800 x RGB x 480) TFT with Touch-Panel.

Datasheet available at:
http://www.glyn.de/data/glyn/media/doc/43wvf1g-0.pdf

Seiko 43WVF1G panel has two power supplies: avdd and dvdd and they require a specific power on/down sequence.
For this reason the simple panel driver cannot be used to drive this panel, so create a new one heavily based on simple panel.

Based on initial patch submission from Breno Lima.

---
Changes since v1:
-Change supply names to dvdd-supply and avdd-supply

Quoted 7 lines
 .../bindings/display/panel/seiko,43wvf1g.txt       |  23 ++
 drivers/gpu/drm/panel/Kconfig                      |   9 +
 drivers/gpu/drm/panel/Makefile                     |   1 +
 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c        | 372 +++++++++++++++++++++
 4 files changed, 405 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/seiko,43wvf1g.txt
 create mode 100644 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c

I've applied, though somewhat reluctantly, this to drm-misc-next without Rob's Acked-by, but the device tree bindings look trivial enough.

Thanks,
Thierry

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
Quoted 9 lines · Fabio Estevam

Hi Thierry,

Quoted 2 lines · Thierry Reding

I've applied, though somewhat reluctantly, this to drm-misc-next without Rob's Acked-by, but the device tree bindings look trivial enough.

Was it really applied? I am not able to find this patch in linux-next.

Yeah, this is still in drm-misc-next, but due to bad timing on my part it missed the window for 4.14 by just a couple of minutes.

Apologies for that. It should show up in linux-next shortly after 4.14-rc1.

Thierry

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

Hi Thierry,

Quoted 9 lines · Thierry Reding
Quoted 8 lines · Fabio Estevam

Hi Thierry,

Quoted 2 lines · Thierry Reding

I've applied, though somewhat reluctantly, this to drm-misc-next without Rob's Acked-by, but the device tree bindings look trivial enough.

Quoted 7 lines
Quoted 1 line

Was it really applied? I am not able to find this patch in linux-next.

Yeah, this is still in drm-misc-next, but due to bad timing on my part it missed the window for 4.14 by just a couple of minutes.

Apologies for that. It should show up in linux-next shortly after 4.14-rc1.

Still does not show up in linux-next. Could you please double check it?
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel