:orphan:
.. raw:: html
.. dtcompatible:: infineon,lp-comp-channel
.. _dtbinding_infineon_lp_comp_channel:
infineon,lp-comp-channel
########################
.. sidebar:: Overview
:Name: ``infineon,lp-comp-channel``
:Vendor: :ref:`Infineon Technologies `
:Used in: :zephyr:board-catalog:`List of boards <#compatibles=infineon,lp-comp-channel>` using
this compatible
Description
***********
.. code-block:: none
Infineon LPComp channel node (child of infineon,lp-comp).
Device node shall be a child of a "infineon,lp-comp" compatible node.
Properties
**********
.. tabs::
.. group-tab:: Node specific properties
Properties not inherited from the base binding file.
.. list-table::
:widths: 1 1 4
:header-rows: 1
* - Name
- Type
- Details
* - ``channel``
- ``int``
- .. code-block:: none
LPComp channel index (0 or 1).
This property is **required**.
* - ``power``
- ``string``
- .. code-block:: none
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``
- .. code-block:: none
Enable or disable hysteresis.
* - ``output-mode``
- ``string``
- .. code-block:: none
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``
- .. code-block:: none
Interrupt trigger type.
Legal values: ``disable``, ``rising``, ``falling``, ``both``
* - ``input-p``
- ``string``
- .. code-block:: none
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``
- .. code-block:: none
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``
.. group-tab:: Deprecated node specific properties
Deprecated properties not inherited from the base binding file.
(None)
.. group-tab:: Base properties
Properties inherited from the base binding file, which defines
common properties that may be set on many nodes. Not all of these
may apply to the "infineon,lp-comp-channel" compatible.
(None)