AB8500 Charging Algorithm
Schema identifier ($id): "http://devicetree.org/schemas/power/supply/stericsson,ab8500-chargalg.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sebastian Reichel <sre@kernel.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):power-supply.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "stericsson,ab8500-chargalg"
monitored-battery — required here #
true — No constraints added by this property rule.
battery — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Deprecated (deprecated): true
Required in this object (required): "compatible", "monitored-battery"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
pmic {
charging-algorithm {
compatible = "stericsson,ab8500-chargalg";
monitored-battery = <&ab8500_battery>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Line 2: Copyright (C) 2021 Sebastian Reichel