#include <spi.h>
#include <bmp_layout.h>
#include <ramoops.h>
-#include <max89xx.h>
+#include <max8998.h>
#include "animation_frames.h"
#include "gpio_setting.h"
check_keypad();
/* check max8998 */
- max89xx_init(I2C_PMIC);
+ max8998_init(I2C_PMIC);
init_pmic();
#ifdef CONFIG_S5PC1XXFB
#include <asm/arch/clk.h>
#include <ramoops.h>
#include <info_action.h>
-#include <max89xx.h>
+#include <max8998.h>
DECLARE_GLOBAL_DATA_PTR;
#endif
#ifdef CONFIG_CMD_PMIC
- max89xx_init(I2C_5);
+ max8998_init(I2C_5);
run_command("pmic ldo 4 off", 0); /* adc off */
#endif
COBJS-$(CONFIG_PDSP188x) += pdsp188x.o
COBJS-$(CONFIG_CMD_RAMOOPS) += ramoops.o
COBJS-$(CONFIG_CMD_MBR) += mbr.o
-COBJS-$(CONFIG_CMD_PMIC) += max89xx.o
+COBJS-$(CONFIG_CMD_PMIC) += max8998.o
COBJS-$(CONFIG_INFO_ACTION) += info_action.o
COBJS := $(COBJS-y)
unsigned int pmic_bus;
-void max89xx_init(int bus_num)
+void max8998_init(int bus_num)
{
pmic_bus = bus_num;
}
/*
- * Command for max89xx serise pmic
+ * Command for max8998 / lp3974 pmic
*
* Copyright (C) 2011 Samsung Electrnoics
* Minkyu Kang <mk7.kang@samsung.com>
* Kyungmin Park <kyungmin.park@samsung.com>
*/
-void max89xx_init(int bus_num);
+void max8998_init(int bus_num);