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/rt9455_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 Binding for Richtek rt9455 battery charger
    2 
    3 Required properties:
    4 - compatible:                           it should contain one of the following:
    5                                         "richtek,rt9455".
    6 - reg:                                  integer, i2c address of the device.
    7 - interrupts:                           interrupt mapping for GPIO IRQ, it should be
    8                                         configured with IRQ_TYPE_LEVEL_LOW flag.
    9 - richtek,output-charge-current:        integer, output current from the charger to the
   10                                         battery, in uA.
   11 - richtek,end-of-charge-percentage:     integer, percent of the output charge current.
   12                                         When the current in constant-voltage phase drops
   13                                         below output_charge_current x end-of-charge-percentage,
   14                                         charge is terminated.
   15 - richtek,battery-regulation-voltage:   integer, maximum battery voltage in uV.
   16 - richtek,boost-output-voltage:         integer, maximum voltage provided to consumer
   17                                         devices, when the charger is in boost mode, in uV.
   18 
   19 Optional properties:
   20 - richtek,min-input-voltage-regulation: integer, input voltage level in uV, used to
   21                                         decrease voltage level when the over current
   22                                         of the input power source occurs.
   23                                         This prevents input voltage drop due to insufficient
   24                                         current provided by the power source.
   25                                         Default: 4500000 uV (4.5V)
   26 - richtek,avg-input-current-regulation: integer, input current value in uA drained by the
   27                                         charger from the power source.
   28                                         Default: 500000 uA (500mA)
   29 
   30 Example:
   31 
   32 rt9455@22 {
   33         compatible = "richtek,rt9455";
   34         reg = <0x22>;
   35 
   36         interrupt-parent = <&gpio1>;
   37         interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
   38 
   39         richtek,output-charge-current       = <500000>;
   40         richtek,end-of-charge-percentage    = <10>;
   41         richtek,battery-regulation-voltage  = <4200000>;
   42         richtek,boost-output-voltage        = <5050000>;
   43 
   44         richtek,min-input-voltage-regulation = <4500000>;
   45         richtek,avg-input-current-regulation = <500000>;
   46 };

Cache object: 7205a164d7f7ed77368a6f5f4de37b47


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