Il 08/04/2013 02:18, li guang ha scritto: > In short, the purpose is to implement a power control process > just like real world(hardware platform), > a power chip(controller) connect power signals to other devices, > and devices can do power (on, off, ...) controlled by power > chip(controller). > Is this reasonable?
It may be reasonable, but it will be board-dependent. The meaning of "power on/power off" varies wildly depending on the kind of device, the platform, etc. Similarly, "reset" is very different from a power cycle. Are you trying to implement D-states? Paolo