]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pico-imx6ul: Pass the PMIC I2C address in pmic_get()
authorFabio Estevam <festevam@gmail.com>
Fri, 5 Mar 2021 22:11:49 +0000 (19:11 -0300)
committerStefano Babic <sbabic@denx.de>
Thu, 8 Apr 2021 21:59:50 +0000 (23:59 +0200)
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>
board/technexion/pico-imx6ul/pico-imx6ul.c

index 62a54d0c8eb580c4d45a034daa4bf1546b723cf0..682c88dee78d1c4a630735177e1604de214c38fb 100644 (file)
@@ -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)