brintos

brintos / linux-shallow public Read only

0
0
Text · 857 B · 10bbdcf Raw
42 lines · yaml
1# SPDX-License-Identifier: GPL-2.02# Copyright (C) 2021 Sebastian Reichel3%YAML 1.24---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 Algorithm9 10maintainers:11  - Sebastian Reichel <sre@kernel.org>12 13allOf:14  - $ref: power-supply.yaml#15 16properties:17  compatible:18    const: stericsson,ab8500-chargalg19 20  monitored-battery:21    $ref: /schemas/types.yaml#/definitions/phandle22    description: phandle to battery node23 24  battery:25    $ref: /schemas/types.yaml#/definitions/phandle26    deprecated: true27 28required:29  - compatible30  - monitored-battery31 32additionalProperties: false33 34examples:35  - |36    pmic {37      charging-algorithm {38        compatible = "stericsson,ab8500-chargalg";39        monitored-battery = <&ab8500_battery>;40      };41    };42