microchip,mtch9010 (on uart bus)

Description

MTCH9010 Liquid Detector

Microchip MTCH9010 liquid leak detector

- Detects liquid leaks using capacitance or conductance
- Interrupt driven or UART output

- For more information:
- https://www.microchip.com/en-us/product/mtch9010

Properties

Properties not inherited from the base binding file.

Name

Type

Details

operating-mode

string

Sets moisture detection mode (capacitive or conductive)
Keep in sync with dt-bindings/sensor/mtch9010.h

This property is required.

Legal values: 'MTCH9010_CAPACITIVE', 'MTCH9010_CONDUCTIVE'

sleep-period

int

Amount of time (in seconds) the sensor will sleep between each check.
Leave undefined or at 0 to sleep until wake.

Legal values: 0, 1, 2, 4, 8, 16, 32, 64, 128, 256

uart-config-enable

boolean

If set, the MTCH9010 is configured over the UART Interface.
To be disabled if the sensor is configured through its
I/O or a start-up configuration was previously defined.

extended-output-enable

boolean

If set, the output format of the MTCH9010 can be changed.
If not set, the MTCH9010 uses the default formatting.

extended-output-format

string

Output data formatting configuration.

Legal values: 'MTCH9010_OUTPUT_FORMAT_DELTA', 'MTCH9010_OUTPUT_FORMAT_CURRENT', 'MTCH9010_OUTPUT_FORMAT_BOTH', 'MTCH9010_OUTPUT_FORMAT_MPLAB_DATA_VISUALIZER'

reference-value

int

Set the reference "dry" value.
If not defined, the POR value of the sensor is used.
KConfig symbol MTCH9010_REFERENCE_AVERAGING_COUNT
can be used to setup averaging of this value.

detect-value

int

Set the detection threshold value.

This property is required.

output-gpios

phandle-array

Output Status Line for the MTCH9010

system-lock-gpios

phandle-array

System lock I/O for the MTCH9010
Unused if SYSTEM LOCK is not used.

mode-gpios

phandle-array

Mode select I/O for the MTCH9010
Unused if device is configured with UART or connected externally.

reset-gpios

phandle-array

Reset I/O for MTCH9010
Pulled low to reset the device.

wake-gpios

phandle-array

Wake I/O for the MTCH9010
Not used if a sleep period is defined.

uart-en-gpios

phandle-array

UART enable line for the MTCH9010
Unused if the UART EN pin is connected externally.

cfg-en-gpios

phandle-array

Enhanced configuration enable for the MTCH9010
Unused if device is configured with UART or connected externally.

heartbeat-gpios

phandle-array

Heartbeat output of MTCH9010

friendly-name

string

Human readable string describing the sensor. It can be used to
distinguish multiple instances of the same model (e.g., lid accelerometer
vs. base accelerometer in a laptop) to a host operating system.

This property is defined in the Generic Sensor Property Usages of the HID
Usage Tables specification
(https://usb.org/sites/default/files/hut1_3_0.pdf, section 22.5).