clk: qcom: gdsc: Add support for hierarchical power domains
authorRajendra Nayak <rnayak@codeaurora.org>
Tue, 1 Dec 2015 16:12:11 +0000 (21:42 +0530)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 12 Feb 2016 00:24:00 +0000 (16:24 -0800)
commitc2c7f0a47493ae23f9a76fabdbdd4f25e1de0925
tree504a0b0db5ca155532ddd9445ec7be343c8bee40
parent7e0810c9485ce696df3813574bca44139f6eb0c8
clk: qcom: gdsc: Add support for hierarchical power domains

Some qcom SoCs' can have hierarchical power domains. Let the gdsc structs
specify the parents (if any) and the driver add genpd subdomains for them.

Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/qcom/common.c
drivers/clk/qcom/gdsc.c
drivers/clk/qcom/gdsc.h