xref: /linux/Documentation/devicetree/bindings/power/supply/ti,twl6030-charger.yaml (revision 448ecd5771e255629bef0fb16c9b78c4bbd7bd56)
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/ti,twl6030-charger.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: TWL6030/32 BCI (Battery Charger Interface)
8
9description:
10  The battery charger needs to be configured to do any charging besides of
11  precharging. The GPADC in the PMIC has to be used to get the related
12  voltages.
13
14maintainers:
15  - Andreas Kemnade <andreas@kemnade.info>
16
17allOf:
18  - $ref: power-supply.yaml#
19
20properties:
21  compatible:
22    oneOf:
23      - const: ti,twl6030-charger
24      - items:
25          - const: ti,twl6032-charger
26          - const: ti,twl6030-charger
27
28  interrupts:
29    items:
30      - description: Charger Control Interrupt
31      - description: Charger Fault Interrupt
32
33  io-channels:
34    items:
35      - description: VBUS Voltage Channel
36
37  io-channel-names:
38    items:
39      - const: vusb
40
41  monitored-battery: true
42
43required:
44  - compatible
45  - interrupts
46  - monitored-battery
47
48additionalProperties: false
49