]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
fbdev: LCD backlight driver using Atmel PWM driver
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Thu, 24 Jul 2008 04:31:48 +0000 (21:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:41 +0000 (10:47 -0700)
commit3e074058d72486676f6fdf6fe803200c62dcb403
treede9d8c426198e9a10a04593abe8011c1e1822564
parent2d04a4a72d7e1519b4838f24bdd4b5d0f3f426dc
fbdev: LCD backlight driver using Atmel PWM driver

This patch adds a platform driver using the ATMEL PWM driver to control a
backlight which requires a PWM signal and optional GPIO signal for discrete
on/off signal.  It has been tested on Favr-32 board from EarthLCD.

The driver is configurable by supplying a struct with the platform data.  See
the include/linux/atmel-pwm-bl.h for details.

The board code for Favr-32 will be submitted to the AVR32 kernel list.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/Kconfig
drivers/video/backlight/Makefile
drivers/video/backlight/atmel-pwm-bl.c [new file with mode: 0644]
include/linux/atmel-pwm-bl.h [new file with mode: 0644]