Letux Kernel

Issue 85: Add driver for Backlight

Reported by Nikolaus Schaller, May 29, 2010

the EVM has some PWM driver using the TWL4030 but shows how to 
register a omap3evm_bklight_device:

http://gitorious.org/beagleboard-validation/linux/blobs/be152079b2626
9a25c792b8f31b3abb8fa7a6c69/arch/arm/mach-omap2/board-omap3evm.c

Comment 1 by Nikolaus Schaller, May 29, 2010

functions to control the OMAP timers can be found at

arch/asm/plat-omap/dmtimer.c
arch/asm/plat-omap/include/dmtimer.h

e.g. one to set the PWM values

Comment 2 by Nikolaus Schaller, Feb 10, 2011

See 
http://elinux.org/BeagleBoard/GSoC/2010_Projects/Pulse_Width_Modulati
on for an example how to control GPT9-11 from a kernel driver

Comment 3 by Nikolaus Schaller, Nov 22, 2011

Well, the most modular solution would be to use

drivers/video/backlight/pwm_bl.c

==>

arch/arm/plat-omap/pwm.c

but there is no plat-omap/pwm.c (only plat-mxc, plat-pxa, plat s3c)

Comment 4 by Nikolaus Schaller, Nov 22, 2011

But there is good news:

http://www.spinics.net/lists/linux-omap/msg40113.html

Comment 5 by Nikolaus Schaller, Jan 30, 2013

works in 3.7 kernel
Status: Fixed

Created: 13 years 8 months ago by Nikolaus Schaller

Updated: 11 years 22 days ago

Status: Fixed

Owner: Nikolaus Schaller

Labels:
Priority:Medium
Type:Enhancement