Skip to content

Commit ef74d46

Browse files
shcgittomba
authored andcommitted
video: clps711x: Add new Cirrus Logic CLPS711X framebuffer driver
This adds support for the framebuffer available in the Cirrus Logic CLPS711X CPUs. FB features: - 1-2-4 bits per pixel. - Programmable panel size to a maximum of 1024x256 at 4 bps. - Relocatible Frame Buffer (SRAM or SDRAM). - Programmable refresh rates. - 16 gray scale values. This new driver is designed to usage with devicetree only. The driver have been tested with custom board equipped Cirrus Logic EP7312. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
1 parent a497c3b commit ef74d46

File tree

3 files changed

+415
-6
lines changed

3 files changed

+415
-6
lines changed

drivers/video/fbdev/Kconfig

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -301,15 +301,26 @@ config FB_ACORN
301301
hardware found in Acorn RISC PCs and other ARM-based machines. If
302302
unsure, say N.
303303

304-
config FB_CLPS711X
305-
bool "CLPS711X LCD support"
306-
depends on (FB = y) && ARM && ARCH_CLPS711X
304+
config FB_CLPS711X_OLD
305+
bool
307306
select FB_CFB_FILLRECT
308307
select FB_CFB_COPYAREA
309308
select FB_CFB_IMAGEBLIT
309+
310+
config FB_CLPS711X
311+
tristate "CLPS711X LCD support"
312+
depends on FB && (ARCH_CLPS711X || COMPILE_TEST)
313+
select FB_CLPS711X_OLD if ARCH_CLPS711X && !ARCH_MULTIPLATFORM
314+
select BACKLIGHT_LCD_SUPPORT
315+
select FB_MODE_HELPERS
316+
select FB_SYS_FILLRECT
317+
select FB_SYS_COPYAREA
318+
select FB_SYS_IMAGEBLIT
319+
select LCD_CLASS_DEVICE
320+
select VIDEOMODE_HELPERS
310321
help
311-
Say Y to enable the Framebuffer driver for the CLPS7111 and
312-
EP7212 processors.
322+
Say Y to enable the Framebuffer driver for the Cirrus Logic
323+
CLPS711X CPUs.
313324

314325
config FB_SA1100
315326
bool "SA-1100 LCD support"

drivers/video/fbdev/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ obj-$(CONFIG_FB_WMT_GE_ROPS) += wmt_ge_rops.o
1414
# Hardware specific drivers go first
1515
obj-$(CONFIG_FB_AMIGA) += amifb.o c2p_planar.o
1616
obj-$(CONFIG_FB_ARC) += arcfb.o
17-
obj-$(CONFIG_FB_CLPS711X) += clps711xfb.o
17+
obj-$(CONFIG_FB_CLPS711X) += clps711x-fb.o
18+
obj-$(CONFIG_FB_CLPS711X_OLD) += clps711xfb.o
1819
obj-$(CONFIG_FB_CYBER2000) += cyber2000fb.o
1920
obj-$(CONFIG_FB_GRVGA) += grvga.o
2021
obj-$(CONFIG_FB_PM2) += pm2fb.o

0 commit comments

Comments
 (0)