linux/drivers/soc/mediatek
Henry Chen 73efe5792b soc: mediatek: PMIC wrap: Clear the vldclr if state machine stay on FSM_VLDCLR state.
Sometimes PMIC is too busy to send data in time to cause pmic wrap timeout,
because pmic wrap is waiting for FSM_VLDCLR after finishing WACS2_CMD. It
just return error when issue happened, so the state machine will stay on
FSM_VLDCLR state when data send back later by PMIC and timeout again in next
time because pmic wrap waiting for FSM_IDLE state at the beginning of the
read/write function.

Clear the vldclr when timeout if state machine stay on FSM_VLDCLR.

Signed-off-by: Henry Chen <henryc.chen@mediatek.com>
Tested-by: Ricky Liang <jcliang@chromium.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2016-01-25 18:59:41 +01:00
..
Kconfig soc: Mediatek: Enable SCPSYS power domain driver by default 2015-11-24 10:15:38 -08: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: PMIC wrap: Clear the vldclr if state machine stay on FSM_VLDCLR state. 2016-01-25 18:59:41 +01:00
mtk-scpsys.c drivers/soc: make mediatek/mtk-scpsys.c explicitly non-modular 2015-12-18 09:41:43 +01:00