• Govindraj.R's avatar
    ARM: OMAP2+: UART: Add wakeup mechanism for omap-uarts · 62f3ec5f
    Govindraj.R authored
    From the runtime callbacks enable hwmod wakeups for uart which will
    internally enable io-pad wakeups for uarts if they have rx-pad pins
    set as wakeup capabale.
    
    Use the io-ring wakeup mechanism after uart clock gating and leave
    the PM_WKST set for uart to default reset values cleanup the
    code in serial.c which was handling PM_WKST reg.
    Irq_chaing(PRM_DRIVER) is used to wakeup uart after uart clocks are gated
    using pad wakeup mechanism.
    Signed-off-by: default avatarGovindraj.R <govindraj.raja@ti.com>
    Acked-by: Greg Kroah-Hartman <gregkh@suse.de> (for drivers/tty changes)
    Signed-off-by: default avatarKevin Hilman <khilman@ti.com>
    62f3ec5f
omap-serial.c 41.8 KB