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/sc2731_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 Spreadtrum SC2731 PMIC battery charger binding
    2 
    3 Required properties:
    4  - compatible: Should be "sprd,sc2731-charger".
    5  - reg: Address offset of charger register.
    6  - phys: Contains a phandle to the USB phy.
    7 
    8 Optional Properties:
    9 - monitored-battery: phandle of battery characteristics devicetree node.
   10   The charger uses the following battery properties:
   11 - charge-term-current-microamp: current for charge termination phase.
   12 - constant-charge-voltage-max-microvolt: maximum constant input voltage.
   13   See Documentation/devicetree/bindings/power/supply/battery.txt
   14 
   15 Example:
   16 
   17         bat: battery {
   18                 compatible = "simple-battery";
   19                 charge-term-current-microamp = <120000>;
   20                 constant-charge-voltage-max-microvolt = <4350000>;
   21                 ......
   22         };
   23 
   24         sc2731_pmic: pmic@0 {
   25                 compatible = "sprd,sc2731";
   26                 reg = <0>;
   27                 spi-max-frequency = <26000000>;
   28                 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
   29                 interrupt-controller;
   30                 #interrupt-cells = <2>;
   31                 #address-cells = <1>;
   32                 #size-cells = <0>;
   33 
   34                 charger@0 {
   35                         compatible = "sprd,sc2731-charger";
   36                         reg = <0x0>;
   37                         phys = <&ssphy>;
   38                         monitored-battery = <&bat>;
   39                 };
   40         };

Cache object: 2aec872c8130a75585e4cca2c00af189


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