# Kernel driver ltc4151

_Peios Kernel / Hardware and drivers / Hardware monitoring_

> Supported chips:

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

Supported chips:

> - Linear Technology LTC4151
>
>   Prefix: 'ltc4151'
>
>   Addresses scanned: -
>
>   Datasheet:
>
>   > [http://www.linear.com/docs/Datasheet/4151fc.pdf](<http://www.linear.com/docs/Datasheet/4151fc.pdf>)

Author: Per Dalen &lt;[per.dalen@appeartv.com](<mailto:per.dalen@appeartv.com>)&gt;

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

## Description

The LTC4151 is a High Voltage I2C Current and Voltage Monitor.

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

## Usage Notes

This driver does not probe for LTC4151 devices, since there is no register which can be safely used to identify the chip. You will have to instantiate the devices explicitly.

Example: the following will load the driver for an LTC4151 at address 0x6f on I2C bus \#0:



```text
# modprobe ltc4151
# echo ltc4151 0x6f > /sys/bus/i2c/devices/i2c-0/new_device
```

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

## Sysfs entries

Voltage readings provided by this driver are reported as obtained from the ADIN and VIN registers.

Current reading provided by this driver is reported as obtained from the Current Sense register. The reported value assumes that a 1 mOhm sense resistor is installed.


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


in1_input

</td>
<td>


VDIN voltage (mV)

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


in2_input

</td>
<td>


ADIN voltage (mV)

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


curr1_input

</td>
<td>


SENSE current (mA)

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