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

Jaehoon Chung jh80.chung at samsung.com
Mon Mar 8 00:05:05 CET 2021


On 3/6/21 7:11 AM, Fabio Estevam wrote:
> Pass "pfuze3000 at 8" in pmic_get() so that the PMIC node can
> be found in the devicetree.
> 
> Signed-off-by: Fabio Estevam <festevam at gmail.com>

Reviewed-by: Jaehoon Chung <jh80.chung at 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 at 8", &dev);
>  	if (ret == -ENODEV)
>  		return 0;
>  	if (ret != 0)
> 



More information about the U-Boot mailing list