OSDN Git Service

clk: qcom: Put venus core0/1 gdscs to hw control mode
authorSricharan R <sricharan@codeaurora.org>
Fri, 18 Nov 2016 12:28:27 +0000 (17:58 +0530)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 24 Nov 2016 00:41:19 +0000 (16:41 -0800)
The venus video ip's internal core blocks are under the
control of the firmware and their powerdomains needs to be
'ON' only when used by the firmware. So putting it into
hw controlled mode lets this to happen, otherwise the firmware
hangs checking for this.

Signed-off-by: Sricharan R <sricharan@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/qcom/mmcc-msm8996.c

index f77206f..9b97246 100644 (file)
@@ -2945,6 +2945,7 @@ static struct gdsc venus_core0_gdsc = {
                .name = "venus_core0",
        },
        .pwrsts = PWRSTS_OFF_ON,
+       .flags = HW_CTRL,
 };
 
 static struct gdsc venus_core1_gdsc = {
@@ -2955,6 +2956,7 @@ static struct gdsc venus_core1_gdsc = {
                .name = "venus_core1",
        },
        .pwrsts = PWRSTS_OFF_ON,
+       .flags = HW_CTRL,
 };
 
 static struct gdsc camss_gdsc = {