infineon,lp-comp-channel

Description

Infineon LPComp channel node (child of infineon,lp-comp).
Device node shall be a child of a "infineon,lp-comp" compatible node.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

channel

int

LPComp channel index (0 or 1).

This property is required.

power

string

Power mode for the comparator channel:
  - "off": Power off
  - "ulp": Ultra Low Power mode, uses local Ibias
  - "lp": Low Power mode
  - "normal": Normal mode

Legal values: off, ulp, lp, normal

hysteresis

boolean

Enable or disable hysteresis.

output-mode

string

Output mode selection for the LPComp:
  - "pulse": DSI output with the pulse option, no bypass.
  - "direct": Bypass mode, direct comparator output.
  - "sync": DSI output with the level option, similar to bypass but 1 cycle slower.

Legal values: pulse, direct, sync

intr-type

string

Interrupt trigger type.

Legal values: disable, rising, falling, both

input-p

string

Positive input selection for the comparator.
- "open": The low-power comparator input is not connected.
- "gpio": The low-power comparator input connects to GPIO pin.
- "amux_a": The low-power comparator input connects to AMUXBUSA.
- "amux_b": The low-power comparator input connects to AMUXBUSB.
- "local_vref": The low-power comparator input connects to local VREF.

Legal values: open, gpio, amux_a, amux_b, local_vref

input-n

string

Negative input selection for the comparator.
- "open": The low-power comparator input is not connected.
- "gpio": The low-power comparator input connects to GPIO pin.
- "amux_a": The low-power comparator input connects to AMUXBUSA.
- "amux_b": The low-power comparator input connects to AMUXBUSB.
- "local_vref": The low-power comparator input connects to local VREF.

Legal values: open, gpio, amux_a, amux_b, local_vref