xref: /linux/Documentation/devicetree/bindings/power/supply/ti,twl6030-charger.yaml (revision 448ecd5771e255629bef0fb16c9b78c4bbd7bd56)
1*421aadd1SAndreas Kemnade# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*421aadd1SAndreas Kemnade%YAML 1.2
3*421aadd1SAndreas Kemnade---
4*421aadd1SAndreas Kemnade$id: http://devicetree.org/schemas/power/supply/ti,twl6030-charger.yaml#
5*421aadd1SAndreas Kemnade$schema: http://devicetree.org/meta-schemas/core.yaml#
6*421aadd1SAndreas Kemnade
7*421aadd1SAndreas Kemnadetitle: TWL6030/32 BCI (Battery Charger Interface)
8*421aadd1SAndreas Kemnade
9*421aadd1SAndreas Kemnadedescription:
10*421aadd1SAndreas Kemnade  The battery charger needs to be configured to do any charging besides of
11*421aadd1SAndreas Kemnade  precharging. The GPADC in the PMIC has to be used to get the related
12*421aadd1SAndreas Kemnade  voltages.
13*421aadd1SAndreas Kemnade
14*421aadd1SAndreas Kemnademaintainers:
15*421aadd1SAndreas Kemnade  - Andreas Kemnade <andreas@kemnade.info>
16*421aadd1SAndreas Kemnade
17*421aadd1SAndreas KemnadeallOf:
18*421aadd1SAndreas Kemnade  - $ref: power-supply.yaml#
19*421aadd1SAndreas Kemnade
20*421aadd1SAndreas Kemnadeproperties:
21*421aadd1SAndreas Kemnade  compatible:
22*421aadd1SAndreas Kemnade    oneOf:
23*421aadd1SAndreas Kemnade      - const: ti,twl6030-charger
24*421aadd1SAndreas Kemnade      - items:
25*421aadd1SAndreas Kemnade          - const: ti,twl6032-charger
26*421aadd1SAndreas Kemnade          - const: ti,twl6030-charger
27*421aadd1SAndreas Kemnade
28*421aadd1SAndreas Kemnade  interrupts:
29*421aadd1SAndreas Kemnade    items:
30*421aadd1SAndreas Kemnade      - description: Charger Control Interrupt
31*421aadd1SAndreas Kemnade      - description: Charger Fault Interrupt
32*421aadd1SAndreas Kemnade
33*421aadd1SAndreas Kemnade  io-channels:
34*421aadd1SAndreas Kemnade    items:
35*421aadd1SAndreas Kemnade      - description: VBUS Voltage Channel
36*421aadd1SAndreas Kemnade
37*421aadd1SAndreas Kemnade  io-channel-names:
38*421aadd1SAndreas Kemnade    items:
39*421aadd1SAndreas Kemnade      - const: vusb
40*421aadd1SAndreas Kemnade
41*421aadd1SAndreas Kemnade  monitored-battery: true
42*421aadd1SAndreas Kemnade
43*421aadd1SAndreas Kemnaderequired:
44*421aadd1SAndreas Kemnade  - compatible
45*421aadd1SAndreas Kemnade  - interrupts
46*421aadd1SAndreas Kemnade  - monitored-battery
47*421aadd1SAndreas Kemnade
48*421aadd1SAndreas KemnadeadditionalProperties: false
49