]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dt-bindings: mfd: bd71815: Fix rsense and typos
authorMatti Vaittinen <mazziesaccount@gmail.com>
Tue, 12 Nov 2024 17:01:06 +0000 (19:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Mar 2025 11:49:56 +0000 (12:49 +0100)
commit4efb30e564f239e5767af5bdd28a36e0e85ac670
tree71592b7d8fbf3e544cd2247e3f5e9c1667b83d7a
parent725d01fdde5978bb69be38a9837a15fc5a43bd12
dt-bindings: mfd: bd71815: Fix rsense and typos

[ Upstream commit 6856edf7ead8c54803216a38a7b227bcb3dadff7 ]

The sense resistor used for measuring currents is typically some tens of
milli Ohms. It has accidentally been documented to be tens of mega Ohms.
Fix the size of this resistor and a few copy-paste errors while at it.

Drop the unsuitable 'rohm,charger-sense-resistor-ohms' property (which
can't represent resistors smaller than one Ohm), and introduce a new
'rohm,charger-sense-resistor-micro-ohms' property with appropriate
minimum, maximum and default values instead.

Fixes: 4238dc1e6490 ("dt_bindings: mfd: Add ROHM BD71815 PMIC")
Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/0efd8e9de0ae8d62ee4c6b78cc565b04007a245d.1731430700.git.mazziesaccount@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Documentation/devicetree/bindings/mfd/rohm,bd71815-pmic.yaml