linux/drivers/soc/mediatek
James Liao 41b3e0f067 soc: mediatek: Fix random hang up issue while kernel init
In kernel late init, it turns off all unused clocks, which
needs to access subsystem registers such as VENC and VENC_LT.

Accessing MT8173 VENC registers needs two top clocks, mm_sel and
venc_sel. Accessing VENC_LT registers needs mm_sel and venclt_sel.
So we need to keep these clocks on before accessing their registers.

This patch keeps venc_sel / venclt_sel clock on when
VENC / VENC_LT's power is on, to prevent system hang up while
accessing its registeres.

Signed-off-by: James Liao <jamesjj.liao@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2015-10-14 15:34:43 +02:00
..
Kconfig soc: Mediatek: Add SCPSYS power domain driver 2015-07-06 18:36:32 +02:00
Makefile soc: Mediatek: Add SCPSYS power domain driver 2015-07-06 18:36:32 +02:00
mtk-infracfg.c soc: mediatek: Add infracfg misc driver support 2015-07-06 18:36:31 +02:00
mtk-pmic-wrap.c soc: mediatek: Move the initial setting of pmic wrap interrupt before requesting irq. 2015-09-27 13:56:08 +02:00
mtk-scpsys.c soc: mediatek: Fix random hang up issue while kernel init 2015-10-14 15:34:43 +02:00