zm7300.h 421 B

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