162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
262306a36Sopenharmony_ci%YAML 1.2
362306a36Sopenharmony_ci---
462306a36Sopenharmony_ci$id: http://devicetree.org/schemas/power/supply/maxim,max77693.yaml#
562306a36Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml#
662306a36Sopenharmony_ci
762306a36Sopenharmony_cititle: Maxim MAX77693 MicroUSB and Companion Power Management IC Charger
862306a36Sopenharmony_ci
962306a36Sopenharmony_cimaintainers:
1062306a36Sopenharmony_ci  - Krzysztof Kozlowski <krzk@kernel.org>
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_cidescription: |
1362306a36Sopenharmony_ci  This is a part of device tree bindings for Maxim MAX77693 MicroUSB Integrated
1462306a36Sopenharmony_ci  Circuit (MUIC).
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci  See also Documentation/devicetree/bindings/mfd/maxim,max77693.yaml for
1762306a36Sopenharmony_ci  additional information and example.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciproperties:
2062306a36Sopenharmony_ci  compatible:
2162306a36Sopenharmony_ci    const: maxim,max77693-charger
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ci  maxim,constant-microvolt:
2462306a36Sopenharmony_ci    description: |
2562306a36Sopenharmony_ci      Battery constant voltage in uV. The charger will operate in fast
2662306a36Sopenharmony_ci      charge constant current mode till battery voltage reaches this level.
2762306a36Sopenharmony_ci      Then the charger will switch to fast charge constant voltage mode.
2862306a36Sopenharmony_ci      Also vsys (system voltage) will be set to this value when DC power is
2962306a36Sopenharmony_ci      supplied but charger is not enabled.
3062306a36Sopenharmony_ci      Valid values: 3650000 - 4400000, step by 25000 (rounded down)
3162306a36Sopenharmony_ci    minimum: 3650000
3262306a36Sopenharmony_ci    maximum: 4400000
3362306a36Sopenharmony_ci    default: 4200000
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ci  maxim,min-system-microvolt:
3662306a36Sopenharmony_ci    description: |
3762306a36Sopenharmony_ci      Minimal system voltage in uV.
3862306a36Sopenharmony_ci    enum: [3000000, 3100000, 3200000, 3300000, 3400000, 3500000,
3962306a36Sopenharmony_ci           3600000, 3700000]
4062306a36Sopenharmony_ci    default: 3600000
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ci  maxim,thermal-regulation-celsius:
4362306a36Sopenharmony_ci    description: |
4462306a36Sopenharmony_ci      Temperature in Celsius for entering high temperature charging mode.
4562306a36Sopenharmony_ci      If die temperature exceeds this value the charging current will be
4662306a36Sopenharmony_ci      reduced by 105 mA/Celsius.
4762306a36Sopenharmony_ci    enum: [70, 85, 100, 115]
4862306a36Sopenharmony_ci    default: 100
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ci  maxim,battery-overcurrent-microamp:
5162306a36Sopenharmony_ci    description: |
5262306a36Sopenharmony_ci      Overcurrent protection threshold in uA (current from battery to
5362306a36Sopenharmony_ci      system).
5462306a36Sopenharmony_ci      Valid values: 2000000 - 3500000, step by 250000 (rounded down)
5562306a36Sopenharmony_ci    minimum: 2000000
5662306a36Sopenharmony_ci    maximum: 3500000
5762306a36Sopenharmony_ci    default: 3500000
5862306a36Sopenharmony_ci
5962306a36Sopenharmony_ci  maxim,charge-input-threshold-microvolt:
6062306a36Sopenharmony_ci    description: |
6162306a36Sopenharmony_ci      Threshold voltage in uV for triggering input voltage regulation loop.
6262306a36Sopenharmony_ci      If input voltage decreases below this value, the input current will
6362306a36Sopenharmony_ci      be reduced to reach the threshold voltage.
6462306a36Sopenharmony_ci    enum: [4300000, 4700000, 4800000, 4900000]
6562306a36Sopenharmony_ci    default: 4300000
6662306a36Sopenharmony_ci
6762306a36Sopenharmony_cirequired:
6862306a36Sopenharmony_ci  - compatible
6962306a36Sopenharmony_ci
7062306a36Sopenharmony_ciadditionalProperties: false
71