From f432dfdaeb80ecb2a78805422baef64493f63060 Mon Sep 17 00:00:00 2001 From: Anson Huang Date: Tue, 1 Sep 2015 01:16:28 +0800 Subject: MLK-11461 imx: imx6ul: enable LDO bypass for 9x9 EVK board i.MX6UL-9x9-EVK board has PFUZE3000, so enable LDO bypass support for this board. Signed-off-by: Anson Huang --- include/configs/mx6ul_14x14_evk.h | 4 +++- include/power/pfuze300_pmic.h | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/configs/mx6ul_14x14_evk.h b/include/configs/mx6ul_14x14_evk.h index ba2130b..cc1df2e 100644 --- a/include/configs/mx6ul_14x14_evk.h +++ b/include/configs/mx6ul_14x14_evk.h @@ -20,8 +20,10 @@ #define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO -/* DCDC used on EVK, no PMIC */ +#if !defined(CONFIG_MX6UL_9X9_LPDDR2) +/* DCDC used on 14x14 EVK, no PMIC */ #undef CONFIG_LDO_BYPASS_CHECK +#endif /* uncomment for PLUGIN mode support */ /* #define CONFIG_USE_PLUGIN */ diff --git a/include/power/pfuze300_pmic.h b/include/power/pfuze300_pmic.h index c7ec5ce..827576e 100644 --- a/include/power/pfuze300_pmic.h +++ b/include/power/pfuze300_pmic.h @@ -73,6 +73,8 @@ enum { PMIC_NUM_OF_REGS = 0x7F, }; +#define PFUZE300_SW1AB_SETP(x) ((x - 700) / 25) + int power_pfuze300_init(unsigned char bus); #endif -- cgit v1.1