diff options
author | Govindraj.R <govindraj.raja@ti.com> | 2011-11-09 06:52:30 -0500 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-12-14 18:48:08 -0500 |
commit | 8384c9749f8c31c6e1e64a63c8d50af7863ce657 (patch) | |
tree | 2d4b76083fdfdcbd946d8df6973b681c477a7cde /arch/arm/plat-omap/include/plat/serial.h | |
parent | 4390f5b2cb1f568c1d4b3e5bbf57158f6809627a (diff) |
ARM: OMAP2+: UART: cleanup + remove uart pm specific API
In preparation to UART runtime conversion remove uart specific calls
from pm24xx/34xx files and their definition from serial.c
These func calls will no more be used with upcoming uart runtime design.
1.) omap_uart_prepare_suspend :- can be taken care with driver suspend hooks.
2.) omap_uart_enable_irqs :- Used to enable/disable uart irq's in suspend
path from PM code, this is removed as same is handled by
uart_suspend_port/uart_resume_port in omap-serial driver which will
do an port_shutdown on suspend freeing irq and port_startup on resume
enabling back irq.
3.) Remove prepare_idle/resume_idle calls used to gate uart clocks.
UART clocks can be gated within driver using runtime funcs
and be woken up using irq_chaining from omap_prm driver.
4.) Remove console_locking from idle path as clock gating is done withing
driver itself with runtime API. Remove is_suspending check used to acquire
console_lock.
Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/serial.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/serial.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/plat-omap/include/plat/serial.h b/arch/arm/plat-omap/include/plat/serial.h index 6975ee3f5217..73d990780da3 100644 --- a/arch/arm/plat-omap/include/plat/serial.h +++ b/arch/arm/plat-omap/include/plat/serial.h | |||
@@ -111,10 +111,6 @@ extern void omap_serial_init(void); | |||
111 | extern void omap_serial_init_port(struct omap_board_data *bdata); | 111 | extern void omap_serial_init_port(struct omap_board_data *bdata); |
112 | extern int omap_uart_can_sleep(void); | 112 | extern int omap_uart_can_sleep(void); |
113 | extern void omap_uart_check_wakeup(void); | 113 | extern void omap_uart_check_wakeup(void); |
114 | extern void omap_uart_prepare_suspend(void); | ||
115 | extern void omap_uart_prepare_idle(int num); | ||
116 | extern void omap_uart_resume_idle(int num); | ||
117 | extern void omap_uart_enable_irqs(int enable); | ||
118 | #endif | 114 | #endif |
119 | 115 | ||
120 | #endif | 116 | #endif |