diff mbox series

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

Message ID 20210305221149.2493548-1-festevam@gmail.com
State Accepted
Commit c174c0623b02d7ae0965fd089934a490a95294c3
Delegated to: Stefano Babic
Headers show
Series pico-imx6ul: Pass the PMIC I2C address in pmic_get() | expand

Commit Message

Fabio Estevam March 5, 2021, 10:11 p.m. UTC
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>
---
 board/technexion/pico-imx6ul/pico-imx6ul.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jaehoon Chung March 7, 2021, 11:05 p.m. UTC | #1
On 3/6/21 7:11 AM, Fabio Estevam wrote:
> 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>

Best Regards,
Jaehoon Chung

> ---
>  board/technexion/pico-imx6ul/pico-imx6ul.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/board/technexion/pico-imx6ul/pico-imx6ul.c b/board/technexion/pico-imx6ul/pico-imx6ul.c
> index 62a54d0c8eb5..682c88dee78d 100644
> --- a/board/technexion/pico-imx6ul/pico-imx6ul.c
> +++ b/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)
>
Stefano Babic April 9, 2021, 11:25 a.m. UTC | #2
> 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>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/board/technexion/pico-imx6ul/pico-imx6ul.c b/board/technexion/pico-imx6ul/pico-imx6ul.c
index 62a54d0c8eb5..682c88dee78d 100644
--- a/board/technexion/pico-imx6ul/pico-imx6ul.c
+++ b/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)