xref: /openbmc/linux/Documentation/devicetree/bindings/power/supply/maxim,max77693.yaml (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1a400122bSKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2a400122bSKrzysztof Kozlowski%YAML 1.2
3a400122bSKrzysztof Kozlowski---
4a400122bSKrzysztof Kozlowski$id: http://devicetree.org/schemas/power/supply/maxim,max77693.yaml#
5a400122bSKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
6a400122bSKrzysztof Kozlowski
7a400122bSKrzysztof Kozlowskititle: Maxim MAX77693 MicroUSB and Companion Power Management IC Charger
8a400122bSKrzysztof Kozlowski
9a400122bSKrzysztof Kozlowskimaintainers:
10*8a1e6bb3SKrzysztof Kozlowski  - Krzysztof Kozlowski <krzk@kernel.org>
11a400122bSKrzysztof Kozlowski
12a400122bSKrzysztof Kozlowskidescription: |
13a400122bSKrzysztof Kozlowski  This is a part of device tree bindings for Maxim MAX77693 MicroUSB Integrated
14a400122bSKrzysztof Kozlowski  Circuit (MUIC).
15a400122bSKrzysztof Kozlowski
16a400122bSKrzysztof Kozlowski  See also Documentation/devicetree/bindings/mfd/maxim,max77693.yaml for
17a400122bSKrzysztof Kozlowski  additional information and example.
18a400122bSKrzysztof Kozlowski
19a400122bSKrzysztof Kozlowskiproperties:
20a400122bSKrzysztof Kozlowski  compatible:
21a400122bSKrzysztof Kozlowski    const: maxim,max77693-charger
22a400122bSKrzysztof Kozlowski
23a400122bSKrzysztof Kozlowski  maxim,constant-microvolt:
24a400122bSKrzysztof Kozlowski    description: |
25a400122bSKrzysztof Kozlowski      Battery constant voltage in uV. The charger will operate in fast
26a400122bSKrzysztof Kozlowski      charge constant current mode till battery voltage reaches this level.
27a400122bSKrzysztof Kozlowski      Then the charger will switch to fast charge constant voltage mode.
28a400122bSKrzysztof Kozlowski      Also vsys (system voltage) will be set to this value when DC power is
29a400122bSKrzysztof Kozlowski      supplied but charger is not enabled.
30a400122bSKrzysztof Kozlowski      Valid values: 3650000 - 4400000, step by 25000 (rounded down)
31a400122bSKrzysztof Kozlowski    minimum: 3650000
32a400122bSKrzysztof Kozlowski    maximum: 4400000
33a400122bSKrzysztof Kozlowski    default: 4200000
34a400122bSKrzysztof Kozlowski
35a400122bSKrzysztof Kozlowski  maxim,min-system-microvolt:
36a400122bSKrzysztof Kozlowski    description: |
37a400122bSKrzysztof Kozlowski      Minimal system voltage in uV.
38a400122bSKrzysztof Kozlowski    enum: [3000000, 3100000, 3200000, 3300000, 3400000, 3500000,
39a400122bSKrzysztof Kozlowski           3600000, 3700000]
40a400122bSKrzysztof Kozlowski    default: 3600000
41a400122bSKrzysztof Kozlowski
42a400122bSKrzysztof Kozlowski  maxim,thermal-regulation-celsius:
43a400122bSKrzysztof Kozlowski    description: |
44a400122bSKrzysztof Kozlowski      Temperature in Celsius for entering high temperature charging mode.
45a400122bSKrzysztof Kozlowski      If die temperature exceeds this value the charging current will be
46a400122bSKrzysztof Kozlowski      reduced by 105 mA/Celsius.
47a400122bSKrzysztof Kozlowski    enum: [70, 85, 100, 115]
48a400122bSKrzysztof Kozlowski    default: 100
49a400122bSKrzysztof Kozlowski
50a400122bSKrzysztof Kozlowski  maxim,battery-overcurrent-microamp:
51a400122bSKrzysztof Kozlowski    description: |
52a400122bSKrzysztof Kozlowski      Overcurrent protection threshold in uA (current from battery to
53a400122bSKrzysztof Kozlowski      system).
54a400122bSKrzysztof Kozlowski      Valid values: 2000000 - 3500000, step by 250000 (rounded down)
55a400122bSKrzysztof Kozlowski    minimum: 2000000
56a400122bSKrzysztof Kozlowski    maximum: 3500000
57a400122bSKrzysztof Kozlowski    default: 3500000
58a400122bSKrzysztof Kozlowski
59a400122bSKrzysztof Kozlowski  maxim,charge-input-threshold-microvolt:
60a400122bSKrzysztof Kozlowski    description: |
61a400122bSKrzysztof Kozlowski      Threshold voltage in uV for triggering input voltage regulation loop.
62a400122bSKrzysztof Kozlowski      If input voltage decreases below this value, the input current will
63a400122bSKrzysztof Kozlowski      be reduced to reach the threshold voltage.
64a400122bSKrzysztof Kozlowski    enum: [4300000, 4700000, 4800000, 4900000]
65a400122bSKrzysztof Kozlowski    default: 4300000
66a400122bSKrzysztof Kozlowski
67a400122bSKrzysztof Kozlowskirequired:
68a400122bSKrzysztof Kozlowski  - compatible
69a400122bSKrzysztof Kozlowski
70a400122bSKrzysztof KozlowskiadditionalProperties: false
71