summaryrefslogtreecommitdiffstats
path: root/include/power
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2021-03-19 15:57:06 +0800
committerStefano Babic <sbabic@denx.de>2021-04-08 09:18:29 +0200
commit4eeb9fe84742af67c775afd5055b672b0639a244 (patch)
treed6db85e7b7d2e33a574d197de0f06edd5b243cdd /include/power
parentfd60fe7e61ba33f5101034f7183551708b1fecee (diff)
downloadu-boot-4eeb9fe84742af67c775afd5055b672b0639a244.tar.gz
u-boot-4eeb9fe84742af67c775afd5055b672b0639a244.tar.xz
u-boot-4eeb9fe84742af67c775afd5055b672b0639a244.zip
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 'include/power')
-rw-r--r--include/power/pca9450.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/power/pca9450.h b/include/power/pca9450.h
index 5a9a697d62..27703bb1f9 100644
--- a/include/power/pca9450.h
+++ b/include/power/pca9450.h
@@ -54,6 +54,6 @@ enum {
PCA9450_REG_NUM,
};
-int power_pca9450_init(unsigned char bus);
+int power_pca9450_init(unsigned char bus, unsigned char addr);
#endif