regulator: BD71847 support commonly used feedback connection
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Tue, 10 Nov 2020 08:19:58 +0000 (10:19 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 10 Nov 2020 17:31:38 +0000 (17:31 +0000)
commitb54a27d8109fc8f18cec3e0663f8e81ea727e3c6
tree3ff4d21a53772c88bbf6da200b1485e19f7ae7f3
parent1e908b2419ea828dfad9819e5c01322a93665356
regulator: BD71847 support commonly used feedback connection

The BD71847 buck output voltages are in a few cases scaled using external
connection which adds a pull-up to regulator feedback pin. This connection
will adjust output voltage from regulator in a deterministic way.

Add support for describing this HW connection so that driver can adjust
voltage ranges accordingly.

Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Link: https://lore.kernel.org/r/9b6b3d8233071d478f7d1e93b498f5a2141941e6.1604994184.git.matti.vaittinen@fi.rohmeurope.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/rohm,bd71847-regulator.yaml