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

clk: qcom: mmcc-sdm660: Add necessary CXCs to venus_gdsc

As also shown on downstream dts[1], for a correct operation of the
Venus block, we have to retain MEM/PERIPH when halting the video_core,
video_axi and video_subcore0 branches: add these CXCs to the main
Venus GDSC.

[1]: https://github.com/sonyxperiadev/kernel/blob/aosp/LA.UM.6.4.r1/arch/arm/boot/dts/qcom/sdm660-vidc.dtsi#L80

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20211008102041.268253-1-angelogioacchino.delregno@collabora.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

AngeloGioacchino Del Regno and committed by
Stephen Boyd
ca8460ba eb2d5058

+2
+2
drivers/clk/qcom/mmcc-sdm660.c
··· 2560 2560 2561 2561 static struct gdsc venus_gdsc = { 2562 2562 .gdscr = 0x1024, 2563 + .cxcs = (unsigned int[]){ 0x1028, 0x1034, 0x1048 }, 2564 + .cxc_count = 3, 2563 2565 .pd = { 2564 2566 .name = "venus", 2565 2567 },