fbdev: bf537-lq035: new Blackfin Sharp LQ035 framebuffer driver
PATCH 1/2 fbdev: bf537-lq035: new Blackfin Sharp LQ035 framebuffer driver
From: Michael Hennerich <[email protected]>
For LCDs hooked up to BF537-STAMP boards.
---
note: these have been posted in the past, but before we got a fbdev
maintainer, so i'm just reposting them to hopefully get merged
drivers/video/Kconfig | 14 + drivers/video/Makefile | 1 + drivers/video/bf537-lq035.c | 914 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 929 insertions(+), 0 deletions(-) create mode 100644 drivers/video/bf537-lq035.c
drivers/video/Kconfig +14 -0
@@ -635,6 +635,20 @@ config FB_BFIN_LQ035Q1 To compile this driver as a module, choose M here: the module will be called bfin-lq035q1-fb. +config FB_BF537_LQ035 + tristate "SHARP LQ035 TFT LCD (BF537 STAMP)" + depends on FB && (BF534 || BF536 || BF537) && I2C_BLACKFIN_TWI + select FB_CFB_FILLRECT + select FB_CFB_COPYAREA + select FB_CFB_IMAGEBLIT + select BFIN_GPTIMERS + help + This is the framebuffer device for a SHARP LQ035Q7DB03 TFT LCD + attached to a BF537. + + To compile this driver as a module, choose M here: the + module will be called bf537-lq035. + config FB_STI tristate "HP STI frame buffer device support" depends on FB && PARISC
drivers/video/Makefile +1 -0
@@ -141,6 +141,7 @@ obj-$(CONFIG_FB_VESA) += vesafb.o obj-$(CONFIG_FB_EFI) += efifb.o obj-$(CONFIG_FB_VGA16) += vga16fb.o obj-$(CONFIG_FB_OF) += offb.o +obj-$(CONFIG_FB_BF537_LQ035) += bf537-lq035.o obj-$(CONFIG_FB_BF54X_LQ043) += bf54x-lq043fb.o obj-$(CONFIG_FB_BFIN_LQ035Q1) += bfin-lq035q1-fb.o obj-$(CONFIG_FB_BFIN_T350MCQB) += bfin-t350mcqb-fb.o
drivers/video/bf537-lq035.c new file +914 -0
914 lines not on this page · raw message
Signature · 1 line
1.7.3.2
Quoted 11 lines · Mike Frysinger
From: Michael Hennerich <[email protected]>
For LCDs hooked up to BF537-STAMP boards.
Signed-off-by Michael Hennerich <[email protected]>Signed-off-by Bryan Wu <[email protected]>Signed-off-by Mike Frysinger <[email protected]>---
note: these have been posted in the past, but before we got a fbdev
maintainer, so i'm just reposting them to hopefully get merged
Quoted 11 lines · Mike Frysinger
From: Michael Hennerich <[email protected]>
Driver for ADV7393 add-on card for multiple Blackfin boards.
Signed-off-by Michael Hennerich <[email protected]>Signed-off-by Bryan Wu <[email protected]>Signed-off-by Mike Frysinger <[email protected]>---
note: these have been posted in the past, but before we got a fbdev
maintainer, so i'm just reposting them to hopefully get merged
While I don't really have any strong opinions about these drivers one way or the other, a cursory glance shows that they end up sharing quite a bit of code, along with the existing in-tree blackfin fb drivers. Have you considered trying to abstract things a bit and moving things in to a drivers/video/bfin or the like? Much of the DMA and PPI stuff looks like it could be pretty easily broken out.
Quoted 24 lines · On Thursday, November 25, 2010 03:28:11 Paul Mundt wrote:
Quoted 11 lines · Mike Frysinger
From: Michael Hennerich <[email protected]>
For LCDs hooked up to BF537-STAMP boards.
Signed-off-by Michael Hennerich <[email protected]>Signed-off-by Bryan Wu <[email protected]>Signed-off-by Mike Frysinger <[email protected]>---
note: these have been posted in the past, but before we got a fbdevmaintainer, so i'm just reposting them to hopefully get merged
Quoted 10 lines · Mike Frysinger
From: Michael Hennerich <[email protected]>
Driver for ADV7393 add-on card for multiple Blackfin boards.
Signed-off-by Michael Hennerich <[email protected]>Signed-off-by Bryan Wu <[email protected]>Signed-off-by Mike Frysinger <[email protected]>---
note: these have been posted in the past, but before we got a fbdev
Quoted 8 lines
Quoted 1 line
maintainer, so i'm just reposting them to hopefully get merged
While I don't really have any strong opinions about these drivers one way or the other, a cursory glance shows that they end up sharing quite a bit of code, along with the existing in-tree blackfin fb drivers. Have you considered trying to abstract things a bit and moving things in to a
drivers/video/bfinor the like? Much of the DMA and PPI stuff looks like it could be pretty easily broken out.
we have thought about it quite a bit, but havent quite gotten an answer that worked without a lot of cruft
-mike
Quoted 34 lines · Mike Frysinger
Quoted 24 lines · On Thursday, November 25, 2010 03:28:11 Paul Mundt wrote:
Quoted 11 lines · Mike Frysinger
From: Michael Hennerich <[email protected]>
For LCDs hooked up to BF537-STAMP boards.
Signed-off-by Michael Hennerich <[email protected]>Signed-off-by Bryan Wu <[email protected]>Signed-off-by Mike Frysinger <[email protected]>---
note: these have been posted in the past, but before we got a fbdevmaintainer, so i'm just reposting them to hopefully get merged
Quoted 10 lines · Mike Frysinger
From: Michael Hennerich <[email protected]>
Driver for ADV7393 add-on card for multiple Blackfin boards.
Signed-off-by Michael Hennerich <[email protected]>Signed-off-by Bryan Wu <[email protected]>Signed-off-by Mike Frysinger <[email protected]>---
note: these have been posted in the past, but before we got a fbdevQuoted 8 lines
Quoted 1 line
maintainer, so i'm just reposting them to hopefully get merged
While I don't really have any strong opinions about these drivers one way or the other, a cursory glance shows that they end up sharing quite a bit of code, along with the existing in-tree blackfin fb drivers. Have you considered trying to abstract things a bit and moving things in to a
drivers/video/bfinor the like? Much of the DMA and PPI stuff looks like it could be pretty easily broken out.
Quoted 2 lines
we have thought about it quite a bit, but havent quite gotten an answer that worked without a lot of cruft
Ok. They're pretty limited in scope anyways, so there's not much harm in adding them as-is. I've queued them up for .38. I would like to see some effort to get the blackfin drivers tidied up and a bit more consolidated in the future, before things get too far out of hand, however.