btrfs: migrate the block group ref counting stuff
[linux/fpc-iii.git] / include / sound / rt5659.h
blobd495311df0866b622ecf52c688c92b1146b89e82
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * linux/sound/rt5659.h -- Platform data for RT5659
5 * Copyright 2013 Realtek Microelectronics
6 */
8 #ifndef __LINUX_SND_RT5659_H
9 #define __LINUX_SND_RT5659_H
11 enum rt5659_dmic1_data_pin {
12 RT5659_DMIC1_NULL,
13 RT5659_DMIC1_DATA_IN2N,
14 RT5659_DMIC1_DATA_GPIO5,
15 RT5659_DMIC1_DATA_GPIO9,
16 RT5659_DMIC1_DATA_GPIO11,
19 enum rt5659_dmic2_data_pin {
20 RT5659_DMIC2_NULL,
21 RT5659_DMIC2_DATA_IN2P,
22 RT5659_DMIC2_DATA_GPIO6,
23 RT5659_DMIC2_DATA_GPIO10,
24 RT5659_DMIC2_DATA_GPIO12,
27 enum rt5659_jd_src {
28 RT5659_JD_NULL,
29 RT5659_JD3,
30 RT5659_JD_HDA_HEADER,
33 struct rt5659_platform_data {
34 bool in1_diff;
35 bool in3_diff;
36 bool in4_diff;
38 int ldo1_en; /* GPIO for LDO1_EN */
39 int reset; /* GPIO for RESET */
41 enum rt5659_dmic1_data_pin dmic1_data_pin;
42 enum rt5659_dmic2_data_pin dmic2_data_pin;
43 enum rt5659_jd_src jd_src;
46 #endif