vmalloc: fix __GFP_HIGHMEM usage for vmalloc_32 on 32b systems
[linux/fpc-iii.git] / include / sound / rt5665.h
blob963229e71dc713ed648625882c0d41bc86934686
1 /*
2 * linux/sound/rt5665.h -- Platform data for RT5665
4 * Copyright 2016 Realtek Microelectronics
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
11 #ifndef __LINUX_SND_RT5665_H
12 #define __LINUX_SND_RT5665_H
14 enum rt5665_dmic1_data_pin {
15 RT5665_DMIC1_NULL,
16 RT5665_DMIC1_DATA_GPIO4,
17 RT5665_DMIC1_DATA_IN2N,
20 enum rt5665_dmic2_data_pin {
21 RT5665_DMIC2_NULL,
22 RT5665_DMIC2_DATA_GPIO5,
23 RT5665_DMIC2_DATA_IN2P,
26 enum rt5665_jd_src {
27 RT5665_JD_NULL,
28 RT5665_JD1,
31 struct rt5665_platform_data {
32 bool in1_diff;
33 bool in2_diff;
34 bool in3_diff;
35 bool in4_diff;
37 int ldo1_en; /* GPIO for LDO1_EN */
39 enum rt5665_dmic1_data_pin dmic1_data_pin;
40 enum rt5665_dmic2_data_pin dmic2_data_pin;
41 enum rt5665_jd_src jd_src;
43 unsigned int sar_hs_type;
46 #endif