acpi: Add IORT helper functions
[coreboot2.git] / src / drivers / i2c / rt5645 / chip.h
blobe8537ee6a8c44e4e4a9da15f62d50f9a7bc829bc
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpi_device.h>
5 struct drivers_i2c_rt5645_config {
6 const char *desc; /* Device Description */
7 const char *name; /* ACPI Device Name */
8 const char *hid; /* ACPI _HID */
9 struct acpi_gpio cbj_sleeve; /* sleeve power gate GPIO */
10 struct acpi_gpio hp_detect;
11 unsigned int uid;
12 unsigned int bus_speed;
13 /* Allow GPIO based interrupt or PIRQ */
14 struct acpi_gpio irq_gpio;
15 struct acpi_irq irq;
16 uint32_t jd_mode;