summaryrefslogtreecommitdiff
path: root/src/drivers/generic/max98357a/chip.h
blob: 95a58f09d6813096e9ba04eb0ba5858576918112 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

#include <arch/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;
};