blob: 9ce24afc178c8fc2d0a80caa406c240c331d1350 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Shaveta Leekha4150f242014-04-11 14:12:39 +05302/*
3 * Copyright 2013 Freescale Semiconductor, Inc.
Shaveta Leekha4150f242014-04-11 14:12:39 +05304 */
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
15int zm7300_set_voltage(int voltage_1_10mv);
16int zm_write_voltage(int voltage);
17int zm_read_voltage(void);
18int zm_disable_wp(void);
19int zm_enable_wp(void);
20
21#endif /* __ZM7300_H_ */