Skip to contentSkip to conversation

hwmon: ltc2945: Add binding and shunt resistor support

PATCH New Cormier, Jonathan 1 participant 1 message Dec 14, 2022 Hardware monitoring

lore
Share & tools
lore
#0 lore raw

cover hwmon: ltc2945: Add binding and shunt resistor support

Added the ability to specify the value of the shunt resistor in the device tree instead of assuming it is 1 milliOhm.

Would be good to backport as well

Cormier, Jonathan (1):
dt-bindings: hwmon: adi,ltc2945: Add binding

John Pruitt (1):
hwmon: ltc2945: Allow setting shunt resistor

 .../bindings/hwmon/adi,ltc2945.yaml           | 50 +++++++++++
 drivers/hwmon/ltc2945.c                       | 86 ++++++++++++++-----
 2 files changed, 115 insertions(+), 21 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/hwmon/adi,ltc2945.yaml
Signature · 1 line
2.25.1