[PATCH] pico-imx6ul: Pass the PMIC I2C address in pmic_get()

Fabio Estevam festevam at gmail.com
Fri Mar 5 23:11:49 CET 2021


Pass "pfuze3000 at 8" in pmic_get() so that the PMIC node can
be found in the devicetree.

Signed-off-by: Fabio Estevam <festevam at gmail.com>
---
 board/technexion/pico-imx6ul/pico-imx6ul.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/technexion/pico-imx6ul/pico-imx6ul.c b/board/technexion/pico-imx6ul/pico-imx6ul.c
index 62a54d0c8eb5..682c88dee78d 100644
--- a/board/technexion/pico-imx6ul/pico-imx6ul.c
+++ b/board/technexion/pico-imx6ul/pico-imx6ul.c
@@ -159,7 +159,7 @@ int power_init_board(void)
 	struct udevice *dev;
 	int ret, dev_id, rev_id;
 
-	ret = pmic_get("pfuze3000", &dev);
+	ret = pmic_get("pfuze3000 at 8", &dev);
 	if (ret == -ENODEV)
 		return 0;
 	if (ret != 0)
-- 
2.25.1



More information about the U-Boot mailing list