From 4eeb9fe84742af67c775afd5055b672b0639a244 Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Fri, 19 Mar 2021 15:57:06 +0800 Subject: power: pca9450: add a new parameter for power_pca9450_init Currently PCA9450 might have address 0x25 or 0x35, so let user choose the address. Signed-off-by: Peng Fan Reviewed-by: Jaehoon Chung --- board/phytec/phycore_imx8mp/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/phytec') diff --git a/board/phytec/phycore_imx8mp/spl.c b/board/phytec/phycore_imx8mp/spl.c index eefdd7fdda..f9fa8d1e12 100644 --- a/board/phytec/phycore_imx8mp/spl.c +++ b/board/phytec/phycore_imx8mp/spl.c @@ -53,7 +53,7 @@ int power_init_board(void) struct pmic *p; int ret; - ret = power_pca9450_init(0); + ret = power_pca9450_init(0, 0x25); if (ret) printf("power init failed"); p = pmic_get("PCA9450"); -- cgit v1.2.3