nxp,hscmp

Description

NXP High Speed Comparator (HSCMP)

Properties

Properties not inherited from the base binding file.

Name

Type

Details

resets

phandle-array

Reset information

This property is required.

power-mode

string

Select comparator power/speed mode.

Legal values: low_speed, high_speed, nano_power

hysteresis-mode

string

Comparator hysteresis level.

Legal values: LEVEL0, LEVEL1, LEVEL2, LEVEL3

enable-stop-mode

boolean

Allow the comparator to remain enabled in STOP mode.

invert-output

boolean

Invert comparator output.

enable-pin-out

boolean

Drive comparator output on the associated pin.

use-unfiltered-output

boolean

Route unfiltered comparator output to COUT.
When false, the filtered output is used and filter parameters
are taken from filter-count and filter-period.

filter-count

int

Number of consecutive samples that must agree before updating
the filtered output. Set to 0 to bypass the filter.

Legal values: 0, 1, 2, 3, 4, 5, 6, 7

filter-period

int

Sampling period for the filter in bus clock cycles.
Valid range: 0 - 255.

dac-vref-source

string

DAC reference high-voltage source selection.

Legal values: VREFH0, VREFH1

dac-value

int

8-bit DAC code used when an input channel is set to DAC output.
Valid range: 0 - 255.

positive-mux-input

string

Positive input multiplexer selection. "DAC" routes the internal DAC output.

Legal values: IN0, IN1, IN2, IN3, IN4, IN5, DAC

negative-mux-input

string

Negative input multiplexer selection. "DAC" routes the internal DAC output.

Legal values: IN0, IN1, IN2, IN3, IN4, IN5, DAC

nxp,references

phandle-array

References to required regulators which must be enabled for HSCMP to function

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.

reset-names

string-array

Name of each reset