power: domain: add dev_power_domain_on
authorPeng Fan <peng.fan@nxp.com>
Tue, 17 Sep 2019 09:29:19 +0000 (09:29 +0000)
committerSimon Glass <sjg@chromium.org>
Tue, 15 Oct 2019 14:40:02 +0000 (08:40 -0600)
commit9c1e982218b2eaa4afed835fe12ef91d14c9659c
tree130a1ca4c3dbd8ec9292485c7f1fdef9f820c3eb
parent640abba50763b215317468062a5e1b867ae57a76
power: domain: add dev_power_domain_on

Add this new API to power on multiple domains attached
to a device.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Changed to static inline and added a condition into C file:
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/power/domain/power-domain-uclass.c
include/power-domain.h