Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/hwmon/adi,ltc2945.yaml
26308 views
1
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2
%YAML 1.2
3
---
4
$id: http://devicetree.org/schemas/hwmon/adi,ltc2945.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: Analog Devices LTC2945 wide range i2c power monitor
8
9
maintainers:
10
- Guenter Roeck <linux@roeck-us.net>
11
12
description: |
13
Analog Devices LTC2945 wide range i2c power monitor over I2C.
14
15
https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2945.pdf
16
17
properties:
18
compatible:
19
enum:
20
- adi,ltc2945
21
22
reg:
23
maxItems: 1
24
25
shunt-resistor-micro-ohms:
26
description:
27
Shunt resistor value in micro-Ohms
28
default: 1000
29
30
required:
31
- compatible
32
- reg
33
34
allOf:
35
- $ref: hwmon-common.yaml#
36
37
unevaluatedProperties: false
38
39
examples:
40
- |
41
i2c {
42
#address-cells = <1>;
43
#size-cells = <0>;
44
45
power-monitor@6e {
46
compatible = "adi,ltc2945";
47
reg = <0x6e>;
48
/* 10 milli-Ohm shunt resistor */
49
shunt-resistor-micro-ohms = <10000>;
50
};
51
};
52
...
53
54