# Kernel driver isl28022

_Peios Kernel / Hardware and drivers / Hardware monitoring_

> Supported chips:

<a id="rst-kernel-driver-isl28022"></a>

<!-- SPDX-License-Identifier: GPL-2.0-or-later -->

Supported chips:

> - Renesas ISL28022
>
>   Prefix: 'isl28022'
>
>   Addresses scanned: none
>
>   Datasheet: Publicly available at the Renesas website
>
>   > [https://www.renesas.com/us/en/www/doc/datasheet/isl28022.pdf](<https://www.renesas.com/us/en/www/doc/datasheet/isl28022.pdf>)

- **Author:**

  Carsten Spieß &lt;[mail@carsten-spiess.de](<mailto:mail@carsten-spiess.de>)&gt;

<a id="rst-description"></a>

## Description

The ISL28022 is a power monitor with I2C interface. The device monitors voltage, current via shunt resistor and calculated power.

<a id="rst-usage-notes"></a>

## Usage Notes

This driver does not auto-detect devices. You will have to instantiate the device explicitly. Please see [Documentation/i2c/instantiating-devices.rst](/kernel/hardware/i2c/instantiating-devices.md) for details.

The shunt value in micro-ohms, shunt voltage range and averaging can be set with device properties. Please refer to the Documentation/devicetree/bindings/hwmon/renesas,isl28022.yaml for bindings if the device tree is used.

The driver supports only shunt and bus continuous ADC mode at 15bit resolution. Averaging can be set from 1 to 128 samples (power of 2) on both channels. Shunt voltage range of 40, 80, 160 or 320mV is allowed The bus voltage range is 60V fixed.

<a id="rst-sysfs-entries"></a>

## Sysfs entries

The following attributes are supported. All attributes are read-only.


<table>
<tbody>
<tr>
<td>


in0_input

</td>
<td>


bus voltage (milli Volt)

</td>
</tr>
<tr>
<td>


in1_input

</td>
<td>


shunt voltage (milli Volt)

</td>
</tr>
<tr>
<td>


curr1_input

</td>
<td>


current (milli Ampere)

</td>
</tr>
<tr>
<td>


power1_input

</td>
<td>


power (micro Watt)

</td>
</tr>
</tbody>
</table>

<a id="rst-debugfs-entries"></a>

## Debugfs entries

The following attributes are supported. All attributes are read-only.


<table>
<tbody>
<tr>
<td>


shunt_voltage

</td>
<td>


shunt voltage (micro Volt)

</td>
</tr>
</tbody>
</table>
