Maxim MAX77693 MicroUSB and Companion Power Management IC LEDs
Schema identifier ($id): "http://devicetree.org/schemas/leds/maxim,max77693.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
This is a part of device tree bindings for Maxim MAX77693 MicroUSB Integrated Circuit (MUIC).
There are two LED outputs available - FLED1 and FLED2. Each of them can control a separate LED or they can be connected together to double the maximum current for a single connected LED. One LED is represented by one child node.
See also Documentation/devicetree/bindings/mfd/maxim,max77693.yaml for additional information and example.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "maxim,max77693-led"
maxim,boost-mode — not listed as required here #
In boost mode the device can produce up to 1.2A of total current on both outputs. The maximum current on each output is reduced to 625mA then. If not enabled explicitly, boost setting defaults to LEDS_BOOST_FIXED in case both current sources are used. See LEDS_BOOST_* in include/dt-bindings/leds/common.h.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2
maxim,boost-mvout — not listed as required here #
Output voltage of the boost module in millivolts. Valid values: 3300 - 5500, step by 25 (rounded down)
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 3300
Maximum value (maximum): 5500
Default value (default): 3300
maxim,mvsys-min — not listed as required here #
Low input voltage level in millivolts. Flash is not fired if chip estimates that system voltage could drop below this level due to flash power consumption. Valid values: 2400 - 3400, step by 33 (rounded down)
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 2400
Maximum value (maximum): 3400
Default value (default): 2400
Properties matching a name pattern (patternProperties) #
^([a-z]+-)?led[01]?$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
led-sources — required here
All of these rules must match (allOf)
Rule 1
Minimum number of items (
minItems):1Maximum number of items (
maxItems):2Array item rules (
items)Minimum value (
minimum):0Maximum value (
maximum):1
led-max-microamp — required here
Valid values for a LED connected to one FLED output:
15625 - 250000, step by 15625 (rounded down)
Valid values for a LED connected to both FLED outputs:
15625 - 500000, step by 15625 (rounded down)
flash-max-microamp — required here
Valid values for a single LED connected to one FLED output
(boost mode must be turned off):
15625 - 1000000, step by 15625 (rounded down)
Valid values for a single LED connected to both FLED outputs:
15625 - 1250000, step by 15625 (rounded down)
Valid values for two LEDs case:
15625 - 625000, step by 15625 (rounded down)
flash-max-timeout-us — required here
Valid values: 62500 - 1000000, step by 62500 (rounded down)
Minimum value (minimum): 62500
Maximum value (maximum): 1000000
Required in this object (required): "flash-max-microamp", "flash-max-timeout-us", "led-max-microamp", "led-sources"
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause