blob: 45b49afaeb776477da75c572dddad0b4901a3d84 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Ye.Li5051ff52014-11-06 16:28:59 +08002/*
3 * Copyright 2014 Freescale Semiconductor, Inc.
Ye.Li5051ff52014-11-06 16:28:59 +08004 */
5
6#ifndef __PFUZE_BOARD_HELPER__
7#define __PFUZE_BOARD_HELPER__
8
Peng Fanf8e450a2018-01-02 09:32:06 +08009#ifdef CONFIG_DM_PMIC_PFUZE100
10struct udevice *pfuze_common_init(void);
11int pfuze_mode_init(struct udevice *dev, u32 mode);
12#else
Ye.Li5051ff52014-11-06 16:28:59 +080013struct pmic *pfuze_common_init(unsigned char i2cbus);
Peng Fan7428f552015-01-27 10:14:03 +080014int pfuze_mode_init(struct pmic *p, u32 mode);
Peng Fanf8e450a2018-01-02 09:32:06 +080015#endif
Ye.Li5051ff52014-11-06 16:28:59 +080016
17#endif