arch/x86: Define macros for hard-coded HPET registers
[coreboot.git] / src / drivers / generic / max98357a / chip.h
blob3916b80f86f34fcdb98f34593449110a4e529c85
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __DRIVERS_GENERIC_MAX98357A_CHIP_H__
4 #define __DRIVERS_GENERIC_MAX98357A_CHIP_H__
6 #include <acpi/acpi_device.h>
8 struct drivers_generic_max98357a_config {
9 /* ACPI _HID */
10 const char *hid;
12 /* SDMODE GPIO */
13 struct acpi_gpio sdmode_gpio;
15 /* SDMODE Delay */
16 unsigned int sdmode_delay;
18 /* GPIO used to indicate if this device is present */
19 unsigned int device_present_gpio;
20 unsigned int device_present_gpio_invert;
23 #endif /* __DRIVERS_GENERIC_MAX98357A_CHIP_H__ */