SPDX: Convert all of our single license tags to Linux Kernel style
[platform/kernel/u-boot.git] / board / freescale / common / zm7300.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright 2013 Freescale Semiconductor, Inc.
4  */
5
6 #ifndef __ZM7300_H_
7 #define __ZM7300_H      1_
8
9 #include <common.h>
10 #include <i2c.h>
11 #include <errno.h>
12 #include <asm/io.h>
13
14 #define ZM_STEP 125
15 int zm7300_set_voltage(int voltage_1_10mv);
16 int zm_write_voltage(int voltage);
17 int zm_read_voltage(void);
18 int zm_disable_wp(void);
19 int zm_enable_wp(void);
20
21 #endif  /* __ZM7300_H_ */