1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * ChromeOS Embedded Controller core interface.
5 * Copyright (C) 2020 Google LLC
11 #include <linux/interrupt.h>
13 int cros_ec_register(struct cros_ec_device *ec_dev);
14 int cros_ec_unregister(struct cros_ec_device *ec_dev);
16 int cros_ec_suspend(struct cros_ec_device *ec_dev);
17 int cros_ec_resume(struct cros_ec_device *ec_dev);
19 irqreturn_t cros_ec_irq_thread(int irq, void *data);
21 #endif /* __CROS_EC_H */