[PATCH v1 7/9] verdin-imx8mm: spl: enable pca9450 i2c level translator

Marcel Ziswiler marcel.ziswiler at toradex.com
Thu Oct 29 15:49:36 CET 2020


On Wed, 2020-10-28 at 11:58 +0200, Igor Opaniuk wrote:
> From: Max Krummenacher <max.krummenacher at toradex.com>
> 
> Enable PCA9450 i2c level translator, as this is used for the
> on module ADC.
> 
> Signed-off-by: Max Krummenacher <max.krummenacher at toradex.com>

Acked-by: Marcel Ziswiler <marcel.ziswiler at toradex.com>

> ---
> 
>  board/toradex/verdin-imx8mm/spl.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/board/toradex/verdin-imx8mm/spl.c b/board/toradex/verdin-imx8mm/spl.c
> index 9562cdeb35..72e2e09e25 100644
> --- a/board/toradex/verdin-imx8mm/spl.c
> +++ b/board/toradex/verdin-imx8mm/spl.c
> @@ -124,6 +124,8 @@ int power_init_board(void)
>                 /* set WDOG_B_CFG to cold reset */
>                 pmic_reg_write(dev, PCA9450_RESET_CTRL, 0xA1);
>  
> +               pmic_reg_write(dev, PCA9450_CONFIG2, 0x1);
> +
>                 return 0;
>         }


More information about the U-Boot mailing list