Power Supply Core Support

Schema identifier ($id): "http://devicetree.org/schemas/power/supply/power-supply.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sebastian Reichel <sre@kernel.org>"

Properties and child nodes (properties) #

power-supplies — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Array item rules (items) #

Maximum number of items (maxItems): 1

This property is added to a supply in order to list the devices which supply it power, referenced by their phandles.

monitored-battery — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

The battery (with "simple-battery" compatible) being monitored by this power supply.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page