bf54x-lq043fb: Framebuffer driver for Blackfin BF54x framebuffer device driver
PATCH 7/17 bf54x-lq043fb: Framebuffer driver for Blackfin BF54x framebuffer device driver
From: Michael Hennerich <[email protected]>
Blackfin BF54x framebuffer device driver for a SHARP LQ043T1DG01 TFT LCD
[adaplas]
Add 'fb' suffix to driver name.
Move Makefile entry under platform device section
---
drivers/video/Kconfig | 9 drivers/video/Makefile | 1 drivers/video/bf54x-lq043.c | 786 +++++++++++++++++++++++++ include/asm-blackfin/mach-bf548/bf54x-lq043.h | 30 + 4 files changed, 826 insertions(+), 0 deletions(-)
drivers/video/Kconfig +9 -0
@@ -543,6 +543,15 @@ config FB_VGA16 To compile this driver as a module, choose M here: the module will be called vga16fb. +config FB_BF54X_LQ043 + tristate "SHARP LQ043 TFT LCD (BF548 EZKIT)" + depends on FB && (BF54x) + select FB_CFB_FILLRECT + select FB_CFB_COPYAREA + select FB_CFB_IMAGEBLIT + help + This is the framebuffer device driver for a SHARP LQ043T1DG01 TFT LCD + config FB_STI tristate "HP STI frame buffer device support" depends on FB && PARISC
drivers/video/Makefile +1 -0
@@ -121,6 +121,7 @@ obj-$(CONFIG_FB_IMAC) += ima obj-$(CONFIG_FB_EFI) += efifb.o obj-$(CONFIG_FB_VGA16) += vga16fb.o obj-$(CONFIG_FB_OF) += offb.o +obj-$(CONFIG_FB_BF54X_LQ043) += bf54x-lq043fb.o # the test framebuffer is last obj-$(CONFIG_FB_VIRTUAL) += vfb.o
drivers/video/bf54x-lq043.c new file +786 -0
786 lines not on this page · raw message
include/asm-blackfin/mach-bf548/bf54x-lq043.h new file +30 -0
@@ -0,0 +1,30 @@ +#ifndef BF54X_LQ043_H +#define BF54X_LQ043_H + +struct bfin_bf54xfb_val { +unsigned int defval; +unsigned int min; +unsigned int max; +}; + +struct bfin_bf54xfb_mach_info { +unsigned char fixed_syncs;/* do not update sync/border */ + +/* LCD types */ +int type; + +/* Screen size */ +int width; +int height; + +/* Screen info */ +struct bfin_bf54xfb_val xres; +struct bfin_bf54xfb_val yres; +struct bfin_bf54xfb_val bpp; + +/* GPIOs */ +unsigned short disp; + +}; + +#endif /* BF54X_LQ043_H */
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Quoted 6 lines · Antonino A. Daplas
From: Michael Hennerich <[email protected]>
Blackfin BF54x framebuffer device driver for a SHARP LQ043T1DG01 TFT LCD
[adaplas]
Add 'fb' suffix to driver name.
Won't work though if you forget to rename the actual source file:
Quoted 3 lines
drivers/video/bf54x-lq043.c | 786 ++++++++++++++++++++++++++obj-$(CONFIG_FB_BF54X_LQ043) += bf54x-lq043fb.o
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
PATCH RESEND 7/17 bf54x-lq043fb: Framebuffer driver for Blackfin BF54x framebuffer device driver
From: Michael Hennerich <[email protected]>
Blackfin BF54x framebuffer device driver for a SHARP LQ043T1DG01 TFT LCD
[adaplas]
Add 'fb' suffix to driver name.
Move Makefile entry under platform device section
---
Quoted 10 lines · Geert Uytterhoeven
Quoted 6 lines · Antonino A. Daplas
From: Michael Hennerich <[email protected]>
Blackfin BF54x framebuffer device driver for a SHARP LQ043T1DG01 TFT LCD
[adaplas]
Add 'fb' suffix to driver name.Won't work though if you forget to rename the actual source file:
Thanks Geert, you're a lifesaver.
Tony
drivers/video/Kconfig | 9 drivers/video/Makefile | 1 drivers/video/bf54x-lq043fb.c | 786 +++++++++++++++++++++++++ include/asm-blackfin/mach-bf548/bf54x-lq043.h | 30 + 4 files changed, 826 insertions(+), 0 deletions(-)
drivers/video/Kconfig +9 -0
@@ -543,6 +543,15 @@ config FB_VGA16 To compile this driver as a module, choose M here: the module will be called vga16fb. +config FB_BF54X_LQ043 + tristate "SHARP LQ043 TFT LCD (BF548 EZKIT)" + depends on FB && (BF54x) + select FB_CFB_FILLRECT + select FB_CFB_COPYAREA + select FB_CFB_IMAGEBLIT + help + This is the framebuffer device driver for a SHARP LQ043T1DG01 TFT LCD + config FB_STI tristate "HP STI frame buffer device support" depends on FB && PARISC
drivers/video/Makefile +1 -0
@@ -121,6 +121,7 @@ obj-$(CONFIG_FB_IMAC) += ima obj-$(CONFIG_FB_EFI) += efifb.o obj-$(CONFIG_FB_VGA16) += vga16fb.o obj-$(CONFIG_FB_OF) += offb.o +obj-$(CONFIG_FB_BF54X_LQ043) += bf54x-lq043fb.o # the test framebuffer is last obj-$(CONFIG_FB_VIRTUAL) += vfb.o
drivers/video/bf54x-lq043fb.c new file +786 -0
786 lines not on this page · raw message
include/asm-blackfin/mach-bf548/bf54x-lq043.h new file +30 -0
@@ -0,0 +1,30 @@ +#ifndef BF54X_LQ043_H +#define BF54X_LQ043_H + +struct bfin_bf54xfb_val { +unsigned int defval; +unsigned int min; +unsigned int max; +}; + +struct bfin_bf54xfb_mach_info { +unsigned char fixed_syncs;/* do not update sync/border */ + +/* LCD types */ +int type; + +/* Screen size */ +int width; +int height; + +/* Screen info */ +struct bfin_bf54xfb_val xres; +struct bfin_bf54xfb_val yres; +struct bfin_bf54xfb_val bpp; + +/* GPIOs */ +unsigned short disp; + +}; + +#endif /* BF54X_LQ043_H */
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/