clk: msm: clock: Add the non_local_control setting for video clocks

The video subcore RCGs should be force enabled during rate
scaling to workaround video firmware potentially disabling
the branch clock at the same time on MSMCOBALT.

CRs-Fixed: 1020896
Change-Id: I45a119591efc36fa05ee7009d938e596b015e70c
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
This commit is contained in:
Deepak Katragadda 2016-04-08 11:53:43 -07:00 committed by Kyle Yan
parent a267aef00b
commit 18844f2f20

View file

@ -737,6 +737,7 @@ static struct rcg_clk video_subcore0_clk_src = {
.set_rate = set_rate_hid, .set_rate = set_rate_hid,
.freq_tbl = ftbl_video_subcore_clk_src, .freq_tbl = ftbl_video_subcore_clk_src,
.current_freq = &rcg_dummy_freq, .current_freq = &rcg_dummy_freq,
.non_local_control_timeout = 1000,
.base = &virt_base, .base = &virt_base,
.c = { .c = {
.dbg_name = "video_subcore0_clk_src", .dbg_name = "video_subcore0_clk_src",
@ -752,6 +753,7 @@ static struct rcg_clk video_subcore1_clk_src = {
.set_rate = set_rate_hid, .set_rate = set_rate_hid,
.freq_tbl = ftbl_video_subcore_clk_src, .freq_tbl = ftbl_video_subcore_clk_src,
.current_freq = &rcg_dummy_freq, .current_freq = &rcg_dummy_freq,
.non_local_control_timeout = 1000,
.base = &virt_base, .base = &virt_base,
.c = { .c = {
.dbg_name = "video_subcore1_clk_src", .dbg_name = "video_subcore1_clk_src",