1*c9ccf3a3SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*c9ccf3a3SEmmanuel Vadot%YAML 1.2 3*c9ccf3a3SEmmanuel Vadot--- 4*c9ccf3a3SEmmanuel Vadot$id: http://devicetree.org/schemas/leds/maxim,max77693.yaml# 5*c9ccf3a3SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*c9ccf3a3SEmmanuel Vadot 7*c9ccf3a3SEmmanuel Vadottitle: Maxim MAX77693 MicroUSB and Companion Power Management IC LEDs 8*c9ccf3a3SEmmanuel Vadot 9*c9ccf3a3SEmmanuel Vadotmaintainers: 10*c9ccf3a3SEmmanuel Vadot - Krzysztof Kozlowski <krzk@kernel.org> 11*c9ccf3a3SEmmanuel Vadot 12*c9ccf3a3SEmmanuel Vadotdescription: | 13*c9ccf3a3SEmmanuel Vadot This is a part of device tree bindings for Maxim MAX77693 MicroUSB Integrated 14*c9ccf3a3SEmmanuel Vadot Circuit (MUIC). 15*c9ccf3a3SEmmanuel Vadot 16*c9ccf3a3SEmmanuel Vadot There are two LED outputs available - FLED1 and FLED2. Each of them can 17*c9ccf3a3SEmmanuel Vadot control a separate LED or they can be connected together to double the 18*c9ccf3a3SEmmanuel Vadot maximum current for a single connected LED. One LED is represented by one 19*c9ccf3a3SEmmanuel Vadot child node. 20*c9ccf3a3SEmmanuel Vadot 21*c9ccf3a3SEmmanuel Vadot See also Documentation/devicetree/bindings/mfd/maxim,max77693.yaml for 22*c9ccf3a3SEmmanuel Vadot additional information and example. 23*c9ccf3a3SEmmanuel Vadot 24*c9ccf3a3SEmmanuel Vadotproperties: 25*c9ccf3a3SEmmanuel Vadot compatible: 26*c9ccf3a3SEmmanuel Vadot const: maxim,max77693-led 27*c9ccf3a3SEmmanuel Vadot 28*c9ccf3a3SEmmanuel Vadot maxim,boost-mode: 29*c9ccf3a3SEmmanuel Vadot description: 30*c9ccf3a3SEmmanuel Vadot In boost mode the device can produce up to 1.2A of total current on both 31*c9ccf3a3SEmmanuel Vadot outputs. The maximum current on each output is reduced to 625mA then. If 32*c9ccf3a3SEmmanuel Vadot not enabled explicitly, boost setting defaults to LEDS_BOOST_FIXED in 33*c9ccf3a3SEmmanuel Vadot case both current sources are used. 34*c9ccf3a3SEmmanuel Vadot See LEDS_BOOST_* in include/dt-bindings/leds/common.h. 35*c9ccf3a3SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 36*c9ccf3a3SEmmanuel Vadot enum: [0, 1, 2] 37*c9ccf3a3SEmmanuel Vadot 38*c9ccf3a3SEmmanuel Vadot maxim,boost-mvout: 39*c9ccf3a3SEmmanuel Vadot description: | 40*c9ccf3a3SEmmanuel Vadot Output voltage of the boost module in millivolts. 41*c9ccf3a3SEmmanuel Vadot Valid values: 3300 - 5500, step by 25 (rounded down) 42*c9ccf3a3SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 43*c9ccf3a3SEmmanuel Vadot minimum: 3300 44*c9ccf3a3SEmmanuel Vadot maximum: 5500 45*c9ccf3a3SEmmanuel Vadot default: 3300 46*c9ccf3a3SEmmanuel Vadot 47*c9ccf3a3SEmmanuel Vadot maxim,mvsys-min: 48*c9ccf3a3SEmmanuel Vadot description: | 49*c9ccf3a3SEmmanuel Vadot Low input voltage level in millivolts. Flash is not fired if chip 50*c9ccf3a3SEmmanuel Vadot estimates that system voltage could drop below this level due to flash 51*c9ccf3a3SEmmanuel Vadot power consumption. 52*c9ccf3a3SEmmanuel Vadot Valid values: 2400 - 3400, step by 33 (rounded down) 53*c9ccf3a3SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 54*c9ccf3a3SEmmanuel Vadot minimum: 2400 55*c9ccf3a3SEmmanuel Vadot maximum: 3400 56*c9ccf3a3SEmmanuel Vadot default: 2400 57*c9ccf3a3SEmmanuel Vadot 58*c9ccf3a3SEmmanuel VadotpatternProperties: 59*c9ccf3a3SEmmanuel Vadot "^([a-z]+-)?led[01]?$": 60*c9ccf3a3SEmmanuel Vadot type: object 61*c9ccf3a3SEmmanuel Vadot $ref: common.yaml# 62*c9ccf3a3SEmmanuel Vadot unevaluatedProperties: false 63*c9ccf3a3SEmmanuel Vadot 64*c9ccf3a3SEmmanuel Vadot properties: 65*c9ccf3a3SEmmanuel Vadot led-sources: 66*c9ccf3a3SEmmanuel Vadot allOf: 67*c9ccf3a3SEmmanuel Vadot - minItems: 1 68*c9ccf3a3SEmmanuel Vadot maxItems: 2 69*c9ccf3a3SEmmanuel Vadot items: 70*c9ccf3a3SEmmanuel Vadot minimum: 0 71*c9ccf3a3SEmmanuel Vadot maximum: 1 72*c9ccf3a3SEmmanuel Vadot 73*c9ccf3a3SEmmanuel Vadot led-max-microamp: 74*c9ccf3a3SEmmanuel Vadot description: | 75*c9ccf3a3SEmmanuel Vadot Valid values for a LED connected to one FLED output: 76*c9ccf3a3SEmmanuel Vadot 15625 - 250000, step by 15625 (rounded down) 77*c9ccf3a3SEmmanuel Vadot Valid values for a LED connected to both FLED outputs: 78*c9ccf3a3SEmmanuel Vadot 15625 - 500000, step by 15625 (rounded down) 79*c9ccf3a3SEmmanuel Vadot 80*c9ccf3a3SEmmanuel Vadot flash-max-microamp: 81*c9ccf3a3SEmmanuel Vadot description: | 82*c9ccf3a3SEmmanuel Vadot Valid values for a single LED connected to one FLED output 83*c9ccf3a3SEmmanuel Vadot (boost mode must be turned off): 84*c9ccf3a3SEmmanuel Vadot 15625 - 1000000, step by 15625 (rounded down) 85*c9ccf3a3SEmmanuel Vadot Valid values for a single LED connected to both FLED outputs: 86*c9ccf3a3SEmmanuel Vadot 15625 - 1250000, step by 15625 (rounded down) 87*c9ccf3a3SEmmanuel Vadot Valid values for two LEDs case: 88*c9ccf3a3SEmmanuel Vadot 15625 - 625000, step by 15625 (rounded down) 89*c9ccf3a3SEmmanuel Vadot 90*c9ccf3a3SEmmanuel Vadot flash-max-timeout-us: 91*c9ccf3a3SEmmanuel Vadot description: | 92*c9ccf3a3SEmmanuel Vadot Valid values: 62500 - 1000000, step by 62500 (rounded down) 93*c9ccf3a3SEmmanuel Vadot minimum: 62500 94*c9ccf3a3SEmmanuel Vadot maximum: 1000000 95*c9ccf3a3SEmmanuel Vadot 96*c9ccf3a3SEmmanuel Vadot required: 97*c9ccf3a3SEmmanuel Vadot - flash-max-microamp 98*c9ccf3a3SEmmanuel Vadot - flash-max-timeout-us 99*c9ccf3a3SEmmanuel Vadot - led-max-microamp 100*c9ccf3a3SEmmanuel Vadot - led-sources 101*c9ccf3a3SEmmanuel Vadot 102*c9ccf3a3SEmmanuel Vadotrequired: 103*c9ccf3a3SEmmanuel Vadot - compatible 104*c9ccf3a3SEmmanuel Vadot 105*c9ccf3a3SEmmanuel VadotadditionalProperties: false 106