summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/dbx5x0.dtsi
diff options
context:
space:
mode:
authorRajanikanth H.V <rajanikanth.hv@stericsson.com>2012-11-18 18:45:41 -0800
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-11-18 19:37:04 -0800
commite0f1abeba5c2d8a2183566717d99294fd1a29c2e (patch)
treebf4b3582791d3e4baa298f4268cf2bbad8169b74 /arch/arm/boot/dts/dbx5x0.dtsi
parente9f14c18b83ccf3ab291b83a1d6c640113ecf545 (diff)
downloadblackbird-op-linux-e0f1abeba5c2d8a2183566717d99294fd1a29c2e.tar.gz
blackbird-op-linux-e0f1abeba5c2d8a2183566717d99294fd1a29c2e.zip
ab8500: Add devicetree support for fuelgauge
- This patch adds device tree support for fuelgauge driver - optimize bm devices platform_data usage and of_probe(...) Note: of_probe() routine for battery managed devices is made common across all bm drivers. - test status: - interrupt numbers assigned differs between legacy and FDT mode. Signed-off-by: Rajanikanth H.V <rajanikanth.hv@stericsson.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/dbx5x0.dtsi')
-rw-r--r--arch/arm/boot/dts/dbx5x0.dtsi12
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/dbx5x0.dtsi b/arch/arm/boot/dts/dbx5x0.dtsi
index 4b0e0ca08f40..0c81986904c5 100644
--- a/arch/arm/boot/dts/dbx5x0.dtsi
+++ b/arch/arm/boot/dts/dbx5x0.dtsi
@@ -352,7 +352,17 @@
vddadc-supply = <&ab8500_ldo_tvout_reg>;
};
- ab8500-usb {
+ ab8500_battery: ab8500_battery {
+ stericsson,battery-type = "LIPO";
+ thermistor-on-batctrl;
+ };
+
+ ab8500_fg {
+ compatible = "stericsson,ab8500-fg";
+ battery = <&ab8500_battery>;
+ };
+
+ ab8500_usb {
compatible = "stericsson,ab8500-usb";
interrupts = < 90 0x4
96 0x4
OpenPOWER on IntegriCloud