mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 09:44:18 +08:00
80bbe4a30b
Enable jack detection for the RT5651 codec on the JD* pins. Signed-off-by: Carlo Caione <carlo@endlessm.com> Signed-off-by: Mark Brown <broonie@kernel.org>
30 lines
581 B
C
30 lines
581 B
C
/*
|
|
* 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
|
|
|
|
enum rt5651_jd_src {
|
|
RT5651_JD_NULL,
|
|
RT5651_JD1_1,
|
|
RT5651_JD1_2,
|
|
RT5651_JD2,
|
|
};
|
|
|
|
struct rt5651_platform_data {
|
|
/* IN2 can optionally be differential */
|
|
bool in2_diff;
|
|
|
|
bool dmic_en;
|
|
enum rt5651_jd_src jd_src;
|
|
};
|
|
|
|
#endif
|