]> git.dujemihanovic.xyz Git - u-boot.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)
commite3f44f5c891da635123b734a056dd1275eb34d83
treef00e82ea09888fcd7fc5ffbb6db9b112ad4fee90
parentc2012cb47cc0b02569c011a0e588b22e07856076
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