9f26e659d8
This patch adds support for the WQVGA LCD display used by the KFR2R09 board. The LCD module is a TX07D34VM0AAA made by Hitachi, and this module is made up by a R61517 chip together with a 240x400 pixel display. The screen is attached to the SuperH Mobile LCDC using a 18-bit SYS bus. The register settings used by the SYS panel setup code are based on an out-of-tree driver which apart from duplicating all LCDC driver code and writing to non-existing hardware registers also never was posted for upstream merge. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
22 lines
622 B
C
22 lines
622 B
C
#ifndef __ASM_SH_KFR2R09_H
|
|
#define __ASM_SH_KFR2R09_H
|
|
|
|
#include <video/sh_mobile_lcdc.h>
|
|
|
|
#ifdef CONFIG_FB_SH_MOBILE_LCDC
|
|
void kfr2r09_lcd_on(void *board_data);
|
|
void kfr2r09_lcd_off(void *board_data);
|
|
int kfr2r09_lcd_setup(void *board_data, void *sys_ops_handle,
|
|
struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
|
|
#else
|
|
static inline void kfr2r09_lcd_on(void *board_data) {}
|
|
static inline void kfr2r09_lcd_off(void *board_data) {}
|
|
static inline int kfr2r09_lcd_setup(void *board_data, void *sys_ops_handle,
|
|
struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
|
|
{
|
|
return -ENODEV;
|
|
}
|
|
#endif
|
|
|
|
#endif /* __ASM_SH_KFR2R09_H */
|