# Kernel driver zl6100

_Peios Kernel / Hardware and drivers / Hardware monitoring_

> Supported chips:

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

Supported chips:

> - Renesas / Intersil / Zilker Labs ZL2004
>
>   Prefix: 'zl2004'
>
>   Addresses scanned: -
>
>   Datasheet: [https://www.renesas.com/us/en/document/dst/zl2004-datasheet](<https://www.renesas.com/us/en/document/dst/zl2004-datasheet>)
>
> - Renesas / Intersil / Zilker Labs ZL2005
>
>   Prefix: 'zl2005'
>
>   Addresses scanned: -
>
>   Datasheet: [https://www.renesas.com/us/en/document/dst/zl2005-datasheet](<https://www.renesas.com/us/en/document/dst/zl2005-datasheet>)
>
> - Renesas / Intersil / Zilker Labs ZL2006
>
>   Prefix: 'zl2006'
>
>   Addresses scanned: -
>
>   Datasheet: [https://www.renesas.com/us/en/document/dst/zl2006-datasheet](<https://www.renesas.com/us/en/document/dst/zl2006-datasheet>)
>
> - Renesas / Intersil / Zilker Labs ZL2008
>
>   Prefix: 'zl2008'
>
>   Addresses scanned: -
>
>   Datasheet: [https://www.renesas.com/us/en/document/dst/zl2008-datasheet](<https://www.renesas.com/us/en/document/dst/zl2008-datasheet>)
>
> - Renesas / Intersil / Zilker Labs ZL2105
>
>   Prefix: 'zl2105'
>
>   Addresses scanned: -
>
>   Datasheet: [https://www.renesas.com/us/en/document/dst/zl2105-datasheet](<https://www.renesas.com/us/en/document/dst/zl2105-datasheet>)
>
> - Renesas / Intersil / Zilker Labs ZL2106
>
>   Prefix: 'zl2106'
>
>   Addresses scanned: -
>
>   Datasheet: [https://www.renesas.com/us/en/document/dst/zl2106-datasheet](<https://www.renesas.com/us/en/document/dst/zl2106-datasheet>)
>
> - Renesas / Intersil / Zilker Labs ZL6100
>
>   Prefix: 'zl6100'
>
>   Addresses scanned: -
>
>   Datasheet: [https://www.renesas.com/us/en/document/dst/zl6100-datasheet](<https://www.renesas.com/us/en/document/dst/zl6100-datasheet>)
>
> - Renesas / Intersil / Zilker Labs ZL6105
>
>   Prefix: 'zl6105'
>
>   Addresses scanned: -
>
>   Datasheet: [https://www.renesas.com/us/en/document/dst/zl6105-datasheet](<https://www.renesas.com/us/en/document/dst/zl6105-datasheet>)
>
> - Renesas / Intersil / Zilker Labs ZL8802
>
>   Prefix: 'zl8802'
>
>   Addresses scanned: -
>
>   Datasheet: [https://www.renesas.com/us/en/document/dst/zl8802-datasheet](<https://www.renesas.com/us/en/document/dst/zl8802-datasheet>)
>
> - Renesas / Intersil / Zilker Labs ZL9101M
>
>   Prefix: 'zl9101'
>
>   Addresses scanned: -
>
>   Datasheet: [https://www.renesas.com/us/en/document/dst/zl9101m-datasheet](<https://www.renesas.com/us/en/document/dst/zl9101m-datasheet>)
>
> - Renesas / Intersil / Zilker Labs ZL9117M
>
>   Prefix: 'zl9117'
>
>   Addresses scanned: -
>
>   Datasheet: [https://www.renesas.com/us/en/document/dst/zl9117m-datasheet](<https://www.renesas.com/us/en/document/dst/zl9117m-datasheet>)
>
> - Renesas / Intersil / Zilker Labs ZLS1003, ZLS4009
>
>   Prefix: 'zls1003', zls4009
>
>   Addresses scanned: -
>
>   Datasheet: Not published
>
> - Flex BMR450, BMR451
>
>   Prefix: 'bmr450', 'bmr451'
>
>   Addresses scanned: -
>
>   Datasheet:

[https://flexpowermodules.com/resources/fpm-techspec-bmr450-digital-pol-regulators-20a](<https://flexpowermodules.com/resources/fpm-techspec-bmr450-digital-pol-regulators-20a>)

> - Flex BMR462, BMR463, BMR464
>
>   Prefixes: 'bmr462', 'bmr463', 'bmr464'
>
>   Addresses scanned: -
>
>   Datasheet: [https://flexpowermodules.com/resources/fpm-techspec-bmr462](<https://flexpowermodules.com/resources/fpm-techspec-bmr462>)
>
> - Flex BMR465, BMR467
>
>   Prefixes: 'bmr465', 'bmr467'
>
>   Addresses scanned: -
>
>   Datasheet: [https://flexpowermodules.com/resources/fpm-techspec-bmr465-digital-pol](<https://flexpowermodules.com/resources/fpm-techspec-bmr465-digital-pol>)
>
> - Flex BMR466
>
>   Prefixes: 'bmr466'
>
>   Addresses scanned: -
>
>   Datasheet: [https://flexpowermodules.com/resources/fpm-techspec-bmr466-8x12](<https://flexpowermodules.com/resources/fpm-techspec-bmr466-8x12>)
>
> - Flex BMR469
>
>   Prefixes: 'bmr469'
>
>   Addresses scanned: -
>
>   Datasheet: [https://flexpowermodules.com/resources/fpm-techspec-bmr4696001](<https://flexpowermodules.com/resources/fpm-techspec-bmr4696001>)

Author: Guenter Roeck &lt;[linux@roeck-us.net](<mailto:linux@roeck-us.net>)&gt;

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

## Description

This driver supports hardware monitoring for Renesas / Intersil / Zilker Labs ZL6100 and compatible digital DC-DC controllers.

The driver is a client driver to the core PMBus driver. Please see [Documentation/hwmon/pmbus.rst](/kernel/hardware/hwmon/pmbus.md) and Documentation.hwmon/pmbus-core for details on PMBus client drivers.

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

## Usage Notes

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

> [!WARNING]
>
> Do not access chip registers using the i2cdump command, and do not use any of the i2ctools commands on a command register used to save and restore configuration data (0x11, 0x12, 0x15, 0x16, and 0xf4). The chips supported by this driver interpret any access to those command registers (including read commands) as request to execute the command in question. Unless write accesses to those registers are protected, this may result in power loss, board resets, and/or Flash corruption. Worst case, your board may turn into a brick.

<a id="rst-platform-data-support"></a>

## Platform data support

The driver supports standard PMBus driver platform data.

<a id="rst-module-parameters"></a>

## Module parameters

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

## delay

Renesas/Intersil/Zilker Labs DC-DC controllers require a minimum interval between I2C bus accesses. According to Intersil, the minimum interval is 2 ms, though 1 ms appears to be sufficient and has not caused any problems in testing. The problem is known to affect all currently supported chips. For manual override, the driver provides a writeable module parameter, 'delay', which can be used to set the interval to a value between 0 and 65,535 microseconds.

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

## Sysfs entries

The following attributes are supported. Limits are read-write; all other attributes are read-only.


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


in1_label

</td>
<td>


"vin"

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


in1_input

</td>
<td>


Measured input voltage.

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


in1_min

</td>
<td>


Minimum input voltage.

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


in1_max

</td>
<td>


Maximum input voltage.

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


in1_lcrit

</td>
<td>


Critical minimum input voltage.

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


in1_crit

</td>
<td>


Critical maximum input voltage.

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


in1_min_alarm

</td>
<td>


Input voltage low alarm.

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


in1_max_alarm

</td>
<td>


Input voltage high alarm.

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


in1_lcrit_alarm

</td>
<td>


Input voltage critical low alarm.

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


in1_crit_alarm

</td>
<td>


Input voltage critical high alarm.

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


in2_label

</td>
<td>


"vmon"

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


in2_input

</td>
<td>


Measured voltage on VMON (ZL2004) or VDRV (ZL9101M, ZL9117M) pin. Reported voltage is 16x the voltage on the pin (adjusted internally by the chip).

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


in2_lcrit

</td>
<td>


Critical minimum VMON/VDRV Voltage.

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


in2_crit

</td>
<td>


Critical maximum VMON/VDRV voltage.

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


in2_lcrit_alarm

</td>
<td>


VMON/VDRV voltage critical low alarm.

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


in2_crit_alarm

</td>
<td>


VMON/VDRV voltage critical high alarm.

vmon attributes are supported on ZL2004, ZL8802, ZL9101M, ZL9117M and ZLS4009 only.

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


inX_label

</td>
<td>


"vout\[12\]"

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


inX_input

</td>
<td>


Measured output voltage.

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


inX_lcrit

</td>
<td>


Critical minimum output Voltage.

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


inX_crit

</td>
<td>


Critical maximum output voltage.

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


inX_lcrit_alarm

</td>
<td>


Critical output voltage critical low alarm.

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


inX_crit_alarm

</td>
<td>


Critical output voltage critical high alarm.

X is 3 for ZL2004, ZL9101M, and ZL9117M, 3, 4 for ZL8802 and 2 otherwise.

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


curr1_label

</td>
<td>


"iin"

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


curr1_input

</td>
<td>


Measured input current.

iin attributes are supported on ZL8802 only

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


currY_label

</td>
<td>


"iout\[12\]"

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


currY_input

</td>
<td>


Measured output current.

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


currY_lcrit

</td>
<td>


Critical minimum output current.

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


currY_crit

</td>
<td>


Critical maximum output current.

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


currY_lcrit_alarm

</td>
<td>


Output current critical low alarm.

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


currY_crit_alarm

</td>
<td>


Output current critical high alarm.

Y is 2, 3 for ZL8802, 1 otherwise

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


temp\[12\]\_input

</td>
<td>


Measured temperature.

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


temp\[12\]\_min

</td>
<td>


Minimum temperature.

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


temp\[12\]\_max

</td>
<td>


Maximum temperature.

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


temp\[12\]\_lcrit

</td>
<td>


Critical low temperature.

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


temp\[12\]\_crit

</td>
<td>


Critical high temperature.

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


temp\[12\]\_min_alarm

</td>
<td>


Chip temperature low alarm.

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


temp\[12\]\_max_alarm

</td>
<td>


Chip temperature high alarm.

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


temp\[12\]\_lcrit_alarm

</td>
<td>


Chip temperature critical low alarm.

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


temp\[12\]\_crit_alarm

</td>
<td>


Chip temperature critical high alarm.

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