16 #include <linux/module.h>
17 #include <linux/kernel.h>
19 #include <linux/i2c.h>
172 #define NUM_LCD_DETECT_PINS 7
184 static void __init zylonite_detect_lcd_panel(
void)
193 mfpr_save[
i] = pxa3xx_mfp_read(lcd_detect_pins[i]);
194 pxa3xx_mfp_write(lcd_detect_pins[i], 0x8440);
216 pxa3xx_mfp_write(lcd_detect_pins[i], mfpr_save[i]);
219 #if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
233 .platform_data = &gpio_exp[0],
238 .platform_data = &gpio_exp[1],
243 static void __init zylonite_init_i2c(
void)
249 static inline void zylonite_init_i2c(
void) {}
259 zylonite_detect_lcd_panel();