Debian Codegraph @

Documentation/devicetree/bindings/power/supply/ti,twl6030-charger.yaml

raw
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
7 title: TWL6030/32 BCI (Battery Charger Interface)
8
9 description:
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
14 maintainers:
15 - Andreas Kemnade <[email protected]>
16
17 allOf:
18 - $ref: power-supply.yaml#
19
20 properties:
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
43 required:
44 - compatible
45 - interrupts
46 - monitored-battery
47
48 additionalProperties: false