diff options
author | Seven Lee <wtli@nuvoton.com> | 2021-03-31 15:57:38 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-04-06 07:03:15 +0000 |
commit | f14705153545819b1a134e8c6f33f38190b75c70 (patch) | |
tree | 1d5ea94232c1603ab4965aebe155668872f6ed1f /src/drivers/generic/nau8315/chip.h | |
parent | 479247a5ecc0dbb234669a7d85ece9bd982aeb6b (diff) | |
download | coreboot-f14705153545819b1a134e8c6f33f38190b75c70.tar.xz |
src/drivers/generic/nau8315: Add nau8315 support
Configure and enable GPIO for speaker amp nau8315.
change return acpi string name directly.
Signed-off-by: Seven Lee <wtli@nuvoton.com>
Change-Id: Ie883d65ced3cd95fe318ba0914ed806ff592258d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51971
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Diffstat (limited to 'src/drivers/generic/nau8315/chip.h')
-rw-r--r-- | src/drivers/generic/nau8315/chip.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/drivers/generic/nau8315/chip.h b/src/drivers/generic/nau8315/chip.h new file mode 100644 index 0000000000..aa194bb3e9 --- /dev/null +++ b/src/drivers/generic/nau8315/chip.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <acpi/acpi_device.h> + +struct drivers_generic_nau8315_config { + /* ENABLE GPIO */ + struct acpi_gpio enable_gpio; +}; |