blob: 3f8c107f6bbf0ff311bfe336f6eae0adb1a2dffc [file] [log] [blame]
Ye.Li5051ff52014-11-06 16:28:59 +08001/*
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
Peng Fanf8e450a2018-01-02 09:32:06 +080010#ifdef CONFIG_DM_PMIC_PFUZE100
11struct udevice *pfuze_common_init(void);
12int pfuze_mode_init(struct udevice *dev, u32 mode);
13#else
Ye.Li5051ff52014-11-06 16:28:59 +080014struct pmic *pfuze_common_init(unsigned char i2cbus);
Peng Fan7428f552015-01-27 10:14:03 +080015int pfuze_mode_init(struct pmic *p, u32 mode);
Peng Fanf8e450a2018-01-02 09:32:06 +080016#endif
Ye.Li5051ff52014-11-06 16:28:59 +080017
18#endif