AXP20x AC power-supply

Schema identifier ($id): "http://devicetree.org/schemas/power/supply/x-powers,axp20x-ac-power-supply.yaml#"

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

The AXP20X can read the current current and voltage supplied by AC by reading ADC channels from the AXP20X ADC. The AXP22X is only able to tell if an AC power supply is present and usable. AXP813/AXP803 are able to limit current and supply voltage

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "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 #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "x-powers,axp202-ac-power-supply"

Rule 2

Exact value (const): "x-powers,axp221-ac-power-supply"

Rule 3

Array item rules (items)

Item 1

Exact value (const): "x-powers,axp803-ac-power-supply"

Item 2

Exact value (const): "x-powers,axp813-ac-power-supply"

Rule 4

Exact value (const): "x-powers,axp813-ac-power-supply"

Required in this object (required): "compatible"

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

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Edit this page