From: Stefano Babic Date: Sat, 8 Oct 2011 09:04:22 +0000 (+0200) Subject: MX31: mx31pdk: use new pmic driver X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=877a438a1af9a25b797676944d75786cd97cc460;p=project%2Fbcm63xx%2Fu-boot.git MX31: mx31pdk: use new pmic driver Switch to new pmic generic driver. Signed-off-by: Stefano Babic CC: Fabio Estevam --- diff --git a/include/configs/mx31pdk.h b/include/configs/mx31pdk.h index 8c5730ac21..b72f30b634 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 */