Messages in this thread | | | Date | Thu, 12 Aug 2004 23:03:33 +0100 | From | Russell King <> | Subject | Re: [RFC] Fix Device Power Management States |
| |
On Tue, Aug 10, 2004 at 06:47:38PM -0700, Todd Poynor wrote: > Divorcing device power states from ACPI-defined integers would be very > nice for embedded platforms. Usually the platform bus would be > involved. Since the proposal tends to place more responsibility on the > bus driver, I'm interested in the intended usage for platform devices. > For example, are platform_device callbacks for > suspend/resume/save/restore of the particular device still needed? How > does the platform bus driver map (platform-specific?) system states to > device states?
platform devices are still a reminance of the previous PM model incarnation, and where merely patched over to make them work again in todays model.
It would be nice to have a proper platform_device_driver structure so we could finally kill the otherwise unused PM methods in struct device_driver and finally get rid of the old PM model.
-- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/ 2.6 Serial core - 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/
| |