diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2015-07-21 22:48:41 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-07-26 10:12:04 (GMT) |
commit | 44f98f9c8e178942ad51b77b6d2a66820fa9d3cc (patch) | |
tree | 3b438659a92ca76c39cf2e17cacb6cfcfea3aa31 /include/configs | |
parent | a643acd44c342afbbe14eb073f86a6d0a355c121 (diff) | |
download | u-boot-44f98f9c8e178942ad51b77b6d2a66820fa9d3cc.tar.xz |
warp: Add MAX77696 support
Warp has a MAX77696 PMIC connected via I2C1 bus.
Add support for it.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/warp.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/warp.h b/include/configs/warp.h index 2331767..d5c3215 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" \ |