Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: power: supply: max17042: support shunt-resistor-micro-ohms

This binding supports the vendor-specific property maxim,rsns-microohm
to describe the value of a shunt resistor required when measuring
currents. shunt-resistor-micro-ohms is a standard property with the
same meaning. Standard properties should be used instead of vendor-
specific ones of similar intention when possible.

Allow this standard property here, while also deprecating the existing
vendor-specific property maxim,rsns-microohm.

Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://patch.msgid.link/20260302-max77759-fg-v3-2-3c5f01dbda23@linaro.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>

authored by

André Draszik and committed by
Sebastian Reichel
f76deab4 4a53e154

+6
+6
Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml
··· 31 31 description: | 32 32 The ALRT pin (or FG_INTB pin on MAX77759), an open-drain interrupt. 33 33 34 + shunt-resistor-micro-ohms: 35 + description: 36 + Resistance of rsns resistor in micro Ohms (datasheet-recommended value is 10000). 37 + Defining this property enables current-sense functionality. 38 + 34 39 maxim,rsns-microohm: 40 + deprecated: true 35 41 $ref: /schemas/types.yaml#/definitions/uint32 36 42 description: | 37 43 Resistance of rsns resistor in micro Ohms (datasheet-recommended value is 10000).