xref: /freebsd/sys/contrib/device-tree/Bindings/power/supply/maxim,max77693.yaml (revision c9ccf3a32da427475985b85d7df023ccfb138c27)
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/power/supply/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 Charger
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  See also Documentation/devicetree/bindings/mfd/maxim,max77693.yaml for
17*c9ccf3a3SEmmanuel Vadot  additional information and example.
18*c9ccf3a3SEmmanuel Vadot
19*c9ccf3a3SEmmanuel Vadotproperties:
20*c9ccf3a3SEmmanuel Vadot  compatible:
21*c9ccf3a3SEmmanuel Vadot    const: maxim,max77693-charger
22*c9ccf3a3SEmmanuel Vadot
23*c9ccf3a3SEmmanuel Vadot  maxim,constant-microvolt:
24*c9ccf3a3SEmmanuel Vadot    description: |
25*c9ccf3a3SEmmanuel Vadot      Battery constant voltage in uV. The charger will operate in fast
26*c9ccf3a3SEmmanuel Vadot      charge constant current mode till battery voltage reaches this level.
27*c9ccf3a3SEmmanuel Vadot      Then the charger will switch to fast charge constant voltage mode.
28*c9ccf3a3SEmmanuel Vadot      Also vsys (system voltage) will be set to this value when DC power is
29*c9ccf3a3SEmmanuel Vadot      supplied but charger is not enabled.
30*c9ccf3a3SEmmanuel Vadot      Valid values: 3650000 - 4400000, step by 25000 (rounded down)
31*c9ccf3a3SEmmanuel Vadot    minimum: 3650000
32*c9ccf3a3SEmmanuel Vadot    maximum: 4400000
33*c9ccf3a3SEmmanuel Vadot    default: 4200000
34*c9ccf3a3SEmmanuel Vadot
35*c9ccf3a3SEmmanuel Vadot  maxim,min-system-microvolt:
36*c9ccf3a3SEmmanuel Vadot    description: |
37*c9ccf3a3SEmmanuel Vadot      Minimal system voltage in uV.
38*c9ccf3a3SEmmanuel Vadot    enum: [3000000, 3100000, 3200000, 3300000, 3400000, 3500000,
39*c9ccf3a3SEmmanuel Vadot           3600000, 3700000]
40*c9ccf3a3SEmmanuel Vadot    default: 3600000
41*c9ccf3a3SEmmanuel Vadot
42*c9ccf3a3SEmmanuel Vadot  maxim,thermal-regulation-celsius:
43*c9ccf3a3SEmmanuel Vadot    description: |
44*c9ccf3a3SEmmanuel Vadot      Temperature in Celsius for entering high temperature charging mode.
45*c9ccf3a3SEmmanuel Vadot      If die temperature exceeds this value the charging current will be
46*c9ccf3a3SEmmanuel Vadot      reduced by 105 mA/Celsius.
47*c9ccf3a3SEmmanuel Vadot    enum: [70, 85, 100, 115]
48*c9ccf3a3SEmmanuel Vadot    default: 100
49*c9ccf3a3SEmmanuel Vadot
50*c9ccf3a3SEmmanuel Vadot  maxim,battery-overcurrent-microamp:
51*c9ccf3a3SEmmanuel Vadot    description: |
52*c9ccf3a3SEmmanuel Vadot      Overcurrent protection threshold in uA (current from battery to
53*c9ccf3a3SEmmanuel Vadot      system).
54*c9ccf3a3SEmmanuel Vadot      Valid values: 2000000 - 3500000, step by 250000 (rounded down)
55*c9ccf3a3SEmmanuel Vadot    minimum: 2000000
56*c9ccf3a3SEmmanuel Vadot    maximum: 3500000
57*c9ccf3a3SEmmanuel Vadot    default: 3500000
58*c9ccf3a3SEmmanuel Vadot
59*c9ccf3a3SEmmanuel Vadot  maxim,charge-input-threshold-microvolt:
60*c9ccf3a3SEmmanuel Vadot    description: |
61*c9ccf3a3SEmmanuel Vadot      Threshold voltage in uV for triggering input voltage regulation loop.
62*c9ccf3a3SEmmanuel Vadot      If input voltage decreases below this value, the input current will
63*c9ccf3a3SEmmanuel Vadot      be reduced to reach the threshold voltage.
64*c9ccf3a3SEmmanuel Vadot    enum: [4300000, 4700000, 4800000, 4900000]
65*c9ccf3a3SEmmanuel Vadot    default: 4300000
66*c9ccf3a3SEmmanuel Vadot
67*c9ccf3a3SEmmanuel Vadotrequired:
68*c9ccf3a3SEmmanuel Vadot  - compatible
69*c9ccf3a3SEmmanuel Vadot
70*c9ccf3a3SEmmanuel VadotadditionalProperties: false
71