blob: 6b4d035970c846ecf4612eeac3a86f1913c9f2a0 [file] [log] [blame]
Shaveta Leekha4150f242014-04-11 14:12:39 +05301/*
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
16int zm7300_set_voltage(int voltage_1_10mv);
17int zm_write_voltage(int voltage);
18int zm_read_voltage(void);
19int zm_disable_wp(void);
20int zm_enable_wp(void);
21
22#endif /* __ZM7300_H_ */