diff options
author | Lukasz Majewski <lukma@denx.de> | 2020-02-26 12:37:02 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-04-18 13:08:34 +0200 |
commit | 7c0fbf2fe3f87193691828d94cadb0a62b4e9f5f (patch) | |
tree | 47dba7cb74fefbcb0bc0b9bcddae9eec85d10df3 /board/k+p/kp_imx53/kp_imx53.c | |
parent | 90a3cff53e838c0941f561fcef25e1a8c8b88bd1 (diff) |
imx: pmic: Set proper pmic name for iMX53 HSC|DDC boards
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>
Diffstat (limited to 'board/k+p/kp_imx53/kp_imx53.c')
-rw-r--r-- | board/k+p/kp_imx53/kp_imx53.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/k+p/kp_imx53/kp_imx53.c b/board/k+p/kp_imx53/kp_imx53.c index 2f57310e27..eb5b67d1e6 100644 --- a/board/k+p/kp_imx53/kp_imx53.c +++ b/board/k+p/kp_imx53/kp_imx53.c @@ -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; |