regulator: BD71837 support commonly used feedback connection
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Tue, 10 Nov 2020 08:19:38 +0000 (10:19 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 10 Nov 2020 17:31:34 +0000 (17:31 +0000)
commit1e908b2419ea828dfad9819e5c01322a93665356
treede1116bb53a9c9056951f72329a6246d667b8f5f
parent3cea11cd5e3b00d91caf0b4730194039b45c5891
regulator: BD71837 support commonly used feedback connection

The BD71837 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/9959924313db7c7165598604f9a07bf227f471a8.1604994184.git.matti.vaittinen@fi.rohmeurope.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/rohm,bd71837-regulator.yaml