:orphan:
.. raw:: html
.. dtcompatible:: x-powers,axp2101-led
.. _dtbinding_x_powers_axp2101_led:
x-powers,axp2101-led (on axp2101 bus)
#####################################
Vendor: :ref:`X-Powers `
Description
***********
.. code-block:: none
AXP2101 LED controller
The AXP2101 has one LED can automatically display error or charging status,
or be controlled by software.
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
* - ``x-powers,mode``
- ``string``
- .. code-block:: none
Select the LED control method. If you select "by-reg", you can control it from software. Please refer to the datasheet for details on "type-a" and "type-b".
Legal values: ``'type-a'``, ``'type-b'``, ``'by-reg'``
.. 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 "x-powers,axp2101-led" compatible.
(None)