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/rx51-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 Binding for Nokia N900 battery
    2 
    3 The Nokia N900 battery status can be read via the TWL4030's A/D converter.
    4 
    5 Required properties:
    6 - compatible: Should contain one of the following:
    7  * "nokia,n900-battery"
    8 - io-channels: Should contain IIO channel specifiers
    9                for each element in io-channel-names.
   10 - io-channel-names: Should contain the following values:
   11  * "temp" - The ADC channel for temperature reading
   12  * "bsi"  - The ADC channel for battery size identification
   13  * "vbat" - The ADC channel to measure the battery voltage
   14 
   15 Example from Nokia N900:
   16 
   17 battery: n900-battery {
   18         compatible = "nokia,n900-battery";
   19         io-channels = <&twl4030_madc 0>,
   20                       <&twl4030_madc 4>,
   21                       <&twl4030_madc 12>;
   22         io-channel-names = "temp",
   23                            "bsi",
   24                            "vbat";
   25 };

Cache object: e8617d977cf5a99dfbe9a598d06dd9bd


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