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