summaryrefslogtreecommitdiff
path: root/src/drivers/generic/max98357a/chip.h
blob: 1c4aa3d66c0329e8e6c3bfdaefa73b6990327d3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0-only */

#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;
};