File Index
Files and directories
Sign in
FILE

stericsson,ab8500-chargalg.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/power/supply/stericsson,ab8500-chargalg.yaml YAML
 1# SPDX-License-Identifier: GPL-2.0
 2# Copyright (C) 2021 Sebastian Reichel
 3%YAML 1.2
 4---
 5$id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-chargalg.yaml#
 6$schema: http://devicetree.org/meta-schemas/core.yaml#
 7
 8title: AB8500 Charging Algorithm
 9
10maintainers:
11  - Sebastian Reichel <sre@kernel.org>
12
13allOf:
14  - $ref: power-supply.yaml#
15
16properties:
17  compatible:
18    const: stericsson,ab8500-chargalg
19
20  monitored-battery: true
21
22  battery:
23    $ref: /schemas/types.yaml#/definitions/phandle
24    deprecated: true
25
26required:
27  - compatible
28  - monitored-battery
29
30additionalProperties: false
31
32examples:
33  - |
34    pmic {
35      charging-algorithm {
36        compatible = "stericsson,ab8500-chargalg";
37        monitored-battery = <&ab8500_battery>;
38      };
39    };
~/ Read-only file preview.