2 * ADAU1977/ADAU1978/ADAU1979 driver
4 * Copyright 2014 Analog Devices Inc.
5 * Author: Lars-Peter Clausen <lars@metafoo.de>
7 * Licensed under the GPL-2.
10 #ifndef __LINUX_PLATFORM_DATA_ADAU1977_H__
11 #define __LINUX_PLATFORM_DATA_ADAU1977_H__
14 * enum adau1977_micbias - ADAU1977 MICBIAS pin voltage setting
15 * @ADAU1977_MICBIAS_5V0: MICBIAS is set to 5.0 V
16 * @ADAU1977_MICBIAS_5V5: MICBIAS is set to 5.5 V
17 * @ADAU1977_MICBIAS_6V0: MICBIAS is set to 6.0 V
18 * @ADAU1977_MICBIAS_6V5: MICBIAS is set to 6.5 V
19 * @ADAU1977_MICBIAS_7V0: MICBIAS is set to 7.0 V
20 * @ADAU1977_MICBIAS_7V5: MICBIAS is set to 7.5 V
21 * @ADAU1977_MICBIAS_8V0: MICBIAS is set to 8.0 V
22 * @ADAU1977_MICBIAS_8V5: MICBIAS is set to 8.5 V
23 * @ADAU1977_MICBIAS_9V0: MICBIAS is set to 9.0 V
25 enum adau1977_micbias
{
26 ADAU1977_MICBIAS_5V0
= 0x0,
27 ADAU1977_MICBIAS_5V5
= 0x1,
28 ADAU1977_MICBIAS_6V0
= 0x2,
29 ADAU1977_MICBIAS_6V5
= 0x3,
30 ADAU1977_MICBIAS_7V0
= 0x4,
31 ADAU1977_MICBIAS_7V5
= 0x5,
32 ADAU1977_MICBIAS_8V0
= 0x6,
33 ADAU1977_MICBIAS_8V5
= 0x7,
34 ADAU1977_MICBIAS_9V0
= 0x8,
38 * struct adau1977_platform_data - Platform configuration data for the ADAU1977
39 * @micbias: Specifies the voltage for the MICBIAS pin
41 struct adau1977_platform_data
{
42 enum adau1977_micbias micbias
;