summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorƁukasz Majewski <l.majewski@samsung.com>2012-11-13 03:22:05 +0000
committerAnatolij Gustschin <agust@denx.de>2012-11-14 11:21:10 +0100
commita52a7b14775bf54b3c6e279146e4f58c010b6823 (patch)
tree6d235ccf4d010b37363b60d19e8742bf7feef940 /include
parentbf995a9a28c7a987be0b3df9d4f84da63c9bfb1c (diff)
downloadu-boot-imx-a52a7b14775bf54b3c6e279146e4f58c010b6823.zip
u-boot-imx-a52a7b14775bf54b3c6e279146e4f58c010b6823.tar.gz
u-boot-imx-a52a7b14775bf54b3c6e279146e4f58c010b6823.tar.bz2
arm:trats:pmic: Default PMIC(MAX8997) initialization for Samsung's TRATS board
Default PMIC (MAX8997) initialization for Samsung's TRATS development board. 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 'include')
-rw-r--r--include/power/max8997_pmic.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/power/max8997_pmic.h b/include/power/max8997_pmic.h
index 03cac04..5d2d94d 100644
--- a/include/power/max8997_pmic.h
+++ b/include/power/max8997_pmic.h
@@ -176,6 +176,15 @@ enum {
#define ENSAFEOUT1 (1 << 6)
#define ENSAFEOUT2 (1 << 7)
+#define ENBUCK (1 << 0)
+#define ACTIVE_DISCHARGE (1 << 3)
+#define GNSLCT (1 << 2)
+#define LDO_ADE (1 << 1)
+#define SAFEOUT_4_85V 0x00
+#define SAFEOUT_4_90V 0x01
+#define SAFEOUT_4_95V 0x02
+#define SAFEOUT_3_30V 0x03
+
/* Charger */
enum {CHARGER_ENABLE, CHARGER_DISABLE};
#define DETBAT (1 << 2)