WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / power / supply / rx51-battery.txt
blob90438453db58d8692657c0817bcf7854dbf51bba
1 Binding for Nokia N900 battery
3 The Nokia N900 battery status can be read via the TWL4030's A/D converter.
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
15 Example from Nokia N900:
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";