mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[AVR32] Implement platform hooks for atmel_lcdfb driver
This modifies and extends the existing lcdc platform code to support the new atmel_lcdfb driver. The ATSTK1000 board code is set up to use the on-board Samsung LTV350QV LCD panel. Signed-off-by: Haavard Skinnemoen <[email protected]>
This commit is contained in:
parent
78c129b949
commit
d0a2b7af27
5 changed files with 127 additions and 28 deletions
|
|
@ -30,11 +30,9 @@ struct spi_board_info;
|
|||
struct platform_device *
|
||||
at32_add_device_spi(unsigned int id, struct spi_board_info *b, unsigned int n);
|
||||
|
||||
struct lcdc_platform_data {
|
||||
unsigned long fbmem_start;
|
||||
unsigned long fbmem_size;
|
||||
};
|
||||
struct atmel_lcdfb_info;
|
||||
struct platform_device *
|
||||
at32_add_device_lcdc(unsigned int id, struct lcdc_platform_data *data);
|
||||
at32_add_device_lcdc(unsigned int id, struct atmel_lcdfb_info *data,
|
||||
unsigned long fbmem_start, unsigned long fbmem_len);
|
||||
|
||||
#endif /* __ASM_ARCH_BOARD_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue