diff options
author | Peng Fan <peng.fan@nxp.com> | 2021-03-19 10:57:06 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2021-04-08 10:18:29 +0300 |
commit | 4eeb9fe84742af67c775afd5055b672b0639a244 (patch) | |
tree | d6db85e7b7d2e33a574d197de0f06edd5b243cdd /board/freescale/imx8mp_evk | |
parent | fd60fe7e61ba33f5101034f7183551708b1fecee (diff) | |
download | u-boot-4eeb9fe84742af67c775afd5055b672b0639a244.tar.xz |
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 <peng.fan@nxp.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'board/freescale/imx8mp_evk')
-rw-r--r-- | board/freescale/imx8mp_evk/spl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/imx8mp_evk/spl.c b/board/freescale/imx8mp_evk/spl.c index 6ccf5ac8fa..a7564e9b1a 100644 --- a/board/freescale/imx8mp_evk/spl.c +++ b/board/freescale/imx8mp_evk/spl.c @@ -70,7 +70,7 @@ int power_init_board(void) struct pmic *p; int ret; - ret = power_pca9450_init(I2C_PMIC); + ret = power_pca9450_init(I2C_PMIC, 0x25); if (ret) printf("power init failed"); p = pmic_get("PCA9450"); |