Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <sricharan@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

authored by

Sricharan R and committed by
Stephen Boyd
96893e10 904bb4f5

+2
+2
drivers/clk/qcom/mmcc-msm8996.c
··· 2945 2945 .name = "venus_core0", 2946 2946 }, 2947 2947 .pwrsts = PWRSTS_OFF_ON, 2948 + .flags = HW_CTRL, 2948 2949 }; 2949 2950 2950 2951 static struct gdsc venus_core1_gdsc = { ··· 2956 2955 .name = "venus_core1", 2957 2956 }, 2958 2957 .pwrsts = PWRSTS_OFF_ON, 2958 + .flags = HW_CTRL, 2959 2959 }; 2960 2960 2961 2961 static struct gdsc camss_gdsc = {