blob: 45b49afaeb776477da75c572dddad0b4901a3d84 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Ye.Lia9454db2014-11-06 16:28:59 +08002/*
3 * Copyright 2014 Freescale Semiconductor, Inc.
Ye.Lia9454db2014-11-06 16:28:59 +08004 */
5
6#ifndef __PFUZE_BOARD_HELPER__
7#define __PFUZE_BOARD_HELPER__
8
Peng Fana7e8fcb2018-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.Lia9454db2014-11-06 16:28:59 +080013struct pmic *pfuze_common_init(unsigned char i2cbus);
Peng Fan962a4172015-01-27 10:14:03 +080014int pfuze_mode_init(struct pmic *p, u32 mode);
Peng Fana7e8fcb2018-01-02 09:32:06 +080015#endif
Ye.Lia9454db2014-11-06 16:28:59 +080016
17#endif