diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-10-23 06:34:50 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2012-10-26 16:28:07 +0200 |
commit | 4cfc6c4fa7611e79e6434e97db56b6072ad4d05c (patch) | |
tree | 565b8a51b36f1d4f811c47a7383bea249fc7c3b0 /include/configs/mx53loco.h | |
parent | af2a4093cb141f9c5ea433c41ab06a528a7792a6 (diff) |
pmic_fsl: Introduce FSL_PMIC_I2C_LENGTH
Introduce FSL_PMIC_I2C_LENGTH to configure the number of bytes that are used to
communicate with the PMIC via I2C.
Instead of hardcoding the value, pass the number via a configurable option per
PMIC type.
This will be useful for adding support for PMIC MC34704 from Freescale, which
uses only one byte in its I2C protocol.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'include/configs/mx53loco.h')
-rw-r--r-- | include/configs/mx53loco.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h index 0658dd3003..9e8f5ce3c8 100644 --- a/include/configs/mx53loco.h +++ b/include/configs/mx53loco.h @@ -93,6 +93,7 @@ #define CONFIG_PMIC_I2C #define CONFIG_DIALOG_PMIC #define CONFIG_PMIC_FSL +#define CONFIG_PMIC_FSL_MC13892 #define CONFIG_SYS_DIALOG_PMIC_I2C_ADDR 0x48 #define CONFIG_SYS_FSL_PMIC_I2C_ADDR 0x8 |