xref: /openbmc/u-boot/board/freescale/common/pfuze.h (revision c10b1c43)
1 /*
2  * Copyright 2014 Freescale Semiconductor, Inc.
3  *
4  * SPDX-License-Identifier:	GPL-2.0+
5  */
6 
7 #ifndef __PFUZE_BOARD_HELPER__
8 #define __PFUZE_BOARD_HELPER__
9 
10 #ifdef CONFIG_DM_PMIC_PFUZE100
11 struct udevice *pfuze_common_init(void);
12 int pfuze_mode_init(struct udevice *dev, u32 mode);
13 #else
14 struct pmic *pfuze_common_init(unsigned char i2cbus);
15 int pfuze_mode_init(struct pmic *p, u32 mode);
16 #endif
17 
18 #endif
19