]> git.baikalelectronics.ru Git - uboot.git/commit
dm: power: Convert as3722 to driver model
authorSimon Glass <sjg@chromium.org>
Tue, 25 Jul 2017 14:30:12 +0000 (08:30 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 28 Jul 2017 18:02:47 +0000 (12:02 -0600)
commita03ff653ba0c5475fd80478808bcb307d9e90402
treef00e82ea09888fcd7fc5ffbb6db9b112ad4fee90
parent3802ffe18af28c28a5e7b7a4870e8233ead76dd6
dm: power: Convert as3722 to driver model

Convert this PMIC driver to driver model and fix up other users. The
regulator and GPIO functions are now handled by separate drivers.

Update nyan-big to work correct. Three boards will need to be updated by
the maintainers: apalis-tk1, cei-tk1-som. Also the TODO in the code re
as3722_sd_set_voltage() needs to be completed.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Tested-on: Jetson-TK1
Tested-by: Stephen Warren <swarren@nvidia.com>
12 files changed:
arch/arm/mach-tegra/board2.c
board/cei/cei-tk1-som/cei-tk1-som.c
board/nvidia/jetson-tk1/jetson-tk1.c
board/nvidia/nyan-big/nyan-big.c
board/toradex/apalis-tk1/apalis-tk1.c
configs/apalis-tk1_defconfig
configs/cei-tk1-som_defconfig
configs/jetson-tk1_defconfig
configs/nyan-big_defconfig
drivers/power/pmic/Makefile
drivers/power/pmic/as3722.c
include/power/as3722.h