1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/hwmon/adi,adm1177.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices ADM1177 Hot Swap Controller and Digital Power Monitor
10 - Michael Hennerich <michael.hennerich@analog.com>
11 - Beniamin Bia <beniamin.bia@analog.com>
14 Analog Devices ADM1177 Hot Swap Controller and Digital Power Monitor
15 https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf
27 Phandle to the Avcc power supply
29 shunt-resistor-micro-ohms:
31 The value of curent sense resistor in microohms. If not provided,
32 the current reading and overcurrent alert is disabled.
34 adi,shutdown-threshold-microamp:
36 Specifies the current level at which an over current alert occurs.
37 If not provided, the overcurrent alert is configured to max ADC range
38 based on shunt-resistor-micro-ohms.
40 adi,vrange-high-enable:
42 Specifies which internal voltage divider to be used. A 1 selects
43 a 7:2 voltage divider while a 0 selects a 14:1 voltage divider.
50 additionalProperties: false
54 #include <dt-bindings/gpio/gpio.h>
55 #include <dt-bindings/interrupt-controller/irq.h>
61 compatible = "adi,adm1177";
63 shunt-resistor-micro-ohms = <50000>; /* 50 mOhm */
64 adi,shutdown-threshold-microamp = <1059000>; /* 1.059 A */
65 adi,vrange-high-enable;