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