public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] PM: drop clocks_off_while_idle
@ 2009-05-19 17:14 Kevin Hilman
  2009-05-19 17:14 ` [PATCH 1/2] OMAP: PM: UART: zero sleep_timeout will disable timeout feature Kevin Hilman
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Kevin Hilman @ 2009-05-19 17:14 UTC (permalink / raw)
  To: linux-omap

The sysfs control /sys/power/clocks_off_while_idle only affects
the UART clocks.  And these can now be controlled with a UART
specific timeout sysfs control.  The system default behavior
is to have the equivalent of clocks_off_while_idle == 1 and
a UART inactivity timeout of 5 seconds.

Now one can use

  /sys/devices/platform/serial8250.<uart>/sleep_timeout

to set the inactivity timer for the UART in seconds.  Setting
this value to zero disables the timout and is the equivalent
of doing an

  echo 0 > /sys/power/clocks_off_while_idle


Kevin Hilman (2):
  OMAP: PM: UART: zero sleep_timeout will disable timeout feature
  OMAP2/3: PM: remove /sys/power/clocks_off_while_idle

 arch/arm/mach-omap2/pm.c     |   12 ------------
 arch/arm/mach-omap2/pm.h     |    1 -
 arch/arm/mach-omap2/serial.c |   16 +++++++++++-----
 3 files changed, 11 insertions(+), 18 deletions(-)


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-05-20 16:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-19 17:14 [PATCH 0/2] PM: drop clocks_off_while_idle Kevin Hilman
2009-05-19 17:14 ` [PATCH 1/2] OMAP: PM: UART: zero sleep_timeout will disable timeout feature Kevin Hilman
2009-05-19 17:14   ` [PATCH 2/2] OMAP2/3: PM: remove /sys/power/clocks_off_while_idle Kevin Hilman
2009-05-19 17:16     ` Tony Lindgren
2009-05-19 22:40 ` [PATCH 0/2] PM: drop clocks_off_while_idle Woodruff, Richard
2009-05-19 22:58   ` Kevin Hilman
2009-05-20 16:12 ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox