cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

lltc,lt3651-charger.yaml (928B)


      1# SPDX-License-Identifier: GPL-2.0
      2%YAML 1.2
      3---
      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 Supply bindings
      8
      9maintainers:
     10  - Sebastian Reichel <sre@kernel.org>
     11
     12allOf:
     13  - $ref: power-supply.yaml#
     14
     15properties:
     16  compatible:
     17    enum:
     18      - lltc,lt3651-charger
     19      - lltc,ltc3651-charger  # deprecated, use lltc,lt3651-charger
     20
     21  lltc,acpr-gpios:
     22    maxItems: 1
     23
     24  lltc,fault-gpios:
     25    maxItems: 1
     26
     27  lltc,chrg-gpios:
     28    maxItems: 1
     29
     30required:
     31  - compatible
     32  - lltc,acpr-gpios
     33
     34additionalProperties: false
     35
     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    };