summaryrefslogtreecommitdiff
path: root/board/samsung/trats
diff options
context:
space:
mode:
authorƁukasz Majewski <l.majewski@samsung.com>2012-11-13 03:22:08 +0000
committerAnatolij Gustschin <agust@denx.de>2012-11-14 11:21:11 +0100
commit61365ffc2efc52717af1b4c38a71b4a3d8c77149 (patch)
treec36ec00fbac2d063d7bdc6d013c36dd2ad285bc1 /board/samsung/trats
parent5a77358c4b870a58ed68f5fcff32534c47f38b19 (diff)
downloadu-boot-imx-61365ffc2efc52717af1b4c38a71b4a3d8c77149.zip
u-boot-imx-61365ffc2efc52717af1b4c38a71b4a3d8c77149.tar.gz
u-boot-imx-61365ffc2efc52717af1b4c38a71b4a3d8c77149.tar.bz2
arm:trats:pmic: Enable battery support at Samsung's TRATS board
Support for TRATS battery has been added. It is treated as a "normal" power related device and thereof controlled by pmic/power subsystem. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board/samsung/trats')
-rw-r--r--board/samsung/trats/trats.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/samsung/trats/trats.c b/board/samsung/trats/trats.c
index 6c2f199..94bf5c0 100644
--- a/board/samsung/trats/trats.c
+++ b/board/samsung/trats/trats.c
@@ -39,6 +39,7 @@
#include <power/max8997_pmic.h>
#include <libtizen.h>
#include <power/max8997_muic.h>
+#include <power/battery.h>
#include <power/max17042_fg.h>
#include "setup.h"
@@ -245,6 +246,7 @@ int power_init_board(void)
ret |= pmic_init_max8997();
ret |= power_fg_init(I2C_9);
ret |= power_muic_init(I2C_5);
+ ret |= power_bat_init(0);
if (ret)
return ret;