add framebuffer and display update module support for pnx4008
PATCH 1/1 add framebuffer and display update module support for pnx4008
Hi folks,
inlined is the patch that adds support for Display Update Module and RGB framebuffer device on Philips PNX4008 ARM board.
Kconfig | 15 Makefile | 2 pnx4008/Makefile | 7 pnx4008/dum.h | 243 ++++++++++++++ pnx4008/fbcommon.h | 43 ++ pnx4008/rgbfb.c | 223 +++++++++++++ pnx4008/sdum.c | 866 +++++++++++++++++++++++++++++++++++++++++++++++++++++ pnx4008/sdum.h | 139 ++++++++ 8 files changed, 1538 insertions(+)
Signed-off-by Grigory Tolstolytkin <[email protected]>
Signed-off-by Vitaly Wool <[email protected]>
drivers/video/pnx4008/Makefile new file +7 -0
@@ -0,0 +1,7 @@ +# +# Makefile for the new PNX4008 framebuffer device driver +# + +obj-$(CONFIG_FB_PNX4008_DUM) += sdum.o +obj-$(CONFIG_FB_PNX4008_DUM_RGB) += rgbfb.o +
drivers/video/pnx4008/dum.h new file +243 -0
243 lines not on this page · raw message
drivers/video/pnx4008/fbcommon.h new file +43 -0
43 lines not on this page · raw message
drivers/video/pnx4008/rgbfb.c new file +223 -0
223 lines not on this page · raw message
drivers/video/Kconfig +15 -0
@@ -1560,6 +1560,21 @@ config FB_S3C2410_DEBUG Turn on debugging messages. Note that you can set/unset at run time through sysfs +config FB_PNX4008_DUM + tristate "Display Update Module support on Philips PNX4008 board" + depends on FB && ARCH_PNX4008 + ---help--- + Say Y here to enable support for PNX4008 Display Update Module (DUM) + +config FB_PNX4008_DUM_RGB + tristate "RGB Framebuffer support on Philips PNX4008 board" + depends on FB_PNX4008_DUM + select FB_CFB_FILLRECT + select FB_CFB_COPYAREA + select FB_CFB_IMAGEBLIT + ---help--- + Say Y here to enable support for PNX4008 RGB Framebuffer + config FB_VIRTUAL tristate "Virtual Frame Buffer support (ONLY FOR TESTING!)" depends on FB
drivers/video/Makefile +2 -0
@@ -94,6 +94,8 @@ obj-$(CONFIG_FB_TX3912) += tx3912fb.o obj-$(CONFIG_FB_S1D13XXX) += s1d13xxxfb.o obj-$(CONFIG_FB_IMX) += imxfb.o obj-$(CONFIG_FB_S3C2410) += s3c2410fb.o +obj-$(CONFIG_FB_PNX4008_DUM) += pnx4008/ +obj-$(CONFIG_FB_PNX4008_DUM_RGB) += pnx4008/ # Platform or fallback drivers go here obj-$(CONFIG_FB_VESA) += vesafb.o
drivers/video/pnx4008/sdum.c new file +866 -0
866 lines not on this page · raw message
drivers/video/pnx4008/sdum.h new file +139 -0
139 lines not on this page · raw message