197f03280SSebastian Reichel# SPDX-License-Identifier: GPL-2.0 297f03280SSebastian Reichel%YAML 1.2 397f03280SSebastian Reichel--- 41ea78ec5SKrzysztof Kozlowski$id: http://devicetree.org/schemas/power/supply/lltc,lt3651-charger.yaml# 51ea78ec5SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml# 697f03280SSebastian Reichel 7*84e85359SKrzysztof Kozlowskititle: Analog Devices LT3651 Charger Power Supply 897f03280SSebastian Reichel 997f03280SSebastian Reichelmaintainers: 1097f03280SSebastian Reichel - Sebastian Reichel <sre@kernel.org> 1197f03280SSebastian Reichel 1297f03280SSebastian ReichelallOf: 1397f03280SSebastian Reichel - $ref: power-supply.yaml# 1497f03280SSebastian Reichel 1597f03280SSebastian Reichelproperties: 1697f03280SSebastian Reichel compatible: 1797f03280SSebastian Reichel enum: 1897f03280SSebastian Reichel - lltc,lt3651-charger 1997f03280SSebastian Reichel - lltc,ltc3651-charger # deprecated, use lltc,lt3651-charger 2097f03280SSebastian Reichel 2197f03280SSebastian Reichel lltc,acpr-gpios: 2297f03280SSebastian Reichel maxItems: 1 2397f03280SSebastian Reichel 2497f03280SSebastian Reichel lltc,fault-gpios: 2597f03280SSebastian Reichel maxItems: 1 2697f03280SSebastian Reichel 2797f03280SSebastian Reichel lltc,chrg-gpios: 2897f03280SSebastian Reichel maxItems: 1 2997f03280SSebastian Reichel 3097f03280SSebastian Reichelrequired: 3197f03280SSebastian Reichel - compatible 3297f03280SSebastian Reichel - lltc,acpr-gpios 3397f03280SSebastian Reichel 3497f03280SSebastian ReicheladditionalProperties: false 3597f03280SSebastian Reichel 3697f03280SSebastian Reichelexamples: 3797f03280SSebastian Reichel - | 3897f03280SSebastian Reichel #include <dt-bindings/gpio/gpio.h> 3997f03280SSebastian Reichel charger { 4097f03280SSebastian Reichel compatible = "lltc,lt3651-charger"; 4197f03280SSebastian Reichel lltc,acpr-gpios = <&gpio0 68 GPIO_ACTIVE_LOW>; 4297f03280SSebastian Reichel lltc,fault-gpios = <&gpio0 64 GPIO_ACTIVE_LOW>; 4397f03280SSebastian Reichel lltc,chrg-gpios = <&gpio0 63 GPIO_ACTIVE_LOW>; 4497f03280SSebastian Reichel }; 45