Skip to content

OMAP: PM: enable UART clock disabling when idle

Kevin Hilman linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3OMAP3: PM: Add wake-up bit defintiions for CONTROL_PADCONF_Xarch/arm/plat-omap/include/mach/control.h+4 -00 replies
2/3OMAP3: PM: UART: disable clocks when idlearch/arm/mach-omap2/pm-debug.c arch/arm/mach-omap2/pm.h arch/arm/mach-omap2/pm24xx.c +4 more+322 -1880 replies
3/3OMAP3: PM: UART save/restore support for OFF-modearch/arm/mach-omap2/serial.c include/linux/serial_reg.h+78 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] OMAP: PM: enable UART clock disabling when idle

This series enables UART clock disabling after an inactivity period. It is based on top of the 2 8250 patches recently sent to linux-serial and CC'd to linux-omap.

To enable:

  # echo 1 > /sys/power/clocks_off_while_idle
  # echo 1 > /sys/power/sleep_while_idle

NOTE: it is expected that the first character typed is lost when coming out of idle. The first char serves as the wakeup event but is lost.

Kevin Hilman (3):
OMAP3: PM: Add wake-up bit defintiions for CONTROL_PADCONF_X
OMAP3: PM: UART: disable clocks when idle
OMAP3: PM: UART save/restore support for OFF-mode

 arch/arm/mach-omap2/pm-debug.c            |  135 ----------
 arch/arm/mach-omap2/pm.h                  |    8 -
 arch/arm/mach-omap2/pm24xx.c              |   40 ++--
 arch/arm/mach-omap2/pm34xx.c              |   14 +
 arch/arm/mach-omap2/serial.c              |  380 +++++++++++++++++++++++++++--
 arch/arm/plat-omap/include/mach/common.h  |    2 -
 arch/arm/plat-omap/include/mach/control.h |    4 +
 arch/arm/plat-omap/include/mach/serial.h  |    8 +
 include/linux/serial_reg.h                |    1 +
 9 files changed, 404 insertions(+), 188 deletions(-)