power domain: Add support for multiple powerdomains per device
authorLokesh Vutla <lokeshvutla@ti.com>
Mon, 27 Aug 2018 10:27:44 +0000 (15:57 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 11 Sep 2018 12:32:55 +0000 (08:32 -0400)
commit2618cf365770fbccd6e6281d10005ddc7e392087
tree2c7967f6be1f488f9c2b8a5c9867cc4b32c67a66
parente585bef17f9cc22ff82398654e8dfed8e5f39100
power domain: Add support for multiple powerdomains per device

There are cases where there are more than one power domain
attached to the device inorder to get the device functional.
So add support for enabling power domain based on the index.

Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
drivers/power/domain/power-domain-uclass.c
include/power-domain.h