xtensa: implement initialize_cacheattr for MPU cores
[linux/fpc-iii.git] / include / sound / rt5659.h
blob9012e2b25360481e720b9ac8d7e03240285b4946
1 /*
2 * linux/sound/rt5659.h -- Platform data for RT5659
4 * Copyright 2013 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_RT5659_H
12 #define __LINUX_SND_RT5659_H
14 enum rt5659_dmic1_data_pin {
15 RT5659_DMIC1_NULL,
16 RT5659_DMIC1_DATA_IN2N,
17 RT5659_DMIC1_DATA_GPIO5,
18 RT5659_DMIC1_DATA_GPIO9,
19 RT5659_DMIC1_DATA_GPIO11,
22 enum rt5659_dmic2_data_pin {
23 RT5659_DMIC2_NULL,
24 RT5659_DMIC2_DATA_IN2P,
25 RT5659_DMIC2_DATA_GPIO6,
26 RT5659_DMIC2_DATA_GPIO10,
27 RT5659_DMIC2_DATA_GPIO12,
30 enum rt5659_jd_src {
31 RT5659_JD_NULL,
32 RT5659_JD3,
33 RT5659_JD_HDA_HEADER,
36 struct rt5659_platform_data {
37 bool in1_diff;
38 bool in3_diff;
39 bool in4_diff;
41 int ldo1_en; /* GPIO for LDO1_EN */
42 int reset; /* GPIO for RESET */
44 enum rt5659_dmic1_data_pin dmic1_data_pin;
45 enum rt5659_dmic2_data_pin dmic2_data_pin;
46 enum rt5659_jd_src jd_src;
49 #endif