lkml.org 
[lkml]   [2004]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: two patches - request for comments
Hi, you're adding new interfaces for power management of LCD and 
backlight devices. Since there's already LDM/sysfs interfaces for
reading and writing power state of generic devices, is it necessary to
add ones particular to these devices or device classes? In other words,
is /sys/devices/<bus>/<device>/power/state not suitable for these purposes?

And if a PM interface for device classes is needed that ties into the
device driver suspend/resume callbacks, perhaps it can be modeled more
closely on the existing interfaces? These new interfaces seem to be
intended to define: 0 == power off, 1 == power on. The existing
ACPI-inspired interfaces use: 0 == power on/full-power, 1/2/3/4 ==
low-power/off state.

New files don't have GPL license comments.

--
Todd
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.181 / U:24.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site