mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 03:15:23 +07:00
80503b23b2
Based on 1 normalized pattern(s): licensed under the gpl 2 or later extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 82 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Richard Fontana <rfontana@redhat.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190524100845.150836982@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
34 lines
706 B
C
34 lines
706 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Analog Devices ADAU1373 Audio Codec drive
|
|
*
|
|
* Copyright 2011 Analog Devices Inc.
|
|
* Author: Lars-Peter Clausen <lars@metafoo.de>
|
|
*/
|
|
|
|
#ifndef __SOUND_ADAU1373_H__
|
|
#define __SOUND_ADAU1373_H__
|
|
|
|
enum adau1373_micbias_voltage {
|
|
ADAU1373_MICBIAS_2_9V = 0,
|
|
ADAU1373_MICBIAS_2_2V = 1,
|
|
ADAU1373_MICBIAS_2_6V = 2,
|
|
ADAU1373_MICBIAS_1_8V = 3,
|
|
};
|
|
|
|
#define ADAU1373_DRC_SIZE 13
|
|
|
|
struct adau1373_platform_data {
|
|
bool input_differential[4];
|
|
bool lineout_differential;
|
|
bool lineout_ground_sense;
|
|
|
|
unsigned int num_drc;
|
|
uint8_t drc_setting[3][ADAU1373_DRC_SIZE];
|
|
|
|
enum adau1373_micbias_voltage micbias1;
|
|
enum adau1373_micbias_voltage micbias2;
|
|
};
|
|
|
|
#endif
|