diff options
author | Rajanikanth H.V <rajanikanth.hv@stericsson.com> | 2012-11-18 22:16:58 -0500 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-11-18 22:37:14 -0500 |
commit | bd9e8ab2d58d2183aa723bf0eb8e07d4362b4975 (patch) | |
tree | ed60bb0d0582b425cbfea321f80a115a6dc10b36 /Documentation/devicetree | |
parent | e0f1abeba5c2d8a2183566717d99294fd1a29c2e (diff) |
ab8500: Add devicetree support for btemp
This patch adds device tree support for battery-temperature-monitor driver
Signed-off-by: Rajanikanth H.V <rajanikanth.hv@stericsson.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/mfd/ab8500.txt | 6 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/power_supply/ab8500/btemp.txt | 16 |
2 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/ab8500.txt b/Documentation/devicetree/bindings/mfd/ab8500.txt index 6ca8d817ef92..f2ee0e7a5da3 100644 --- a/Documentation/devicetree/bindings/mfd/ab8500.txt +++ b/Documentation/devicetree/bindings/mfd/ab8500.txt | |||
@@ -30,6 +30,12 @@ ab8500-fg : : vddadc : Fuel Gauge | |||
30 | : LOW_BAT_F : : LOW threshold battery voltage | 30 | : LOW_BAT_F : : LOW threshold battery voltage |
31 | : CC_INT_CALIB : : Coulomb Counter Internal Calibration | 31 | : CC_INT_CALIB : : Coulomb Counter Internal Calibration |
32 | : CCEOC : : Coulomb Counter End of Conversion | 32 | : CCEOC : : Coulomb Counter End of Conversion |
33 | ab8500-btemp : : vtvout : Battery Temperature | ||
34 | : BAT_CTRL_INDB : : Battery Removal Indicator | ||
35 | : BTEMP_LOW : : Btemp < BtempLow, if battery temperature is lower than -10°C | ||
36 | : BTEMP_LOW_MEDIUM : : BtempLow < Btemp < BtempMedium,if battery temperature is between -10 and 0°C | ||
37 | : BTEMP_MEDIUM_HIGH : : BtempMedium < Btemp < BtempHigh,if battery temperature is between 0°C and“MaxTemp | ||
38 | : BTEMP_HIGH : : Btemp > BtempHigh, if battery temperature is higher than “MaxTemp | ||
33 | ab8500-gpadc : HW_CONV_END : vddadc : Analogue to Digital Converter | 39 | ab8500-gpadc : HW_CONV_END : vddadc : Analogue to Digital Converter |
34 | SW_CONV_END : : | 40 | SW_CONV_END : : |
35 | ab8500-gpio : : : GPIO Controller | 41 | ab8500-gpio : : : GPIO Controller |
diff --git a/Documentation/devicetree/bindings/power_supply/ab8500/btemp.txt b/Documentation/devicetree/bindings/power_supply/ab8500/btemp.txt new file mode 100644 index 000000000000..0ba1bcc7f33a --- /dev/null +++ b/Documentation/devicetree/bindings/power_supply/ab8500/btemp.txt | |||
@@ -0,0 +1,16 @@ | |||
1 | === AB8500 Battery Temperature Monitor Driver === | ||
2 | |||
3 | The properties below describes the node for btemp driver. | ||
4 | |||
5 | Required Properties: | ||
6 | - compatible = Shall be: "stericsson,ab8500-btemp" | ||
7 | - battery = Shall be battery specific information | ||
8 | |||
9 | Example: | ||
10 | ab8500_btemp { | ||
11 | compatible = "stericsson,ab8500-btemp"; | ||
12 | battery = <&ab8500_battery>; | ||
13 | }; | ||
14 | |||
15 | For information on battery specific node, Ref: | ||
16 | Documentation/devicetree/bindings/power_supply/ab8500/fg.txt | ||