nxp,lpcmp

Vendor: NXP Semiconductors

Description

NXP low-power analog comparator (LPCMP)

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

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.

enable-output-pin

boolean

Decide whether to enable the comparator is available in selected pin.

use-unfiltered-output

boolean

Decide whether to use the unfiltered output.

enable-output-invert

boolean

Decide whether to invert the comparator output.

hysteresis-level

int

LPCMP hysteresis mode.
The default corresponds to the reset value of the register field.

Legal values: 0, 1, 2, 3

power-level

string

LPCMP power mode.
The default corresponds to the reset value of the register field.

Default value: low

Legal values: 'low', 'high', 'nano'

function-clock

string

LPCMP function clock.
The default corresponds to the reset value of the register field.

Default value: Reserved

Legal values: 'Reserved', 'FRO_16K', 'XTAL32K', 'CMP_CLOCK'

#io-channel-cells

int

Constant value: 2

Specifier cell names

  • io-channel cells: positive, negative