nxp,acomp

Description

NXP Analog Comparator (ACOMP)

Properties

Properties not inherited from the base binding file.

Name

Type

Details

positive-input

string

Positive input selection.

This property is required.

Legal values: 'ch0', 'ch1', 'ch2', 'ch3', 'ch4', 'ch5', 'ch6', 'ch7', 'daca', 'dacb'

negative-input

string

Negative input selection.

This property is required.

Legal values: 'ch0', 'ch1', 'ch2', 'ch3', 'ch4', 'ch5', 'ch6', 'ch7', 'daca', 'dacb', 'vref1p2', 'vssa', 'vio-0p25', 'vio-0p50', 'vio-0p75', 'vio-1p00'

positive-hysteresis-mv

int

Positive input hysteresis in millivolts.

Legal values: 0, 10, 20, 30, 40, 50, 60, 70

negative-hysteresis-mv

int

Negative input hysteresis in millivolts.

Legal values: 0, 10, 20, 30, 40, 50, 60, 70

warmup-time-us

int

Warm-up time before the comparator becomes active.

Legal values: 1, 2, 4, 8

response-mode

string

Bias/response speed selection.

Legal values: 'fast', 'medium', 'slow'

inactive-value-high

boolean

Set comparator output high when disabled.

enable-pin-out

boolean

Enable routing comparator output to its GPIO pin.

invert-output

boolean

Invert the comparator output routed to GPIO.

async-output

boolean

Use asynchronous comparator output for pin routing and interrupts.

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.