diff options
| author | Delphine CC Chiu <[email protected]> | 2023-11-23 09:54:36 +0800 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2023-12-11 21:06:50 -0800 |
| commit | 7707cf82e1380776afc0fcd276ce48b71c521801 (patch) | |
| tree | c5388f0bd7724b3888ed47f75ade79399b223615 | |
| parent | 29a9ac6414abd634e7f460a250b70a452d9a04b9 (diff) | |
dt-bindings: hwmon: Add lltc ltc4286 driver bindings
Add a device tree bindings for ltc4286 device.
Signed-off-by: Delphine CC Chiu <[email protected]>
Reviewed-by: Conor Dooley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[groeck: Fixed path to ltc4286.rst]
Signed-off-by: Guenter Roeck <[email protected]>
| -rw-r--r-- | Documentation/devicetree/bindings/hwmon/lltc,ltc4286.yaml | 50 | ||||
| -rw-r--r-- | MAINTAINERS | 10 |
2 files changed, 60 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwmon/lltc,ltc4286.yaml b/Documentation/devicetree/bindings/hwmon/lltc,ltc4286.yaml new file mode 100644 index 000000000000..98ca163d3486 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/lltc,ltc4286.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/lltc,ltc4286.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LTC4286 power monitors + +maintainers: + - Delphine CC Chiu <[email protected]> + +properties: + compatible: + enum: + - lltc,ltc4286 + - lltc,ltc4287 + + reg: + maxItems: 1 + + adi,vrange-low-enable: + description: + This property is a bool parameter to represent the + voltage range is 25.6 volts or 102.4 volts for this chip. + The default is 102.4 volts. + type: boolean + + shunt-resistor-micro-ohms: + description: + Resistor value micro-ohms. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + power-monitor@40 { + compatible = "lltc,ltc4286"; + reg = <0x40>; + adi,vrange-low-enable; + shunt-resistor-micro-ohms = <300>; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index e2c6187a3ac8..aa2ca2f8cceb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12577,6 +12577,16 @@ S: Maintained F: Documentation/hwmon/ltc4261.rst F: drivers/hwmon/ltc4261.c +LTC4286 HARDWARE MONITOR DRIVER +M: Delphine CC Chiu <[email protected]> +S: Maintained +F: Documentation/devicetree/bindings/hwmon/lltc,ltc4286.yaml +F: Documentation/hwmon/ltc4286.rst +F: drivers/hwmon/pmbus/Kconfig +F: drivers/hwmon/pmbus/Makefile +F: drivers/hwmon/pmbus/ltc4286.c + LTC4306 I2C MULTIPLEXER DRIVER M: Michael Hennerich <[email protected]> |