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