1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 2 /* 3 * Analog Devices ADAU1373 Audio Codec drive 3 * Analog Devices ADAU1373 Audio Codec drive 4 * 4 * 5 * Copyright 2011 Analog Devices Inc. 5 * Copyright 2011 Analog Devices Inc. 6 * Author: Lars-Peter Clausen <lars@metafoo.de 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 7 */ 7 */ 8 8 9 #ifndef __SOUND_ADAU1373_H__ 9 #ifndef __SOUND_ADAU1373_H__ 10 #define __SOUND_ADAU1373_H__ 10 #define __SOUND_ADAU1373_H__ 11 11 12 enum adau1373_micbias_voltage { 12 enum adau1373_micbias_voltage { 13 ADAU1373_MICBIAS_2_9V = 0, 13 ADAU1373_MICBIAS_2_9V = 0, 14 ADAU1373_MICBIAS_2_2V = 1, 14 ADAU1373_MICBIAS_2_2V = 1, 15 ADAU1373_MICBIAS_2_6V = 2, 15 ADAU1373_MICBIAS_2_6V = 2, 16 ADAU1373_MICBIAS_1_8V = 3, 16 ADAU1373_MICBIAS_1_8V = 3, 17 }; 17 }; 18 18 19 #define ADAU1373_DRC_SIZE 13 19 #define ADAU1373_DRC_SIZE 13 20 20 21 struct adau1373_platform_data { 21 struct adau1373_platform_data { 22 bool input_differential[4]; 22 bool input_differential[4]; 23 bool lineout_differential; 23 bool lineout_differential; 24 bool lineout_ground_sense; 24 bool lineout_ground_sense; 25 25 26 unsigned int num_drc; 26 unsigned int num_drc; 27 uint8_t drc_setting[3][ADAU1373_DRC_SI 27 uint8_t drc_setting[3][ADAU1373_DRC_SIZE]; 28 28 29 enum adau1373_micbias_voltage micbias1 29 enum adau1373_micbias_voltage micbias1; 30 enum adau1373_micbias_voltage micbias2 30 enum adau1373_micbias_voltage micbias2; 31 }; 31 }; 32 32 33 #endif 33 #endif 34 34
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.