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>
This commit is contained in:
Fabio Estevam
2021-03-05 19:11:49 -03:00
committed by Stefano Babic
parent 8974ff1a60
commit c174c0623b

View File

@@ -159,7 +159,7 @@ int power_init_board(void)
struct udevice *dev; struct udevice *dev;
int ret, dev_id, rev_id; int ret, dev_id, rev_id;
ret = pmic_get("pfuze3000", &dev); ret = pmic_get("pfuze3000@8", &dev);
if (ret == -ENODEV) if (ret == -ENODEV)
return 0; return 0;
if (ret != 0) if (ret != 0)