Skip to contentSkip to conversation

OMAP2/3/4: DSS2: Enable Display SubSystem as modules

PATCH New Samreen 2 participants 3 messages Feb 23, 2011 – Feb 24, 2011

Subsystems (3)
lore
Share & tools
lore

Samreen

author
#0 lore raw

PATCH 1/1 OMAP2/3/4: DSS2: Enable Display SubSystem as modules

Enabling Display options to be built as modules Also, the generic dpi, sharp & nec panels are also enabled as modules.

---
Version5:
Incorporating the comments from Tony Lindgren, Kevin Hilman,
Paul Mundt & Tomi Valkeinen to build DSS & panels as modules.
See: https://patchwork.kernel.org/patch/281492/

Version4:
Remove the enabling of the display panels by default.

Version3:
Eliminate the separate default number of FBs for
different architecture. Keeping default FBs as 3 as before.

Version2:
Enables by default NEC panel used in zoom2/3/3630sdp, instead of
Sharp LQ043T1DG01 panel enabled in previous version of this patch.

Testing:
---------
The base used for OMAP3 testing is:
branch: master
commit: 7c23277
URL: git://gitorious.org/linux-omap-dss2/linux.git

And OMAP4 testing is on the following branch + few patches to enable DSI taal panel:
branch: lo-dss2-Feb18
commit: 67bcb5600
URL: git://dev.omapzoom.org/pub/scm/axelcx/kernel-display.git

The patch is tested on 3630zoom, 3430sdp & 4430sdp, it was not tested on OMAP2 platform due crash seen while boot.
(See: http://www.mail-archive.com/linux-omap at vger.kernel.org/msg43921.html)

 arch/arm/configs/omap2plus_defconfig |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
arch/arm/configs/omap2plus_defconfig +5 -0
index ae890ca..ddcae13 100644
@@ -192,6 +192,11 @@ CONFIG_FIRMWARE_EDID=y
 CONFIG_FB_MODE_HELPERS=y
 CONFIG_FB_TILEBLITTING=y
 CONFIG_FB_OMAP_LCD_VGA=y
+CONFIG_OMAP2_DSS=m
+CONFIG_FB_OMAP2=m
+CONFIG_PANEL_GENERIC_DPI=m
+CONFIG_PANEL_SHARP_LS037V7DW01=m
+CONFIG_PANEL_NEC_NL8048HL11_01B=m
 CONFIG_BACKLIGHT_LCD_SUPPORT=y
 CONFIG_LCD_CLASS_DEVICE=y
 CONFIG_LCD_PLATFORM=y
Signature · 1 line
1.5.6.3
#1 lore raw

PATCH 1/1 OMAP2/3/4: DSS2: Enable Display SubSystem as modules

Hi,

Quoted 3 lines · Samreen

Enabling Display options to be built as modules Also, the generic dpi, sharp & nec panels are also enabled as modules.

I've just posted a patch which fixes the problem with the regulators in DSS. With that patch we can safely enable all DSS interfaces (and thus panels) and the resulting binary will work on all boards.

So can you make one more version which enables all the interfaces and panels as modules, based on
git://gitorious.org/linux-omap-dss2/linux.git master

Tomi

#2 lore raw

PATCH 1/1 OMAP2/3/4: DSS2: Enable Display SubSystem as modules

Hi,

Quoted 6 lines · Tomi

Hi,

Quoted 2 lines · Samreen

Enabling Display options to be built as modules Also, the generic dpi, sharp & nec panels are also enabled as modules.

Quoted 8 lines

I've just posted a patch which fixes the problem with the regulators in DSS. With that patch we can safely enable all DSS interfaces (and thus panels) and the resulting binary will work on all boards.

So can you make one more version which enables all the interfaces and panels as modules, based on
git://gitorious.org/linux-omap-dss2/linux.git master

[samreen]
Sure. Will post out the next version soon.

Quoted 1 line

Tomi