Skip to contentSkip to conversation

pico-imx6ul: Pass the PMIC I2C address in pmic_get()

PATCH New Fabio Estevam 3 participants 3 messages Mar 5, 2021 – Apr 9, 2021 Arm i.MX and Layerscape

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 pico-imx6ul: Pass the PMIC I2C address in pmic_get()

Pass "pfuze3000 at 8" in pmic_get() so that the PMIC node can be found in the devicetree.

---
 board/technexion/pico-imx6ul/pico-imx6ul.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/technexion/pico-imx6ul/pico-imx6ul.c +1 -1
index 62a54d0c8eb5..682c88dee78d 100644
@@ -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 at 8", &dev);
 	if (ret == -ENODEV)
 		return 0;
 	if (ret != 0)
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 pico-imx6ul: Pass the PMIC I2C address in pmic_get()

Quoted 4 lines · Fabio Estevam

Pass "pfuze3000 at 8" in pmic_get() so that the PMIC node can be found in the devicetree.

Best Regards,
Jaehoon Chung

Quoted 18 lines
---
 board/technexion/pico-imx6ul/pico-imx6ul.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/technexion/pico-imx6ul/pico-imx6ul.c +1 -1
index 62a54d0c8eb5..682c88dee78d 100644
@@ -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 at 8", &dev);
 	if (ret == -ENODEV)
 		return 0;
 	if (ret != 0)
#2 lore raw

PATCH 1/1 pico-imx6ul: Pass the PMIC I2C address in pmic_get()

In reply to Fabio Estevam
Quoted 4 lines

Pass "pfuze3000 at 8" in pmic_get() so that the PMIC node can be found in the devicetree.

Applied to u-boot-imx, master, 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
=====================================================================