adi,max42500-watchdog (on i2c bus)

Description

Driver for setting up and using the MAX42500 voltage monitor/watchdog.

Properties

Top level properties

These property descriptions apply to “adi,max42500-watchdog” nodes themselves. This page also describes child node properties in the following sections.

Properties not inherited from the base binding file.

Name

Type

Details

wdiv

int

Watchdog clock divider (WDIV) value to adjust window values/calculations.
If not set, the default value on the device loaded from OTP is used.

enable-vmpd

boolean

Enable voltage-monitor power-down, to reduce IC power consumption when
EN0 is low.

mode

string

Enable watchdog mode to either simple windoweed watchdog or challenge/response.
A value of "default" will leave whatever mode is loaded from OTP in place.

Legal values: default, sww, challenge_response

supply-gpios

phandle-array

GPIO specifier that controls power to the device.

This property should be provided when the device has a dedicated
switch that controls power to the device.  The supply state is
entirely the responsibility of the device driver.

Contrast with vin-supply.

vin-supply

phandle

Reference to the regulator that controls power to the device.
The referenced devicetree node must have a regulator compatible.

This property should be provided when device power is supplied
by a shared regulator.  The supply state is dependent on the
request status of all devices fed by the regulator.

Contrast with supply-gpios.  If both properties are provided
then the regulator must be requested before the supply GPIOS is
set to an active state, and the supply GPIOS must be set to an
inactive state before releasing the regulator.

Child node properties

Name

Type

Details

reg

int

The specific voltage input channel to configure. Channels 1-5 are single ended,
6 and 7 are differential.

This property is required.

See Important properties for more information.

nominal-voltage

int

Channels 1-5 have a nominal voltage set, 6 and 7 are differential and only use UV/OV
settings

uv-limit

int

Under voltage limit. For channels 1-5, this is a percentage over the nominal voltage.
For channels 6 and 7, this is an absolute voltage.

This property is required.

ov-limit

int

Over voltage limit. For channels 1-5, this is a percentage over the nominal voltage.
For channels 6 and 7, this is an absolute voltage.

This property is required.

uvov-trigger-reset

boolean

Indicate that a UV/OV scenario for the channel should trigger a RESET condition.