NVMe: Only release requested regions
[linux-2.6-block.git] / include / sound / rt5645.h
CommitLineData
1319b2f6
OC
1/*
2 * linux/sound/rt5645.h -- Platform data for RT5645
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_RT5645_H
12#define __LINUX_SND_RT5645_H
13
14struct rt5645_platform_data {
15 /* IN2 can optionally be differential */
16 bool in2_diff;
17
1319b2f6
OC
18 unsigned int dmic1_data_pin;
19 /* 0 = IN2N; 1 = GPIO5; 2 = GPIO11 */
20 unsigned int dmic2_data_pin;
21 /* 0 = IN2P; 1 = GPIO6; 2 = GPIO10; 3 = GPIO12 */
f3fa1bbd 22
2d4e2d02 23 unsigned int jd_mode;
917536ae
JL
24 /* Invert JD when jack insert */
25 bool jd_invert;
1319b2f6
OC
26};
27
28#endif