brintos

brintos / linux-shallow public Read only

0
0
Text · 915 B · d26ed5e Raw
45 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/power/supply/lltc,lt3651-charger.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Analog Devices LT3651 Charger Power Supply8 9maintainers:10  - Sebastian Reichel <sre@kernel.org>11 12allOf:13  - $ref: power-supply.yaml#14 15properties:16  compatible:17    enum:18      - lltc,lt3651-charger19      - lltc,ltc3651-charger  # deprecated, use lltc,lt3651-charger20 21  lltc,acpr-gpios:22    maxItems: 123 24  lltc,fault-gpios:25    maxItems: 126 27  lltc,chrg-gpios:28    maxItems: 129 30required:31  - compatible32  - lltc,acpr-gpios33 34additionalProperties: false35 36examples:37  - |38    #include <dt-bindings/gpio/gpio.h>39    charger {40      compatible = "lltc,lt3651-charger";41      lltc,acpr-gpios = <&gpio0 68 GPIO_ACTIVE_LOW>;42      lltc,fault-gpios = <&gpio0 64 GPIO_ACTIVE_LOW>;43      lltc,chrg-gpios = <&gpio0 63 GPIO_ACTIVE_LOW>;44    };45