xref: /aosp_15_r20/external/coreboot/src/drivers/i2c/rt5645/chip.h (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include <acpi/acpi_device.h>
4 
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;
17 };
18