2014-11-06 08:28:59 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2014 Freescale Semiconductor, Inc.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __PFUZE_BOARD_HELPER__
|
|
|
|
#define __PFUZE_BOARD_HELPER__
|
|
|
|
|
2018-01-02 01:32:06 +00:00
|
|
|
#ifdef CONFIG_DM_PMIC_PFUZE100
|
|
|
|
struct udevice *pfuze_common_init(void);
|
|
|
|
int pfuze_mode_init(struct udevice *dev, u32 mode);
|
|
|
|
#else
|
2014-11-06 08:28:59 +00:00
|
|
|
struct pmic *pfuze_common_init(unsigned char i2cbus);
|
2015-01-27 02:14:03 +00:00
|
|
|
int pfuze_mode_init(struct pmic *p, u32 mode);
|
2018-01-02 01:32:06 +00:00
|
|
|
#endif
|
2014-11-06 08:28:59 +00:00
|
|
|
|
|
|
|
#endif
|