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/cpcap-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 Motorola CPCAP PMIC battery charger binding
    2 
    3 Required properties:
    4 - compatible: Shall be "motorola,mapphone-cpcap-charger"
    5 - interrupts: Interrupt specifier for each name in interrupt-names
    6 - interrupt-names: Should contain the following entries:
    7                    "chrg_det", "rvrs_chrg", "chrg_se1b", "se0conn",
    8                    "rvrs_mode", "chrgcurr2", "chrgcurr1", "vbusvld",
    9                    "battdetb"
   10 - io-channels: IIO ADC channel specifier for each name in io-channel-names
   11 - io-channel-names: Should contain the following entries:
   12                     "battdetb", "battp", "vbus", "chg_isense", "batti"
   13 
   14 Optional properties:
   15 - mode-gpios: Optionally CPCAP charger can have a companion wireless
   16               charge controller that is controlled with two GPIOs
   17               that are active low.
   18 
   19 Example:
   20 
   21 cpcap_charger: charger {
   22         compatible = "motorola,mapphone-cpcap-charger";
   23         interrupts-extended = <
   24                 &cpcap 13 0 &cpcap 12 0 &cpcap 29 0 &cpcap 28 0
   25                 &cpcap 22 0 &cpcap 21 0 &cpcap 20 0 &cpcap 19 0
   26                 &cpcap 54 0
   27         >;
   28         interrupt-names =
   29                 "chrg_det", "rvrs_chrg", "chrg_se1b", "se0conn",
   30                 "rvrs_mode", "chrgcurr2", "chrgcurr1", "vbusvld",
   31                 "battdetb";
   32         mode-gpios = <&gpio3 29 GPIO_ACTIVE_LOW
   33                       &gpio3 23 GPIO_ACTIVE_LOW>;
   34         io-channels = <&cpcap_adc 0 &cpcap_adc 1
   35                        &cpcap_adc 2 &cpcap_adc 5
   36                        &cpcap_adc 6>;
   37         io-channel-names = "battdetb", "battp",
   38                            "vbus", "chg_isense",
   39                            "batti";
   40 };

Cache object: b5c4e997fcf3c48eea11fed100ed00a7


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