Debian Codegraph @

Documentation/devicetree/bindings/power/supply/google,goldfish-battery.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/google,goldfish-battery.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Android Goldfish Battery
8
9 maintainers:
10 - Kuan-Wei Chiu <[email protected]>
11
12 allOf:
13 - $ref: power-supply.yaml#
14
15 description:
16 Android goldfish battery device generated by Android emulator.
17
18 properties:
19 compatible:
20 const: google,goldfish-battery
21
22 reg:
23 maxItems: 1
24
25 interrupts:
26 maxItems: 1
27
28 required:
29 - compatible
30 - reg
31 - interrupts
32
33 unevaluatedProperties: false
34
35 examples:
36 - |
37 battery@9020000 {
38 compatible = "google,goldfish-battery";
39 reg = <0x9020000 0x1000>;
40 interrupts = <3>;
41 };