summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/power/supply/olpc-battery.yaml
blob: dd89e2532a0774b4f73323115d81cc52ea6ef21d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/power/supply/olpc-battery.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: OLPC Battery

maintainers:
  - Sebastian Reichel <sre@kernel.org>

allOf:
  - $ref: power-supply.yaml#

properties:
  compatible:
    oneOf:
      - items:
          - const: olpc,xo1.5-battery
          - const: olpc,xo1-battery
      - items:
          - const: olpc,xo1-battery

required:
  - compatible

additionalProperties: false