mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-23 08:35:19 -05:00
2988ce56b5
Reference common hwmon schema which allows to drop the "shunt-resistor-micro-ohms" property. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240224-dt-bindings-hwmon-common-v2-4-b446eecf5480@linaro.org Signed-off-by: Guenter Roeck <linux@roeck-us.net>
49 lines
982 B
YAML
49 lines
982 B
YAML
# 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 <Delphine_CC_Chiu@Wiwynn.com>
|
|
|
|
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
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
allOf:
|
|
- $ref: hwmon-common.yaml#
|
|
|
|
unevaluatedProperties: 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>;
|
|
};
|
|
};
|