regulator: bd9576 add FET ON-resistance for OCW
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Thu, 3 Jun 2021 05:42:30 +0000 (08:42 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 21 Jun 2021 12:08:42 +0000 (13:08 +0100)
commit627793e4ca4f511837de893545baf0e1b8174dc2
tree6e04131da193eafaa26a9419b5453720f990b363
parent89a6a5e56c8248a077d12424a1383a6b18ea840b
regulator: bd9576 add FET ON-resistance for OCW

BD9576MUF provides over-current protection and detection. Current is
measured as voltage loss over external FET. Allow specifying FET's on
resistance so current monitoring limits can be converted to voltages.

Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/e5feb160d7e09f33fff5b88f1928c66a15c6680f.1622628334.git.matti.vaittinen@fi.rohmeurope.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/rohm,bd9576-regulator.yaml