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:

committed by
Stefano Babic

parent
8974ff1a60
commit
c174c0623b
@@ -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)
|
||||
|
Reference in New Issue
Block a user