]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: pmic: Set proper pmic name for iMX53 HSC|DDC boards
authorLukasz Majewski <lukma@denx.de>
Wed, 26 Feb 2020 11:37:02 +0000 (12:37 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 18 Apr 2020 11:08:34 +0000 (13:08 +0200)
After the
commit 4213609cc7fb ("drivers: core: use strcmp when find device by name")
the exact DTS node name for PMIC device must be provided.

This patch fixes this issue by providing full DTS node name ('mc34708@8').

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Jaehoon Chug <jh80.chung@samsung.com>
board/k+p/kp_imx53/kp_imx53.c

index 2f57310e27a0ed00d51d75dc0cf7dbbe474dd4e3..eb5b67d1e622dc9945cc0a3fa306808e1705b584 100644 (file)
@@ -48,7 +48,7 @@ static int power_init(void)
        struct udevice *dev;
        int ret;
 
-       ret = pmic_get("mc34708", &dev);
+       ret = pmic_get("mc34708@8", &dev);
        if (ret) {
                printf("%s: mc34708 not found !\n", __func__);
                return ret;