Re: [PATCH] serial: 8250: omap: Provide ability to enable/disable UART as wakeup source

2018-03-28 Thread Vignesh R
On Thursday 29 March 2018 04:00 AM, Tony Lindgren wrote: > * Vignesh R [180327 12:03]: >> Enable/Clear module level UART wakeup in UART_OMAP_WER register based on >> return value of device_may_wakeup() in .suspend(). This allows >> userspace to use sysfs to control the ability

Re: [PATCH] serial: 8250: omap: Provide ability to enable/disable UART as wakeup source

2018-03-28 Thread Vignesh R
On Thursday 29 March 2018 04:00 AM, Tony Lindgren wrote: > * Vignesh R [180327 12:03]: >> Enable/Clear module level UART wakeup in UART_OMAP_WER register based on >> return value of device_may_wakeup() in .suspend(). This allows >> userspace to use sysfs to control the ability of UART to wakeup

Re: [PATCH] serial: 8250: omap: Provide ability to enable/disable UART as wakeup source

2018-03-28 Thread Tony Lindgren
* Vignesh R [180327 12:03]: > Enable/Clear module level UART wakeup in UART_OMAP_WER register based on > return value of device_may_wakeup() in .suspend(). This allows > userspace to use sysfs to control the ability of UART to wakeup the > system from deep sleep state. Register

Re: [PATCH] serial: 8250: omap: Provide ability to enable/disable UART as wakeup source

2018-03-28 Thread Tony Lindgren
* Vignesh R [180327 12:03]: > Enable/Clear module level UART wakeup in UART_OMAP_WER register based on > return value of device_may_wakeup() in .suspend(). This allows > userspace to use sysfs to control the ability of UART to wakeup the > system from deep sleep state. Register is restored back

[PATCH] serial: 8250: omap: Provide ability to enable/disable UART as wakeup source

2018-03-27 Thread Vignesh R
Enable/Clear module level UART wakeup in UART_OMAP_WER register based on return value of device_may_wakeup() in .suspend(). This allows userspace to use sysfs to control the ability of UART to wakeup the system from deep sleep state. Register is restored back in .startup() call that happens as

[PATCH] serial: 8250: omap: Provide ability to enable/disable UART as wakeup source

2018-03-27 Thread Vignesh R
Enable/Clear module level UART wakeup in UART_OMAP_WER register based on return value of device_may_wakeup() in .suspend(). This allows userspace to use sysfs to control the ability of UART to wakeup the system from deep sleep state. Register is restored back in .startup() call that happens as