> When adding some external device to power management, doesn't it need > to belong to power domain ( /debug/pm_debug/count ). Power Domains are decided by system designer. A board can be divided into multiple power domains which can be powered on/off or voltage/current regulated independently as each power domain is controlled by a power regulator. > What is the power domain of external device ? The right person to answer this question will be your system designer. You may look into the board schematics to find out power regulator of your external device. Each power domain is controlled by a power regulator. It is not necessary for you to consider power domains if you do not wish to power up/down or regulate the voltage /current while running Linux on the board. Another generic way to do runtime-power management of various devices would be to perform clock scaling/gating (assuming you know the clock domains of your system). _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies