From 877a438a1af9a25b797676944d75786cd97cc460 Mon Sep 17 00:00:00 2001 From: Stefano Babic Date: Sat, 8 Oct 2011 11:04:22 +0200 Subject: [PATCH] MX31: mx31pdk: use new pmic driver Switch to new pmic generic driver. Signed-off-by: Stefano Babic CC: Fabio Estevam --- include/configs/mx31pdk.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/configs/mx31pdk.h b/include/configs/mx31pdk.h index 8c5730a..b72f30b 100644 --- a/include/configs/mx31pdk.h +++ b/include/configs/mx31pdk.h @@ -70,11 +70,15 @@ #define CONFIG_DEFAULT_SPI_BUS 1 #define CONFIG_DEFAULT_SPI_MODE (SPI_MODE_0 | SPI_CS_HIGH) -#define CONFIG_FSL_PMIC +/* PMIC Controller */ +#define CONFIG_PMIC +#define CONFIG_PMIC_SPI +#define CONFIG_PMIC_FSL #define CONFIG_FSL_PMIC_BUS 1 #define CONFIG_FSL_PMIC_CS 2 #define CONFIG_FSL_PMIC_CLK 1000000 #define CONFIG_FSL_PMIC_MODE (SPI_MODE_0 | SPI_CS_HIGH) +#define CONFIG_FSL_PMIC_BITLEN 32 #define CONFIG_RTC_MC13783 /* allow to overwrite serial and ethaddr */