summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2012-10-23 06:36:18 +0000
committerStefano Babic <sbabic@denx.de>2012-10-26 16:28:07 +0200
commit787f4f30823a15b1e45c0a0b901cfa5bd415e251 (patch)
tree074ace044dcbba5ed710eb0a0d1cada04e4b9f9a /drivers
parente100a3d52ebfb4604cca04710a31dfbc91225e96 (diff)
downloadu-boot-imx-787f4f30823a15b1e45c0a0b901cfa5bd415e251.zip
u-boot-imx-787f4f30823a15b1e45c0a0b901cfa5bd415e251.tar.gz
u-boot-imx-787f4f30823a15b1e45c0a0b901cfa5bd415e251.tar.bz2
pmic: Add support for mc34704
Add the register layout for the MC34704 PMIC from Freescale. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/misc/pmic_fsl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/pmic_fsl.c b/drivers/misc/pmic_fsl.c
index 9d80b55..c8d4c8d 100644
--- a/drivers/misc/pmic_fsl.c
+++ b/drivers/misc/pmic_fsl.c
@@ -28,6 +28,8 @@
#if defined(CONFIG_PMIC_FSL_MC13892)
#define FSL_PMIC_I2C_LENGTH 3
+#elif defined(CONFIG_PMIC_FSL_MC34704)
+#define FSL_PMIC_I2C_LENGTH 1
#endif
#if defined(CONFIG_PMIC_SPI)