Browse Source

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

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

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Fabio Estevam 3 years ago
parent
commit
c174c0623b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      board/technexion/pico-imx6ul/pico-imx6ul.c

+ 1 - 1
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@8", &dev);
 	if (ret == -ENODEV)
 		return 0;
 	if (ret != 0)