• Paul Parsons's avatar
    ARM: pxa: hx4700: Fix basic suspend/resume · 6416c040
    Paul Parsons authored
    Basic suspend/resume is fixed by ensuring that the PGSR registers are
    set correctly before sleep mode is entered. In particular four of the
    active low resets need to be driven high while in sleep mode, otherwise
    the unit resets itself instead of suspending. Another problem was that
    the PCFR_GPROD bit is set by the HTC bootloader; this caused GPIO reset
    (i.e. the reset button) to fail immediately after returning from sleep
    mode.
    Signed-off-by: default avatarPaul Parsons <lost.distance@yahoo.com>
    Cc: Philipp Zabel <philipp.zabel@gmail.com>
    Signed-off-by: default avatarHaojian Zhuang <haojian.zhuang@gmail.com>
    6416c040
hx4700.c 21.8 KB