ARM: PXA: Zipit Z2: Fix oops in z2_power_off

Drop __init modifier from pxa27x_set_pwrmode,
it's called in non-init code.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
ARM: pxa27x_keypad: clear pending interrupts on keypad config

Bootloader can leave interrupt bit pending, and it confuses driver.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Change active_state of power button

Signed-off-by: mcmajeres <mark@engine12.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
lms283gf05: add suspend/resume handlers

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Revert "Input: pxa27x_keypad keep clock on as wakeup source"

This reverts commit 6ce34a5fb4955fac1eebe080e1c2784bc8710449.
ARM: PXA: Z2: Fix backlight PWM device number

Recent changes to PXA PWM support changed the PXA27X PWM device
numbering scheme, so keyboard and LCD backlight is not
working anymore on Z2.

Fix it and move from legacy to new PWM API.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
ARM: PXA27x: save/restore PWER on suspend/resume

Bootloader can clobber PWER value, so save it state on suspend.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
ARM: PXA27x: Zipit Z2: disable wake on GPIO0

We don't want machine to wake up on AC state change

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
ARM: Z2: change Z2 flash layout

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
ARM: Z2: configure more GPIOs
ARM: XScale: fix access to auxiliary control reg

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>