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.
11 #ifndef __LINUX_SND_RT5665_H
12 #define __LINUX_SND_RT5665_H
14 enum rt5665_dmic1_data_pin {
16 RT5665_DMIC1_DATA_GPIO4,
17 RT5665_DMIC1_DATA_IN2N,
20 enum rt5665_dmic2_data_pin {
22 RT5665_DMIC2_DATA_GPIO5,
23 RT5665_DMIC2_DATA_IN2P,
31 struct rt5665_platform_data {
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;