Warning: This file is not a C or C++ file. It does not have highlighting.
1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|---|
2 | /* |
3 | * DA9055 ALSA Soc codec driver |
4 | * |
5 | * Copyright (c) 2012 Dialog Semiconductor |
6 | * |
7 | * Tested on (Samsung SMDK6410 board + DA9055 EVB) using I2S and I2C |
8 | * Written by David Chen <david.chen@diasemi.com> and |
9 | * Ashish Chavan <ashish.chavan@kpitcummins.com> |
10 | */ |
11 | |
12 | #ifndef __SOUND_DA9055_H__ |
13 | #define __SOUND_DA9055_H__ |
14 | |
15 | enum da9055_micbias_voltage { |
16 | DA9055_MICBIAS_1_6V = 0, |
17 | DA9055_MICBIAS_1_8V = 1, |
18 | DA9055_MICBIAS_2_1V = 2, |
19 | DA9055_MICBIAS_2_2V = 3, |
20 | }; |
21 | |
22 | struct da9055_platform_data { |
23 | /* Selects which of the two MicBias pins acts as the bias source */ |
24 | bool micbias_source; |
25 | /* Selects the micbias voltage */ |
26 | enum da9055_micbias_voltage micbias; |
27 | }; |
28 | |
29 | #endif |
30 |
Warning: This file is not a C or C++ file. It does not have highlighting.