1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 #ifndef __DRIVERS_GENERIC_MAX98357A_CHIP_H__ 4 #define __DRIVERS_GENERIC_MAX98357A_CHIP_H__ 5 6 #include <acpi/acpi_device.h> 7 8 struct drivers_generic_max98357a_config { 9 /* ACPI _HID */ 10 const char *hid; 11 12 /* SDMODE GPIO */ 13 struct acpi_gpio sdmode_gpio; 14 15 /* SDMODE Delay */ 16 unsigned int sdmode_delay; 17 18 /* GPIO used to indicate if this device is present */ 19 unsigned int device_present_gpio; 20 unsigned int device_present_gpio_invert; 21 }; 22 23 #endif /* __DRIVERS_GENERIC_MAX98357A_CHIP_H__ */ 24