blob: 18b79a761f10657bb9a2906fc605b1332c5c901f [file] [log] [blame]
Bard Liao40bc18a2014-04-16 19:20:46 +08001/*
2 * linux/sound/rt286.h -- Platform data for RT286
3 *
4 * Copyright 2013 Realtek Microelectronics
5 *
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 */
10
11#ifndef __LINUX_SND_RT5651_H
12#define __LINUX_SND_RT5651_H
13
Carlo Caione80bbe4a2017-10-20 12:18:55 +010014enum rt5651_jd_src {
15 RT5651_JD_NULL,
16 RT5651_JD1_1,
17 RT5651_JD1_2,
18 RT5651_JD2,
19};
20
Bard Liao40bc18a2014-04-16 19:20:46 +080021struct rt5651_platform_data {
22 /* IN2 can optionally be differential */
23 bool in2_diff;
24
25 bool dmic_en;
Carlo Caione80bbe4a2017-10-20 12:18:55 +010026 enum rt5651_jd_src jd_src;
Bard Liao40bc18a2014-04-16 19:20:46 +080027};
28
29#endif