} else if (machine_is_geminus()) {
if ((board_rev & 0xf) < 1)
s5pc1xx_set_cpu_rev(0);
+ } else if (machine_is_cypress()) {
+ s5pc1xx_set_cpu_rev(1);
} else {
s5pc1xx_set_cpu_rev(0);
}
unsigned int so_num;
unsigned int board_is_media;
+ unsigned int board_is_cypress;
};
extern void s6e63m0_set_platform_data(struct spi_platform_data *pd);
spi_pd.si_bank = &gpio_base->gpio_mp0_4;
spi_pd.si_num = 2;
+ spi_pd.board_is_cypress = 1;
+
/* these data would be sent to s6e63m0 lcd panel driver. */
s6e63m0_set_platform_data(&spi_pd);
}
s6e63m0_panel_send_sequence(SEQ_PANEL_CONDITION_SET);
- if (s6e63m0->board_is_media)
+ if (s6e63m0->board_is_media || s6e63m0->board_is_cypress)
s6e63m0_panel_send_sequence(SEQ_DISPLAY_CONDITION_SET_REV);
else
s6e63m0_panel_send_sequence(SEQ_DISPLAY_CONDITION_SET);