]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: bd718x7: Suopport configuring UVP/OVP state
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Mon, 5 Jul 2021 10:54:33 +0000 (13:54 +0300)
committerMark Brown <broonie@kernel.org>
Sun, 11 Jul 2021 22:50:44 +0000 (23:50 +0100)
commitc7bfffb7270596f396139bc725477fdaa3a26df6
tree30744e8cf03e9ad13aa644aba2a9173d23d82b62
parentbf94ebb733ecdc1d3268ddf4aa3b743376e7690f
regulator: bd718x7: Suopport configuring UVP/OVP state

The ROHM BD71837/47/50/78 do support enabling/disabling the under/over
voltage protection. Add support for enabling/disabling the protection
according to the device-tree information.

Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Link: https://lore.kernel.org/r/20210705105416.GA1189560@localhost.localdomain
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/bd718x7-regulator.c