The latest development version of this page may be more current than this released 4.0.0 version.

ite,it8xxx2-vcmp

Vendor: ITE Tech. Inc.

Note

An implementation of a driver matching this compatible is available in drivers/sensor/ite/ite_vcmp_it8xxx2/vcmp_ite_it8xxx2.c.

Description

ITE, it8xxx2 Voltage Comparator node

Properties

Properties not inherited from the base binding file.

Name

Type

Details

vcmp-ch

int

Voltage comparator channel.

This property is required.

scan-period

int

Select the scan interval for all comparator channel.
Check include/zephyr/dt-bindings/sensor/it8xxx2_vcmp.h file for
pre-defined values.

This property is required.

comparison

int

Determines the condition to be met between ADC data and
threshold assert value that will trigger comparator interrupt.
Check include/zephyr/dt-bindings/sensor/it8xxx2_vcmp.h file for
pre-defined values.

This property is required.

threshold-mv

int

16-bit value in milli-volts present on ADC data as threshold assert.
Check include/zephyr/dt-bindings/sensor/it8xxx2_vcmp.h file for
pre-defined values.

This property is required.

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).