mx7dsabresd: Fix the pmic_get() parameter in the DM case
PATCH 1/3 mx7dsabresd: Fix the pmic_get() parameter in the DM case
When pmic_get() is used with DM the first parameter must be the complete node name plus the unit address, so fix it accordingly.
--- board/freescale/mx7dsabresd/mx7dsabresd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
board/freescale/mx7dsabresd/mx7dsabresd.c +1 -1
@@ -326,7 +326,7 @@ int power_init_board(void)struct udevice *dev;int ret, dev_id, rev_id; - ret =pmic_get ("pfuze3000" , &dev); + ret =pmic_get ("pfuze3000 at 08" , &dev);if (ret == -ENODEV )return 0 ;if (ret !=0 )
Signature · 1 line
2.17.1
PATCH 2/3 mx6sllevk: Fix the pmic_get() parameter in the DM case
When pmic_get() is used with DM the first parameter must be the complete node name plus the unit address, so fix it accordingly.
--- board/freescale/mx6sllevk/mx6sllevk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
board/freescale/mx6sllevk/mx6sllevk.c +1 -1
@@ -57,7 +57,7 @@ int power_init_board(void)u32 switch_num =6 ;u32 offset =PFUZE100_SW1CMODE ; - ret =pmic_get ("pfuze100" , &dev); + ret =pmic_get ("pfuze100 at 08" , &dev);if (ret == -ENODEV )return 0 ;
Signature · 1 line
2.17.1
PATCH 2/3 mx6sllevk: Fix the pmic_get() parameter in the DM case
Quoted 7 lines
Subject: [PATCH 2/3] mx6sllevk: Fix the
pmic_get()parameter in the DM caseWhen
pmic_get()is used with DM the first parameter must be the complete node name plus the unit address, so fix it accordingly.Reported-by Igor Opaniuk <[email protected]>Signed-off-by Fabio Estevam <[email protected]>
Quoted 20 lines
--- board/freescale/mx6sllevk/mx6sllevk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)board/freescale/mx6sllevk/mx6sllevk.c +1
-2@@ -57,7 +57,7 @@ int power_init_board(void)u32 switch_num =6 ;u32 offset =PFUZE100_SW1CMODE ; - ret =pmic_get ("pfuze100" , &dev); + ret =pmic_get ("pfuze100 at 08" , &dev);if (ret == -ENODEV )return 0 ; --2.17.1
PATCH 2/3 mx6sllevk: Fix the pmic_get() parameter in the DM case
In reply to Fabio EstevamQuoted 6 lines
When
pmic_get()is used with DM the first parameter must be the complete node name plus the unit address, so fix it accordingly.Reported-by Igor Opaniuk <[email protected]>Signed-off-by Fabio Estevam <[email protected]>Reviewed-by Peng Fan <[email protected]>
Applied to u-boot-imx, -next, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH 3/3 mx6slevk: Fix the pmic_get() parameter in the DM case
In reply to Fabio EstevamWhen pmic_get() is used with DM the first parameter must be the complete node name plus the unit address, so fix it accordingly.
--- board/freescale/mx6slevk/mx6slevk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
board/freescale/mx6slevk/mx6slevk.c +1 -1
@@ -145,7 +145,7 @@ int power_init_board(void)u32 switch_num =6 ;u32 offset =PFUZE100_SW1CMODE ; - ret =pmic_get ("pfuze100" , &dev); + ret =pmic_get ("pfuze100 at 08" , &dev);if (ret == -ENODEV )return 0 ;
Signature · 1 line
2.17.1
PATCH 3/3 mx6slevk: Fix the pmic_get() parameter in the DM case
Quoted 7 lines
Subject: [PATCH 3/3] mx6slevk: Fix the
pmic_get()parameter in the DM caseWhen
pmic_get()is used with DM the first parameter must be the complete node name plus the unit address, so fix it accordingly.Reported-by Igor Opaniuk <[email protected]>Signed-off-by Fabio Estevam <[email protected]>
Quoted 20 lines
--- board/freescale/mx6slevk/mx6slevk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)board/freescale/mx6slevk/mx6slevk.c +1
-2@@ -145,7 +145,7 @@ int power_init_board(void)u32 switch_num =6 ;u32 offset =PFUZE100_SW1CMODE ; - ret =pmic_get ("pfuze100" , &dev); + ret =pmic_get ("pfuze100 at 08" , &dev);if (ret == -ENODEV )return 0 ; --2.17.1
PATCH 3/3 mx6slevk: Fix the pmic_get() parameter in the DM case
In reply to Fabio EstevamQuoted 6 lines
When
pmic_get()is used with DM the first parameter must be the complete node name plus the unit address, so fix it accordingly.Reported-by Igor Opaniuk <[email protected]>Signed-off-by Fabio Estevam <[email protected]>Reviewed-by Peng Fan <[email protected]>
Applied to u-boot-imx, -next, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH 1/3 mx7dsabresd: Fix the pmic_get() parameter in the DM case
In reply to Fabio EstevamQuoted 8 lines
Subject: [PATCH 1/3] mx7dsabresd: Fix the
pmic_get()parameter in the DM caseWhen
pmic_get()is used with DM the first parameter must be the complete node name plus the unit address, so fix it accordingly.Reported-by Igor Opaniuk <[email protected]>Signed-off-by Fabio Estevam <[email protected]>
Quoted 20 lines
--- board/freescale/mx7dsabresd/mx7dsabresd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)board/freescale/mx7dsabresd/mx7dsabresd.c +1
-2@@ -326,7 +326,7 @@ int power_init_board(void)struct udevice *dev;int ret, dev_id, rev_id; - ret =pmic_get ("pfuze3000" , &dev); + ret =pmic_get ("pfuze3000 at 08" , &dev);if (ret == -ENODEV )return 0 ;if (ret !=0 ) --2.17.1
PATCH 1/3 mx7dsabresd: Fix the pmic_get() parameter in the DM case
In reply to Fabio EstevamQuoted 6 lines
When
pmic_get()is used with DM the first parameter must be the complete node name plus the unit address, so fix it accordingly.Reported-by Igor Opaniuk <[email protected]>Signed-off-by Fabio Estevam <[email protected]>Reviewed-by Peng Fan <[email protected]>
Applied to u-boot-imx, -next, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================