From b8eecbac6a7ad339baf0446f333ce7cc43921b40 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Wed, 28 Oct 2020 11:58:14 +0200 Subject: [PATCH] verdin-imx8mm: spl: enable pca9450 i2c level translator Enable PCA9450 i2c level translator, as this is used for the on module ADC. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov --- 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; } -- 2.39.5