From: Sricharan R Date: Fri, 18 Nov 2016 12:28:27 +0000 (+0530) Subject: clk: qcom: Put venus core0/1 gdscs to hw control mode X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=96893e101eb294bced8358fbd48cbac175977aa4;p=openwrt%2Fstaging%2Fblogic.git clk: qcom: Put venus core0/1 gdscs to hw control mode 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 Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/qcom/mmcc-msm8996.c b/drivers/clk/qcom/mmcc-msm8996.c index f77206f549cc..9b97246287a7 100644 --- a/drivers/clk/qcom/mmcc-msm8996.c +++ b/drivers/clk/qcom/mmcc-msm8996.c @@ -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 = {