Datasheet
20
AVR32416
32105-AVR32-07/08
default n
help
I
f you have a Samsung LTV350QV LCD panel, say y to
include a power control driver for it. The panel starts
up in power off state, so you need this driver in order
to see any output.
The LTV350QV panel is present on all ATSTK1000 boards.
For a custom LCD driver a similar entry has to be made in the same file. First a
custom configuration name needs to be added to the “config” entry. This name will be
referred to from other modules or configuration dependencies. The “depends on”
entry reflects the software parts that are needed in combination with the LCD driver. If
the driver does not need SPI the SPI_MASTER can be removed. Also if the driver
does not use the LCD layer the LCD_CLASS_DEVICE can be removed. In order to
add a dependency to the backlight framework BACKLIGHT_CLASS_DEVICE should
be added here.
Next step is to edit the Makefile drivers/video/backlight/Makefile. One line needs to be
added to build the driver:
obj-$(CONFIG_LCD_LTV350QV) += ltv350qv.o
The CONFIG_LCD_LTV350QV should reflect the “config” name in the Kconfig file by
adding a CONFIG_ before the name. The “ltv350qv.o” should be changed to the
source file name.
More information about the Linux kernel configuration system can be found in the
Linux kernel documentation (Documentation directory in the kernel sources).
4 References
Application notes from http://www.atmel.com/products/avr32/default.asp :
• “AVR32737: AVR32 AP7 Linux Getting Started”
• “AVR32743 AVR32 AP7 Linux kernel module application example”
• “AVR32114: Using the AVR32 LCD Controller”
Linux kernel frame buffer documentation: Can be found in Documentation/fb/ in the
Linux kernel sources.










