ite,it8xxx2-vcmp

Vendor: ITE Tech. Inc.

Description

ITE, it8xxx2 Voltage Comparator node

Properties

Properties not inherited from the base binding file.

Name

Type

Details

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

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.