~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: 45b49afaeb776477da75c572dddad0b4901a3d84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright 2014 Freescale Semiconductor, Inc.
 */

#ifndef __PFUZE_BOARD_HELPER__
#define __PFUZE_BOARD_HELPER__

#ifdef CONFIG_DM_PMIC_PFUZE100
struct udevice *pfuze_common_init(void);
int pfuze_mode_init(struct udevice *dev, u32 mode);
#else
struct pmic *pfuze_common_init(unsigned char i2cbus);
int pfuze_mode_init(struct pmic *p, u32 mode);
#endif

#endif