[U-Boot] [PATCH 5/6] i2c: designware: add reset ctrl to driver

Heiko Schocher hs at denx.de
Thu Apr 5 06:07:44 UTC 2018


Hello Dinh,

Am 05.04.2018 um 00:18 schrieb Dinh Nguyen:
> Add code to look for a reset manager property. Specifically, look for the
> reset-names of 'i2c'. A reset property is an optional feature, so only print
> out a warning and do not fail if a reset property is not present.
> 
> If a reset property is discovered, then use it to deassert, thus bringing the
> IP out of reset.
> 
> Signed-off-by: Dinh Nguyen <dinguyen at kernel.org>
> ---
>   drivers/i2c/designware_i2c.c | 10 ++++++++++
>   1 file changed, 10 insertions(+)

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

Thanks!

bye,
Heiko
-- 
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