[U-Boot] [PATCH 17/34] warp7: Fix the write to the LDOGCTL PMIC register

sbabic at denx.de sbabic at denx.de
Wed Mar 13 08:28:51 UTC 2019


> The third parameter of the pmic_clrsetbits() function is the mask
> to the register and the correct mask is 1 not 0.
> Since the LDOGCTL only contains a single valid bit (bit 0),
> we can use pmic_reg_write() and write 1 directly, which fixes
> the problem in a simpler way and use the original pmic function
> that was used prior to the DM PMIC conversion.
> Fixes: 8ba377321c86 ("arm: imx7s-warp: Convert to DM PMIC")
> Signed-off-by: Fabio Estevam <festevam at gmail.com>

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

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



More information about the U-Boot mailing list