sl28cpld.h 396 B

12345678910111213141516
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (c) 2021 Michael Walle <michael@walle.cc>
  4. */
  5. #ifndef __SL28CPLD_H
  6. #define __SL28CPLD_H
  7. #define SL28CPLD_VERSION 0x03
  8. int sl28cpld_read(struct udevice *dev, uint offset);
  9. int sl28cpld_write(struct udevice *dev, uint offset, uint8_t value);
  10. int sl28cpld_update(struct udevice *dev, uint offset, uint8_t clear,
  11. uint8_t set);
  12. #endif