drm/panel: Add JDI LT070ME05000 WUXGA DSI Panel
Subsystems (3)
PATCH v3 1/1 drm/panel: Add JDI LT070ME05000 WUXGA DSI Panel
Add support for the JDI lt070me05000 WUXGA DSI panel used in Nexus 7 2013 devices.
Programming sequence for the panel is was originally found in the android-msm-flo-3.4-lollipop-release branch from:
https://android.googlesource.com/kernel/msm.git
And video mode setting is from dsi-panel-jdi-dualmipi1-video.dtsi file in:
git://codeaurora.org/kernel/msm-3.10.git LNX.LA.3.6_rb1.27
Other fixes folded in were provided
by Archit Taneja <[email protected]>
[jstultz: Cherry-picked to mainline, folded down other fixes
from Vinay and Archit]
[vinay simha bn: removed interface setting cmd mode, video mode panel setting selection]
--
v2:
* incorporated code reviews from theiry, archit
code style, alphabetical soring in Makefile, Kconfig, regulator_bulk, arrays of u8, generic helper function, documentation bindings,
v3:
* dcs backlight support added
* tested this panel driver in nexus7 2013 device
--- drivers/gpu/drm/panel/Kconfig | 11 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-jdi-lt070me05000.c | 479 +++++++++++++++++++++++++ 3 files changed, 491 insertions(+) create mode 100644 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c
drivers/gpu/drm/panel/Kconfig +11 -0
@@ -7,6 +7,17 @@ config DRM_PANEL menu "Display Panels" depends on DRM && DRM_PANEL +config DRM_PANEL_JDI_LT070ME05000 + tristate "JDI LT070ME05000 WUXGA DSI panel" + depends on OF + depends on DRM_MIPI_DSI + depends on BACKLIGHT_CLASS_DEVICE + help + Say Y here if you want to enable support for JDI WUXGA DSI video + mode panel as found in Google Nexus 7 (2013) devices. + The panel has a 1200(RGB)×1920 (WUXGA) resolution and uses + 24 bit RGB per pixel. + config DRM_PANEL_SIMPLE tristate "support for simple panels" depends on OF
drivers/gpu/drm/panel/Makefile +1 -0
@@ -1,3 +1,4 @@ +obj-$(CONFIG_DRM_PANEL_JDI_LT070ME05000) += panel-jdi-lt070me05000.o obj-$(CONFIG_DRM_PANEL_SIMPLE) += panel-simple.o obj-$(CONFIG_DRM_PANEL_LG_LG4573) += panel-lg-lg4573.o obj-$(CONFIG_DRM_PANEL_PANASONIC_VVX10F034N00) += panel-panasonic-vvx10f034n00.o
drivers/gpu/drm/panel/panel-jdi-lt070me05000.c new file +479 -0
479 lines not on this page · raw message
Signature · 1 line
1.9.1
Hi Thierry,
Quoted 17 lines · Vinay Simha BN
Add support for the JDI lt070me05000 WUXGA DSI panel used in Nexus 7 2013 devices.
Programming sequence for the panel is was originally found in the android-msm-flo-3.4-lollipop-release branch from:
https://android.googlesource.com/kernel/msm.gitAnd video mode setting is from
dsi-panel-jdi-dualmipi1-video.dtsifile in:git://codeaurora.org/kernel/msm-3.10.git LNX.LA.3.6_rb1.27Other fixes folded in were provided
by Archit Taneja <[email protected]>Cc Archit Taneja <[email protected]>[sumit.semwal: Ported to the drm/panel framework]Signed-off-by Sumit Semwal <[email protected]>
Quoted 7 lines
[jstultz: Cherry-picked to mainline, folded down other fixes
from Vinay and Archit]Signed-off-by John Stultz <[email protected]>[vinay simha bn: removed interface setting cmd mode, video mode panel setting selection]
Cc Rob Clark <[email protected]>Signed-off-by Vinay Simha BN <[email protected]>
If there aren't any more objections, could you please pick this set of patches for your next pull request?
Quoted 10 lines
--
v2:
* incorporated code reviews from theiry, archit
code style, alphabetical soring inMakefile,Kconfig,regulator_bulk, arrays of u8, generic helper function, documentation bindings,v3:
* dcs backlight support added
* tested this panel driver in nexus7 2013 device
---
BR,
Sumit.
Signature · 9 lines
Thanks and regards, Sumit Semwal Linaro Mobile Group - Kernel Team Lead Linaro.org │ Open source software for ARM SoCs _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 2 lines · Vinay Simha BN
Add support for the JDI lt070me05000 WUXGA DSI panel used in Nexus 7 2013 devices.
Sorry for the late comment.
[...]
drivers/gpu/drm/panel/panel-jdi-lt070me05000.c line 319
Quoted 12 lines
drivers/gpu/drm/panel/panel-jdi-lt070me05000.c new file +12
-0+static const struct drm_display_mode default_mode = { + .clock =155493 , + .hdisplay =1200 , + .hsync_start =1200 +48 , + .hsync_end =1200 +48 +32 , + .htotal =1200 +48 +32 +60 , + .vdisplay =1920 , + .vsync_start =1920 +3 , + .vsync_end =1920 +3 +5 , + .vtotal =1920 +3 +5 +6 , + .vrefresh =60 , + .flags =0 ,
This needs to set width_mm and height_mm. Otherwise Android doesn't know the density.
Rob
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel