Messages in this thread | | | Date | Fri, 28 May 2004 14:59:53 -0700 | From | Todd Poynor <> | Subject | Re: 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/
| |