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/bq24257.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 Binding for TI bq24250/bq24251/bq24257 Li-Ion Charger
    2 
    3 Required properties:
    4 - compatible: Should contain one of the following:
    5  * "ti,bq24250"
    6  * "ti,bq24251"
    7  * "ti,bq24257"
    8 - reg: integer, i2c address of the device.
    9 - interrupts: Interrupt mapping for GPIO IRQ (configure for both edges). Use in
   10     conjunction with "interrupt-parent".
   11 - ti,battery-regulation-voltage: integer, maximum charging voltage in uV.
   12 - ti,charge-current: integer, maximum charging current in uA.
   13 - ti,termination-current: integer, charge will be terminated when current in
   14     constant-voltage phase drops below this value (in uA).
   15 
   16 Optional properties:
   17 - pg-gpios: GPIO used for connecting the bq2425x device PG (Power Good) pin.
   18     This pin is not available on all devices however it should be used if
   19     possible as this is the recommended way to obtain the charger's input PG
   20     state. If this pin is not specified a software-based approach for PG
   21     detection is used.
   22 - ti,current-limit: The maximum current to be drawn from the charger's input
   23     (in uA). If this property is not specified, the input limit current is
   24     set automatically using USB D+/D- signal based charger type detection.
   25     If the hardware does not support the D+/D- based detection, a default
   26     of 500,000 is used (=500mA) instead.
   27 - ti,ovp-voltage: Configures the over voltage protection voltage (in uV). If
   28     not specified a default of 6,5000,000 (=6.5V) is used.
   29 - ti,in-dpm-voltage: Configures the threshold input voltage for the dynamic
   30     power path management (in uV). If not specified a default of 4,360,000
   31     (=4.36V) is used.
   32 
   33 Example:
   34 
   35 bq24257 {
   36         compatible = "ti,bq24257";
   37         reg = <0x6a>;
   38         interrupt-parent = <&gpio1>;
   39         interrupts = <16 IRQ_TYPE_EDGE_BOTH>;
   40 
   41         pg-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
   42 
   43         ti,battery-regulation-voltage = <4200000>;
   44         ti,charge-current = <1000000>;
   45         ti,termination-current = <50000>;
   46 };
   47 
   48 Example:
   49 
   50 bq24250 {
   51         compatible = "ti,bq24250";
   52         reg = <0x6a>;
   53         interrupt-parent = <&gpio1>;
   54         interrupts = <16 IRQ_TYPE_EDGE_BOTH>;
   55 
   56         ti,battery-regulation-voltage = <4200000>;
   57         ti,charge-current = <500000>;
   58         ti,termination-current = <50000>;
   59         ti,current-limit = <900000>;
   60         ti,ovp-voltage = <9500000>;
   61         ti,in-dpm-voltage = <4440000>;
   62 };

Cache object: 337170b2392f7bc718ec380c62f47edd


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