WSL2-Linux-Kernel/drivers/soc
Sascha Hauer d956b80ac7 soc: mediatek: PMIC wrap: Fix register state machine handling
When the PMIC wrapper state machine has read a register it goes into the
"wait for valid clear" (vldclr) state. The state machine stays in this
state until the VLDCLR bit is written to. We should write this bit after
reading a register because the SCPSYS won't let the system go into
suspend as long as the state machine waits for valid clear.

Since now we never leave the state machine in vldclr state we no longer
have to check for this state on pwrap_read/pwrap_write entry and can
remove the corresponding code.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2015-05-27 14:11:41 +02:00
..
mediatek soc: mediatek: PMIC wrap: Fix register state machine handling 2015-05-27 14:11:41 +02:00
qcom soc: qcom: gsbi: Add support for ADM CRCI muxing 2015-03-11 15:18:39 -05:00
tegra soc: tegra: Add thermal reset (thermtrip) support to PMC 2015-01-23 16:20:49 +01:00
ti soc: ti: knav_qmss_queue: change knav_range_setup_acc_irq to static 2015-01-29 13:23:51 -08:00
versatile ARM: SoC platform changes for 3.19 2014-12-09 14:38:28 -08:00
Kconfig soc: mediatek: Add PMIC wrapper for MT8135 and MT8173 SoCs 2015-03-30 12:25:40 +02:00
Makefile soc: mediatek: Add PMIC wrapper for MT8135 and MT8173 SoCs 2015-03-30 12:25:40 +02:00