[U-Boot] [RESEND PATCH v3 10/19] power: make most tps drivers and the twl4030 driver compatible with DM_I2C

Heiko Schocher hs at denx.de
Mon Dec 10 05:16:52 UTC 2018


Hello Jean-Jacques,

Am 07.12.2018 um 14:50 schrieb Jean-Jacques Hiblot:
> 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 at ti.com>
> 
> ---
> 
> Changes in v3: None
> Changes in v2:
> - Also add DM_I2C support to the twl6030 driver
> 
>   drivers/power/palmas.c             | 39 +++++++++++++++++
>   drivers/power/pmic/pmic_tps62362.c | 24 +++++++++++
>   drivers/power/pmic/pmic_tps65217.c | 44 +++++++++++++++++++-
>   drivers/power/pmic/pmic_tps65218.c | 85 ++++++++++++++++++++++++++++++++++++++
>   drivers/power/pmic/pmic_tps65910.c | 57 +++++++++++++++++++++----
>   drivers/power/twl4030.c            | 39 +++++++++++++++++
>   drivers/power/twl6030.c            | 39 +++++++++++++++++
>   include/palmas.h                   |  5 +++
>   include/power/tps65217.h           |  2 +
>   include/power/tps65910.h           |  1 +
>   include/twl4030.h                  |  6 ++-
>   include/twl6030.h                  |  5 +++
>   12 files changed, 335 insertions(+), 11 deletions(-)

Thanks for resending!

Reviewed-by: Heiko Schocher <hs at denx.de>

bye,
Heiko Schocher
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list