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-battery.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 driver binding
    2 
    3 Required properties:
    4 - compatible: Shall be "motorola,cpcap-battery"
    5 - interrupts: Interrupt specifier for each name in interrupt-names
    6 - interrupt-names: Should contain the following entries:
    7                    "lowbph", "lowbpl", "chrgcurr1", "battdetb"
    8 - io-channels: IIO ADC channel specifier for each name in io-channel-names
    9 - io-channel-names: Should contain the following entries:
   10                     "battdetb", "battp", "chg_isense", "batti"
   11 - power-supplies: List of phandles for power-supplying devices, as
   12                   described in power_supply.txt. Typically a reference
   13                   to cpcap_charger.
   14 
   15 Example:
   16 
   17 cpcap_battery: battery {
   18         compatible = "motorola,cpcap-battery";
   19         interrupts-extended = <
   20                 &cpcap 5 0 &cpcap 3 0
   21                 &cpcap 20 0 &cpcap 54 0
   22         >;
   23         interrupt-names =
   24                 "lowbph", "lowbpl",
   25                 "chrgcurr1", "battdetb";
   26         io-channels = <&cpcap_adc 0 &cpcap_adc 1
   27                        &cpcap_adc 5 &cpcap_adc 6>;
   28         io-channel-names = "battdetb", "battp",
   29                            "chg_isense", "batti";
   30         power-supplies = <&cpcap_charger>;
   31 };

Cache object: a2cfdc4dd567725ac8f85e826b4b6405


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