1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/power/supply/maxim,max17042.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Maxim 17042 fuel gauge series
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
22 - maxim,max77849-battery
30 The ALRT pin, an open-drain interrupt.
33 $ref: /schemas/types.yaml#/definitions/uint32
35 Resistance of rsns resistor in micro Ohms (datasheet-recommended value is 10000).
36 Defining this property enables current-sense functionality.
39 $ref: /schemas/types.yaml#/definitions/uint32
41 Temperature threshold to report battery as cold (in tenths of degree Celsius).
42 Default is not to report cold events.
45 $ref: /schemas/types.yaml#/definitions/uint32
47 Temperature threshold to report battery as over heated (in tenths of degree Celsius).
48 Default is not to report over heating events.
51 $ref: /schemas/types.yaml#/definitions/uint32
53 Voltage threshold to report battery as dead (in mV).
54 Default is not to report dead battery events.
57 $ref: /schemas/types.yaml#/definitions/uint32
59 Voltage threshold to report battery as over voltage (in mV).
60 Default is not to report over-voltage events.
68 additionalProperties: false
77 compatible = "maxim,max17042";
79 maxim,rsns-microohm = <10000>;
80 maxim,over-heat-temp = <600>;
81 maxim,over-volt = <4300>;