Debian Codegraph @

Documentation/hwmon/isl28022.rst

raw
1 .. SPDX-License-Identifier: GPL-2.0-or-later
2
3 Kernel driver isl28022
4 ======================
5
6 Supported chips:
7
8 * Renesas ISL28022
9
10 Prefix: 'isl28022'
11
12 Addresses scanned: none
13
14 Datasheet: Publicly available at the Renesas website
15
16 https://www.renesas.com/us/en/www/doc/datasheet/isl28022.pdf
17
18 Author:
19 Carsten Spieß <[email protected]>
20
21 Description
22 -----------
23
24 The ISL28022 is a power monitor with I2C interface. The device monitors
25 voltage, current via shunt resistor and calculated power.
26
27 Usage Notes
28 -----------
29
30 This driver does not auto-detect devices. You will have to instantiate the
31 device explicitly. Please see Documentation/i2c/instantiating-devices.rst for
32 details.
33
34 The shunt value in micro-ohms, shunt voltage range and averaging can be set
35 with device properties.
36 Please refer to the Documentation/devicetree/bindings/hwmon/renesas,isl28022.yaml
37 for bindings if the device tree is used.
38
39 The driver supports only shunt and bus continuous ADC mode at 15bit resolution.
40 Averaging can be set from 1 to 128 samples (power of 2) on both channels.
41 Shunt voltage range of 40, 80, 160 or 320mV is allowed
42 The bus voltage range is 60V fixed.
43
44 Sysfs entries
45 -------------
46
47 The following attributes are supported. All attributes are read-only.
48
49 ======================= =======================================================
50 in0_input bus voltage (milli Volt)
51 in1_input shunt voltage (milli Volt)
52
53 curr1_input current (milli Ampere)
54 power1_input power (micro Watt)
55 ======================= =======================================================
56
57 Debugfs entries
58 ---------------
59
60 The following attributes are supported. All attributes are read-only.
61
62 ======================= =======================================================
63 shunt_voltage shunt voltage (micro Volt)
64 ======================= =======================================================