Преглед изворни кода

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

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

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Fabio Estevam пре 3 година
родитељ
комит
c174c0623b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      board/technexion/pico-imx6ul/pico-imx6ul.c

+ 1 - 1
board/technexion/pico-imx6ul/pico-imx6ul.c

@@ -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@8", &dev);
 	if (ret == -ENODEV)
 		return 0;
 	if (ret != 0)