14 #include <linux/kernel.h>
17 #include <video/sa1100fb.h>
24 #include <mach/irqs.h>
31 static void h3600_lcd_power(
int enable)
34 pr_err(
"%s: can't request H3XXX_EGPIO_LCD_ON\n", __func__);
38 pr_err(
"%s: can't request H3XXX_EGPIO_LCD_PCI\n", __func__);
42 pr_err(
"%s: can't request H3XXX_EGPIO_LCD_5V_ON\n", __func__);
46 pr_err(
"%s: can't request H3600_EGPIO_LVDD_ON\n", __func__);
63 .red = { .offset = 12, .length = 4, },
64 .green = { .offset = 7, .length = 4, },
65 .blue = { .offset = 1, .length = 4, },
66 .transp = { .offset = 0, .length = 0, },
70 .pixclock = 174757, .bpp = 16,
71 .xres = 320, .yres = 240,
73 .hsync_len = 3, .vsync_len = 3,
74 .left_margin = 12, .upper_margin = 10,
75 .right_margin = 17, .lower_margin = 1,
82 .rgb[
RGB_16] = &h3600_rgb_16,
84 .lcd_power = h3600_lcd_power,
88 static void __init h3600_map_io(
void)
96 static int h3600_irda_set_power(
struct device *
dev,
unsigned int state)
102 static void h3600_irda_set_speed(
struct device *
dev,
unsigned int speed)
107 static int h3600_irda_startup(
struct device *dev)
128 static void h3600_irda_shutdown(
struct device *dev)
135 .set_power = h3600_irda_set_power,
136 .set_speed = h3600_irda_set_speed,
137 .startup = h3600_irda_startup,
138 .shutdown = h3600_irda_shutdown,
147 static void __init h3600_mach_init(
void)
157 .atag_offset = 0x100,
158 .map_io = h3600_map_io,
162 .init_machine = h3600_mach_init,