2014-04-16 19:20:46 +08:00
|
|
|
/*
|
|
|
|
* linux/sound/rt286.h -- Platform data for RT286
|
|
|
|
*
|
|
|
|
* Copyright 2013 Realtek Microelectronics
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __LINUX_SND_RT5651_H
|
|
|
|
#define __LINUX_SND_RT5651_H
|
|
|
|
|
2017-10-20 19:18:55 +08:00
|
|
|
enum rt5651_jd_src {
|
|
|
|
RT5651_JD_NULL,
|
|
|
|
RT5651_JD1_1,
|
|
|
|
RT5651_JD1_2,
|
|
|
|
RT5651_JD2,
|
|
|
|
};
|
|
|
|
|
2014-04-16 19:20:46 +08:00
|
|
|
struct rt5651_platform_data {
|
|
|
|
/* IN2 can optionally be differential */
|
|
|
|
bool in2_diff;
|
|
|
|
|
|
|
|
bool dmic_en;
|
2017-10-20 19:18:55 +08:00
|
|
|
enum rt5651_jd_src jd_src;
|
2014-04-16 19:20:46 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|