From aa4b1f76e281aaba57b72922fe82c05583d755fc Mon Sep 17 00:00:00 2001 From: Kristoffer Ericson Date: Wed, 18 Feb 2009 11:47:26 +0000 Subject: [PATCH] --- yaml --- r: 142055 b: refs/heads/master c: 9e124435c772c650457a952b27bcbdb9a95d48d0 h: refs/heads/master i: 142053: 087e273dbc3be20a95cd332723430e1003fb7933 142051: 61db9209a8c94f409fbfe7ae7adb0121dfb12eb5 142047: 5f727cfa01ec1579f5613792cb213ff61dceb70c v: v3 --- [refs] | 2 +- trunk/drivers/video/backlight/Kconfig | 9 ++ trunk/drivers/video/backlight/Makefile | 1 + .../drivers/video/backlight/jornada720_lcd.c | 153 ++++++++++++++++++ 4 files changed, 164 insertions(+), 1 deletion(-) create mode 100644 trunk/drivers/video/backlight/jornada720_lcd.c diff --git a/[refs] b/[refs] index cb0de174d460..5dd5e9e76c0e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b8cdd877f2cbcc07b5a287b7273a8eaa4c11ad04 +refs/heads/master: 9e124435c772c650457a952b27bcbdb9a95d48d0 diff --git a/trunk/drivers/video/backlight/Kconfig b/trunk/drivers/video/backlight/Kconfig index 72facb9eb7db..1064f69e1e87 100644 --- a/trunk/drivers/video/backlight/Kconfig +++ b/trunk/drivers/video/backlight/Kconfig @@ -84,6 +84,15 @@ config LCD_TOSA If you have an Sharp SL-6000 Zaurus say Y to enable a driver for its LCD. +config LCD_HP700 + tristate "HP Jornada 700 series LCD Driver" + depends on LCD_CLASS_DEVICE + depends on SA1100_JORNADA720_SSP && !PREEMPT + default y + help + If you have an HP Jornada 700 series handheld (710/720/728) + say Y to enable LCD control driver. + # # Backlight # diff --git a/trunk/drivers/video/backlight/Makefile b/trunk/drivers/video/backlight/Makefile index 63d759498165..c508075157b2 100644 --- a/trunk/drivers/video/backlight/Makefile +++ b/trunk/drivers/video/backlight/Makefile @@ -2,6 +2,7 @@ obj-$(CONFIG_LCD_CLASS_DEVICE) += lcd.o obj-$(CONFIG_LCD_CORGI) += corgi_lcd.o +obj-$(CONFIG_LCD_HP700) += jornada720_lcd.o obj-$(CONFIG_LCD_LTV350QV) += ltv350qv.o obj-$(CONFIG_LCD_ILI9320) += ili9320.o obj-$(CONFIG_LCD_PLATFORM) += platform_lcd.o diff --git a/trunk/drivers/video/backlight/jornada720_lcd.c b/trunk/drivers/video/backlight/jornada720_lcd.c new file mode 100644 index 000000000000..cbbb167fd268 --- /dev/null +++ b/trunk/drivers/video/backlight/jornada720_lcd.c @@ -0,0 +1,153 @@ +/* + * + * LCD driver for HP Jornada 700 series (710/720/728) + * Copyright (C) 2006-2009 Kristoffer Ericson + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License version + * 2 or any later version as published by the Free Software Foundation. + * + */ + +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#include