TWL6030/32 BCI (Battery Charger Interface)

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

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

The battery charger needs to be configured to do any charging besides of precharging. The GPADC in the PMIC has to be used to get the related voltages.

Maintainers (maintainers): "Andreas Kemnade <andreas@kemnade.info>"

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): "ti,twl6030-charger"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "ti,twl6032-charger"

Item 2

Exact value (const): "ti,twl6030-charger"

interrupts — required here #

Array item rules (items) #

Item 1

Charger Control Interrupt

Item 2

Charger Fault Interrupt

io-channels — not listed as required here #

Array item rules (items) #

Item 1

VBUS Voltage Channel

io-channel-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "vusb"

monitored-battery — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "interrupts", "monitored-battery"

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-only OR BSD-2-Clause

Edit this page