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