blob: 84657d5241a8d1dd4759e725daf9cc1c9f45bd2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <arch/acpi_device.h>
#include <device/i2c.h>
struct drivers_i2c_generic_config {
const char *hid; /* ACPI _HID (required) */
const char *name; /* ACPI Device Name */
const char *desc; /* Device Description */
unsigned uid; /* ACPI _UID */
enum i2c_speed speed; /* Bus speed in Hz, default is I2C_SPEED_FAST */
unsigned wake; /* Wake GPE */
struct acpi_irq irq; /* Interrupt */
/* GPIO used to indicate if this device is present */
unsigned device_present_gpio;
unsigned device_present_gpio_invert;
};
|