| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #ifndef EC_KONTRON_KEMPLD_H |
| 4 | #define EC_KONTRON_KEMPLD_H |
| 5 | |
| 6 | #include <stdint.h> |
| 7 | |
| 8 | void kempld_write8(uint8_t addr, uint8_t data); |
| 9 | uint8_t kempld_read8(uint8_t addr); |
| 10 | |
| 11 | int kempld_get_mutex(int timeout_ms); |
| 12 | void kempld_release_mutex(void); |
| 13 | |
| 14 | void kempld_enable_uart_for_console(void); |
| 15 | |
| 16 | #endif /* EC_KONTRON_KEMPLD_H */ |