power: make most tps drivers and the twl4030 driver compatible with DM_I2C
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Fri, 7 Dec 2018 13:50:46 +0000 (14:50 +0100)
committerHeiko Schocher <hs@denx.de>
Mon, 10 Dec 2018 05:17:30 +0000 (06:17 +0100)
commitfb1b7712ad3f375f83e74629f03236c300b0b896
treecc21eacc979ff5f7d2f5a7c2f336a4fcb8561e75
parent2b30b38b269e87cbd727862a08ae99843c3ab29e
power: make most tps drivers and the twl4030 driver compatible with DM_I2C

Those driver are not DM drivers per se (not using the PMIC/regulator
framework) and are using the legacy I2C API. Make them compatible with
the DM_I2C API.

This impacts the following drivers:
- palmas (used by am57xx/dra7xx evms)
- tps65218 (used by am43xx evms)
- tps65217 and tps65910 (used by am335x evms and am335x boneblack vboot)
- twl4030 (used by omap3_logicpd)
- tps65217 (used by brppt1)
- twl6030

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
12 files changed:
drivers/power/palmas.c
drivers/power/pmic/pmic_tps62362.c
drivers/power/pmic/pmic_tps65217.c
drivers/power/pmic/pmic_tps65218.c
drivers/power/pmic/pmic_tps65910.c
drivers/power/twl4030.c
drivers/power/twl6030.c
include/palmas.h
include/power/tps65217.h
include/power/tps65910.h
include/twl4030.h
include/twl6030.h