Skip to content

PM: drop clocks_off_while_idle

Kevin Hilman linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2OMAP: PM: UART: zero sleep_timeout will disable timeout featurearch/arm/mach-omap2/serial.c+11 -20 replies
2/2OMAP2/3: PM: remove /sys/power/clocks_off_while_idlearch/arm/mach-omap2/pm.c arch/arm/mach-omap2/pm.h arch/arm/mach-omap2/serial.c+0 -161 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] PM: drop clocks_off_while_idle

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(-)