From 44f98f9c8e178942ad51b77b6d2a66820fa9d3cc Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Tue, 21 Jul 2015 19:48:41 -0300 Subject: warp: Add MAX77696 support Warp has a MAX77696 PMIC connected via I2C1 bus. Add support for it. Signed-off-by: Fabio Estevam --- include/configs/warp.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include') diff --git a/include/configs/warp.h b/include/configs/warp.h index 2331767b13..d5c3215099 100644 --- a/include/configs/warp.h +++ b/include/configs/warp.h @@ -94,6 +94,17 @@ #define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_16M #define DFU_DEFAULT_POLL_TIMEOUT 300 +/* I2C Configs */ +#define CONFIG_CMD_I2C +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_MXC +#define CONFIG_SYS_I2C_SPEED 100000 + +/* PMIC */ +#define CONFIG_POWER +#define CONFIG_POWER_I2C +#define CONFIG_POWER_MAX77696 + #define CONFIG_EXTRA_ENV_SETTINGS \ "script=boot.scr\0" \ "image=zImage\0" \ -- cgit