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/act8945a-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 Device-Tree bindings for charger of Active-semi ACT8945A Multi-Function Device
    2 
    3 Required properties:
    4  - compatible: "active-semi,act8945a-charger".
    5  - active-semi,chglev-gpios: charge current level phandle with args
    6    as described in ../gpio/gpio.txt.
    7  - active-semi,lbo-gpios: specify the low battery voltage detect phandle
    8    with args as as described in ../gpio/gpio.txt.
    9  - interrupts: <a b> where a is the interrupt number and b is a
   10    field that represents an encoding of the sense and level
   11    information for the interrupt.
   12 
   13 Optional properties:
   14  - active-semi,input-voltage-threshold-microvolt: unit: mV;
   15    Specifies the charger's input over-voltage threshold value;
   16    The value can be: 6600, 7000, 7500, 8000; default: 6600
   17  - active-semi,precondition-timeout: unit: minutes;
   18    Specifies the charger's PRECONDITION safety timer setting value;
   19    The value can be: 40, 60, 80, 0; If 0, it means to disable this timer;
   20    default: 40.
   21  - active-semi,total-timeout: unit: hours;
   22    Specifies the charger's total safety timer setting value;
   23    The value can be: 3, 4, 5, 0; If 0, it means to disable this timer;
   24    default: 3.
   25 
   26 Example:
   27         pmic@5b {
   28                 compatible = "active-semi,act8945a";
   29                 reg = <0x5b>;
   30 
   31                 charger {
   32                         compatible = "active-semi,act8945a-charger";
   33                         pinctrl-names = "default";
   34                         pinctrl-0 = <&pinctrl_charger_chglev &pinctrl_charger_lbo &pinctrl_charger_irq>;
   35                         interrupt-parent = <&pioA>;
   36                         interrupts = <45 IRQ_TYPE_LEVEL_LOW>;
   37 
   38                         active-semi,chglev-gpios = <&pioA 12 GPIO_ACTIVE_HIGH>;
   39                         active-semi,lbo-gpios = <&pioA 72 GPIO_ACTIVE_LOW>;
   40                         active-semi,input-voltage-threshold-microvolt = <6600>;
   41                         active-semi,precondition-timeout = <40>;
   42                         active-semi,total-timeout = <3>;
   43                 };
   44         };

Cache object: 147ed56bd6a2dd8a59f184d4fb1ef9b7


[ 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.