Searched hist:b11f3d47c0e74e6c0515e31788651713a3a94a50 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/hwmon/ |
H A D | ltc2945.c | diff b11f3d47c0e74e6c0515e31788651713a3a94a50 Thu Jan 26 23:32:26 CET 2023 John Pruitt <jpruitt@criticallink.com> hwmon: (ltc2945) Allow setting shunt resistor
Add the ability to specify the value of the shunt resistor in the device tree instead of assuming it is 1 milliOhm. The value in the device tree has the name shunt-resistor-micro-ohms and the default value is 1000 micro-ohms in order to preserve the current behavior.
Signed-off-by: Jonathan Cormier <jcormier@criticallink.com> Signed-off-by: John Pruitt <jpruitt@criticallink.com> [groeck: Fixed multi-line alignment, squashed last patch of series] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
|