mirror of
https://xff.cz/git/u-boot/
synced 2025-09-29 14:31:16 +02:00
imx: pmic: Set proper pmic name for iMX53 HSC|DDC boards
After the
commit 4213609cc7
("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>
This commit is contained in:
committed by
Stefano Babic
parent
90a3cff53e
commit
7c0fbf2fe3
@@ -48,7 +48,7 @@ static int power_init(void)
|
|||||||
struct udevice *dev;
|
struct udevice *dev;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ret = pmic_get("mc34708", &dev);
|
ret = pmic_get("mc34708@8", &dev);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
printf("%s: mc34708 not found !\n", __func__);
|
printf("%s: mc34708 not found !\n", __func__);
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user