Debian Codegraph @

Documentation/devicetree/bindings/power/supply/sc27xx-fg.yaml

raw
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/power/supply/sc27xx-fg.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Spreadtrum SC27XX PMICs Fuel Gauge Unit Power Supply
8
9 maintainers:
10 - Sebastian Reichel <[email protected]>
11
12 allOf:
13 - $ref: power-supply.yaml#
14
15 properties:
16 compatible:
17 enum:
18 - sprd,sc2720-fgu
19 - sprd,sc2721-fgu
20 - sprd,sc2723-fgu
21 - sprd,sc2730-fgu
22 - sprd,sc2731-fgu
23
24 reg:
25 maxItems: 1
26
27 battery-detect-gpios:
28 maxItems: 1
29
30 bat-detect-gpio:
31 maxItems: 1
32 deprecated: true
33 description: use battery-detect-gpios instead
34
35 interrupts:
36 maxItems: 1
37
38 io-channels:
39 items:
40 - description: Battery Temperature ADC
41 - description: Battery Charge Voltage ADC
42
43 io-channel-names:
44 items:
45 - const: bat-temp
46 - const: charge-vol
47
48 nvmem-cells:
49 maxItems: 1
50 description: Calibration cells provided by eFuse device
51
52 nvmem-cell-names:
53 const: fgu_calib
54
55 sprd,calib-resistance-micro-ohms:
56 description: real resistance of coulomb counter chip in micro Ohms
57
58 monitored-battery: true
59
60 required:
61 - compatible
62 - reg
63 - battery-detect-gpios
64 - interrupts
65 - io-channels
66 - io-channel-names
67 - nvmem-cells
68 - nvmem-cell-names
69 - sprd,calib-resistance-micro-ohms
70 - monitored-battery
71
72 additionalProperties: false
73 ...