Bard Liao | 40bc18a | 2014-04-16 19:20:46 +0800 | [diff] [blame] | 1 | /* |
| 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 Caione | 80bbe4a | 2017-10-20 12:18:55 +0100 | [diff] [blame] | 14 | enum rt5651_jd_src { |
| 15 | RT5651_JD_NULL, |
| 16 | RT5651_JD1_1, |
| 17 | RT5651_JD1_2, |
| 18 | RT5651_JD2, |
| 19 | }; |
| 20 | |
Bard Liao | 40bc18a | 2014-04-16 19:20:46 +0800 | [diff] [blame] | 21 | struct rt5651_platform_data { |
| 22 | /* IN2 can optionally be differential */ |
| 23 | bool in2_diff; |
| 24 | |
| 25 | bool dmic_en; |
Carlo Caione | 80bbe4a | 2017-10-20 12:18:55 +0100 | [diff] [blame] | 26 | enum rt5651_jd_src jd_src; |
Bard Liao | 40bc18a | 2014-04-16 19:20:46 +0800 | [diff] [blame] | 27 | }; |
| 28 | |
| 29 | #endif |