Skip to content

Commit 421aadd

Browse files
akemnadesre
authored andcommitted
dt-bindings: power: supply: Add TI TWL603X charger
Use a fallback compatible since for especially for generic defensive setup of parameters, both 6030 and 6032 are the same and U-Boot actually uses a generic 6030/32 function to enable the charger. Signed-off-by: Andreas Kemnade <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sebastian Reichel <[email protected]>
1 parent 2422745 commit 421aadd

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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

0 commit comments

Comments
 (0)