The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/power/supply/lt3651-charger.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 Analog Devices LT3651 Charger Power Supply bindings: lt3651-charger
    2 
    3 Required properties:
    4 - compatible: Should contain one of the following:
    5  * "lltc,ltc3651-charger", (DEPRECATED: Use "lltc,lt3651-charger")
    6  * "lltc,lt3651-charger"
    7  - lltc,acpr-gpios: Connect to ACPR output. See remark below.
    8 
    9 Optional properties:
   10  - lltc,fault-gpios: Connect to FAULT output. See remark below.
   11  - lltc,chrg-gpios: Connect to CHRG output. See remark below.
   12 
   13 The lt3651 outputs are open-drain type and active low. The driver assumes the
   14 GPIO reports "active" when the output is asserted, so if the pins have been
   15 connected directly, the GPIO flags should be set to active low also.
   16 
   17 The driver will attempt to aquire interrupts for all GPIOs to detect changes in
   18 line state. If the system is not capabale of providing interrupts, the driver
   19 cannot report changes and userspace will need to periodically read the sysfs
   20 attributes to detect changes.
   21 
   22 Example:
   23 
   24         charger: battery-charger {
   25                 compatible = "lltc,lt3651-charger";
   26                 lltc,acpr-gpios = <&gpio0 68 GPIO_ACTIVE_LOW>;
   27                 lltc,fault-gpios = <&gpio0 64 GPIO_ACTIVE_LOW>;
   28                 lltc,chrg-gpios = <&gpio0 63 GPIO_ACTIVE_LOW>;
   29         };

Cache object: 54a964a7ad761238a7cde84a63591fe4


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.