Analog Devices LT3651 Charger Power Supply

Schema identifier ($id): "http://devicetree.org/schemas/power/supply/lltc,lt3651-charger.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 #

Allowed values (enum): "lltc,lt3651-charger", "lltc,ltc3651-charger"

lltc,acpr-gpios — required here #

Maximum number of items (maxItems): 1

lltc,fault-gpios — not listed as required here #

Maximum number of items (maxItems): 1

lltc,chrg-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "lltc,acpr-gpios"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
charger {
  compatible = "lltc,lt3651-charger";
  lltc,acpr-gpios = <&gpio0 68 GPIO_ACTIVE_LOW>;
  lltc,fault-gpios = <&gpio0 64 GPIO_ACTIVE_LOW>;
  lltc,chrg-gpios = <&gpio0 63 GPIO_ACTIVE_LOW>;
};

Source notes #

Annotations retained from the schema source

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

Line 19: deprecated, use lltc,lt3651-charger

Edit this page