PM: drop clocks_off_while_idle
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | OMAP: PM: UART: zero sleep_timeout will disable timeout featurearch/ | +11 | 0 replies | |
| 2/2 | OMAP2/3: PM: remove /sys/power/clocks_off_while_idlearch/ arch/ arch/ | +0 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)