Merge tag 'regmap-fix-v5.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux/fpc-iii.git] / drivers / platform / chrome / cros_ec.h
blobe69fc1ff68b4089f1a1bad13454d977424e7cf86
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * ChromeOS Embedded Controller core interface.
5 * Copyright (C) 2020 Google LLC
6 */
8 #ifndef __CROS_EC_H
9 #define __CROS_EC_H
11 int cros_ec_register(struct cros_ec_device *ec_dev);
12 int cros_ec_unregister(struct cros_ec_device *ec_dev);
14 int cros_ec_suspend(struct cros_ec_device *ec_dev);
15 int cros_ec_resume(struct cros_ec_device *ec_dev);
17 bool cros_ec_handle_event(struct cros_ec_device *ec_dev);
19 #endif /* __CROS_EC_H */