diff options
author | Peng Fan <peng.fan@nxp.com> | 2016-11-28 17:49:50 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-01-27 10:53:14 +0100 |
commit | e389033f72b55f1f30952e419a8505efcdd4c91d (patch) | |
tree | 1cda3402becdd7110d924285ed5e05897be7f61f /include/configs | |
parent | caf2578f65b47b69222c93b51a8c0be2f37d15b0 (diff) | |
download | u-boot-imx-e389033f72b55f1f30952e419a8505efcdd4c91d.zip u-boot-imx-e389033f72b55f1f30952e419a8505efcdd4c91d.tar.gz u-boot-imx-e389033f72b55f1f30952e419a8505efcdd4c91d.tar.bz2 |
imx: mx6sxsabreauto: enable more dm drivers
Enable MMC/I2C/GPIO/PMIC/REGULATOR/PCA953X DM drivers
for mx6sxsabreauto board. Drop non-DM code.
Note:
The i.MX DM drivers has such dependency.
MXC GPIO -> MXC I2C -> PFUZE/REGULATOR
MXC GPIO -> PCA953X
MXC GPIO -> FSL_USDHC
So the drivers needs to be enabled all to avoid
compiling error.
The uboot dm tree log:
=> dm tree
Class Probed Name
----------------------------------------
root [ + ] root_driver
thermal [ ] |-- imx_thermal
simple_bus [ + ] |-- soc
simple_bus [ + ] | |-- aips-bus@02000000
simple_bus [ ] | | |-- spba-bus@02000000
gpio [ + ] | | |-- gpio@0209c000
gpio [ + ] | | |-- gpio@020a0000
gpio [ + ] | | |-- gpio@020a4000
gpio [ + ] | | |-- gpio@020a8000
gpio [ + ] | | |-- gpio@020ac000
gpio [ + ] | | |-- gpio@020b0000
gpio [ + ] | | |-- gpio@020b4000
simple_bus [ ] | | |-- anatop@020c8000
simple_bus [ ] | | |-- snvs@020cc000
pinctrl [ + ] | | `-- iomuxc@020e0000
pinconfig [ + ] | | `-- imx6x-sabreauto
pinconfig [ + ] | | |-- i2c2grp-1
pinconfig [ + ] | | |-- i2c3grp-2
pinconfig [ ] | | |-- uart1grp
pinconfig [ + ] | | |-- usdhc3grp
pinconfig [ ] | | |-- usdhc3grp-100mhz
pinconfig [ ] | | |-- usdhc3grp-200mhz
pinconfig [ + ] | | |-- usdhc4grp
pinconfig [ + ] | | `-- vccsd3grp
simple_bus [ + ] | |-- aips-bus@02100000
mmc [ + ] | | |-- usdhc@02198000
mmc [ + ] | | |-- usdhc@0219c000
i2c [ + ] | | |-- i2c@021a4000
i2c_generic [ + ] | | | |-- generic_8
i2c_generic [ + ] | | | `-- generic_4e
i2c [ + ] | | `-- i2c@021a8000
gpio [ + ] | | |-- gpio@30
gpio [ + ] | | `-- gpio@32
simple_bus [ ] | `-- aips-bus@02200000
simple_bus [ ] | `-- spba-bus@02200000
simple_bus [ + ] `-- regulators
regulator [ + ] `-- regulator@0
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/mx6sxsabreauto.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/configs/mx6sxsabreauto.h b/include/configs/mx6sxsabreauto.h index 90a935b..0742b4b 100644 --- a/include/configs/mx6sxsabreauto.h +++ b/include/configs/mx6sxsabreauto.h @@ -114,19 +114,12 @@ #define CONFIG_SYS_FSL_ESDHC_ADDR USDHC3_BASE_ADDR /* I2C Configs */ -#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_MXC #define CONFIG_SYS_I2C_MXC_I2C1 /* enable I2C bus 1 */ #define CONFIG_SYS_I2C_MXC_I2C2 /* enable I2C bus 2 */ #define CONFIG_SYS_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 -/* PMIC */ -#define CONFIG_POWER -#define CONFIG_POWER_I2C -#define CONFIG_POWER_PFUZE100 -#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08 - /* NAND flash command */ #define CONFIG_CMD_NAND #define CONFIG_CMD_NAND_TRIMFFS |