xref: /openbmc/u-boot/board/freescale/common/zm7300.h (revision 5ff10aa7)
1 /*
2  * Copyright 2013 Freescale Semiconductor, Inc.
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6 
7 #ifndef __ZM7300_H_
8 #define __ZM7300_H	1_
9 
10 #include <common.h>
11 #include <i2c.h>
12 #include <errno.h>
13 #include <asm/io.h>
14 
15 #define ZM_STEP 125
16 int zm7300_set_voltage(int voltage_1_10mv);
17 int zm_write_voltage(int voltage);
18 int zm_read_voltage(void);
19 int zm_disable_wp(void);
20 int zm_enable_wp(void);
21 
22 #endif	/* __ZM7300_H_ */
23