]> asedeno.scripts.mit.edu Git - linux.git/commit
regulator: max77620: add support to configure MPOK
authorVenkat Reddy Talla <vreddytalla@nvidia.com>
Thu, 17 Nov 2016 17:54:35 +0000 (23:24 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 23 Nov 2016 16:27:24 +0000 (16:27 +0000)
commit383d0fca7035a12f1201277d33e8fc87c9d60c9a
treebb12c78d91ab8d69ae18fbbf4033277481b277ad
parent9a40cb0cb8b55ecfdcd3cec1381bcc46ec488588
regulator: max77620: add support to configure MPOK

Adding support to configure regulator POK mapping bit
to control nRST_IO and GPIO1 POK function.
In  tegra based platform which uses MAX20024 pmic, when
some of regulators are configured FPS_NONE(flexible power sequencer)
causes PMIC GPIO1 to go low which lead to various other rails turning off,
to avoid this MPOK bit of those regulators need to be set to 0
so that PMIC GPIO1 will not go low.

Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max77620-regulator.c
include/linux/mfd/max77620.h