summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/rt5645/chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/rt5645/chip.h')
-rw-r--r--src/drivers/i2c/rt5645/chip.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/drivers/i2c/rt5645/chip.h b/src/drivers/i2c/rt5645/chip.h
new file mode 100644
index 0000000000..e8537ee6a8
--- /dev/null
+++ b/src/drivers/i2c/rt5645/chip.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <acpi/acpi_device.h>
+
+struct drivers_i2c_rt5645_config {
+ const char *desc; /* Device Description */
+ const char *name; /* ACPI Device Name */
+ const char *hid; /* ACPI _HID */
+ struct acpi_gpio cbj_sleeve; /* sleeve power gate GPIO */
+ struct acpi_gpio hp_detect;
+ unsigned int uid;
+ unsigned int bus_speed;
+ /* Allow GPIO based interrupt or PIRQ */
+ struct acpi_gpio irq_gpio;
+ struct acpi_irq irq;
+ uint32_t jd_mode;
+};