Skip to contentSkip to conversation

backlight support for fic1973

PATCH Pavel Machek 1 participant 1 message Apr 6, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

This adds support for backlight on Fic1973 phone. I removed some #ifdefs from Harald's version, and simple, non-PWM mode is no longer supported. I do not think it was too useful besides for debugging.

From: Harald Welte <[email protected]>

drivers/video/backlight/Kconfig +8 -0
index 47d15b5..e0be3aa 100644
@@ -48,6 +48,14 @@ config BACKLIGHT_LOCOMO
 	  If you have a Sharp Zaurus SL-5500 (Collie) or SL-5600 (Poodle) say y to
 	  enable the LCD/backlight driver.
 
+config BACKLIGHT_GTA01
+	tristate "FIC GTA01 Backlight Driver"
+	depends on BACKLIGHT_CLASS_DEVICE && MACH_GTA01
+	default y
+	help
+	  If you have a FIC GTA01 say y to enable the backlight driver.
+
+
 config BACKLIGHT_HP680
 	tristate "HP Jornada 680 Backlight Driver"
 	depends on BACKLIGHT_CLASS_DEVICE && SH_HP6XX
drivers/video/backlight/Makefile +1 -0
index 0c3ce46..55cdf6d 100644
@@ -3,6 +3,7 @@ # Backlight & LCD drivers
 obj-$(CONFIG_LCD_CLASS_DEVICE)     += lcd.o
 obj-$(CONFIG_BACKLIGHT_CLASS_DEVICE) += backlight.o
 obj-$(CONFIG_BACKLIGHT_CORGI)	+= corgi_bl.o
+obj-$(CONFIG_BACKLIGHT_GTA01)	+= gta01_bl.o
 obj-$(CONFIG_BACKLIGHT_HP680)	+= hp680_bl.o
 obj-$(CONFIG_BACKLIGHT_LOCOMO)	+= locomolcd.o
 obj-$(CONFIG_BACKLIGHT_PROGEAR) += progear_bl.o
drivers/video/backlight/gta01_bl.c new file +265 -0

265 lines not on this page · raw message

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html