aboutsummaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/i2c_tunnel/chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/google/chromeec/i2c_tunnel/chip.h')
-rw-r--r--src/ec/google/chromeec/i2c_tunnel/chip.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ec/google/chromeec/i2c_tunnel/chip.h b/src/ec/google/chromeec/i2c_tunnel/chip.h
new file mode 100644
index 0000000000..01d52bd0b2
--- /dev/null
+++ b/src/ec/google/chromeec/i2c_tunnel/chip.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* This file is part of the coreboot project. */
+
+#ifndef __EC_GOOGLE_CHROMEEC_I2C_TUNNEL__
+#define __EC_GOOGLE_CHROMEEC_I2C_TUNNEL__
+
+struct ec_google_chromeec_i2c_tunnel_config {
+ /* ACPI device name */
+ const char *name;
+ /* ACPI _UID */
+ unsigned int uid;
+ /* EC I2C bus number we tunnel to on the other side. */
+ unsigned int remote_bus;
+};
+
+#endif /* __EC_GOOGLE_CHROMEEC_I2C_TUNNEL__ */