diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2015-05-13 13:38:25 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-05-14 19:58:34 -0600 |
commit | ca2b933a382e823989c97a7d83c39825b8c22696 (patch) | |
tree | fc079071db9aa6c2ebb25198a077841c4dbb924b /board/samsung/common | |
parent | 5d8d42b38190f7d5407b43f7f111e74f5f4fb4f7 (diff) | |
download | u-boot-imx-ca2b933a382e823989c97a7d83c39825b8c22696.zip u-boot-imx-ca2b933a382e823989c97a7d83c39825b8c22696.tar.gz u-boot-imx-ca2b933a382e823989c97a7d83c39825b8c22696.tar.bz2 |
odroid: enable driver model pmic/regulator API and MAX77686 drivers
This change enables the configs required to init and setup max77686
regulator driver, using the new driver model pmic and regulator API.
And also changes the old pmic framework calls to the new ones.
This commits enables:
- CONFIG_ERRNO_STR
- CONFIG_DM_PMIC
- CONFIG_DM_PMIC_CMD
- CONFIG_DM_PMIC_MAX77686
- CONFIG_DM_REGULATOR
- CONFIG_DM_REGULATOR_CMD
- CONFIG_DM_REGULATOR_MAX77686
And removes the unused:
- CONFIG_DM_I2C_COMPAT
- CONFIG_POWER
- CONFIG_POWER_I2C
- CONFIG_POWER_MAX77686
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/samsung/common')
-rw-r--r-- | board/samsung/common/misc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c index 1a77c82..f0d69d4 100644 --- a/board/samsung/common/misc.c +++ b/board/samsung/common/misc.c @@ -16,6 +16,7 @@ #include <asm/arch/cpu.h> #include <asm/gpio.h> #include <linux/input.h> +#include <dm.h> #include <power/pmic.h> #include <mmc.h> |