regulator: act8865: operating mode and suspend state support
authorRaag Jadav <raagjadav@gmail.com>
Tue, 13 Aug 2019 18:32:55 +0000 (00:02 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 15 Aug 2019 17:10:40 +0000 (18:10 +0100)
commit955741a5120bb1ed19d3b12da90bb947d3a0cb99
tree4d54fcc0646441e6d2dfea2c9b801ebcc044275e
parent81eeb0a35c2e40bcaf122c6aae3be4f7d9abe201
regulator: act8865: operating mode and suspend state support

Implement ->set_mode(), ->get_mode() and ->set_suspend_xx() hooks
for act8865 with unlocked expert registers.

Based on work done by Borris Brezillon on [1].
[1] https://www.spinics.net/lists/kernel/msg2942960.html

Signed-off-by: Raag Jadav <raagjadav@gmail.com>
Link: https://lore.kernel.org/r/1565721176-8955-2-git-send-email-raagjadav@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/act8865-regulator.c