static void __init omap_nokia770_init_irq(void)
{
+ /* On Nokia 770, the SleepX signal is masked with an
+ * MPUIO line by default. It has to be unmasked for it
+ * to become functional */
+
+ /* SleepX mask direction */
+ omap_writew((omap_readw(0xfffb5008) & ~2), 0xfffb5008);
+ /* Unmask SleepX signal */
+ omap_writew((omap_readw(0xfffb5004) & ~2), 0xfffb5004);
+
omap1_init_common_hw();
omap_init_irq();
}
static struct ads7846_platform_data nokia770_ads7846_platform_data __initdata = {
.x_max = 0x0fff,
.y_max = 0x0fff,
- .x_plate_ohms = 120,
+ .x_plate_ohms = 180,
.pressure_max = 200,
.debounce_max = 10,
.debounce_tol = 3,