]> git.ipfire.org Git - thirdparty/linux.git/blame - include/sound/rt5645.h
Merge branch 'flow_offload-hardware-priority-fixes'
[thirdparty/linux.git] / include / sound / rt5645.h
CommitLineData
d2912cb1 1/* SPDX-License-Identifier: GPL-2.0-only */
1319b2f6
OC
2/*
3 * linux/sound/rt5645.h -- Platform data for RT5645
4 *
5 * Copyright 2013 Realtek Microelectronics
1319b2f6
OC
6 */
7
8#ifndef __LINUX_SND_RT5645_H
9#define __LINUX_SND_RT5645_H
10
11struct rt5645_platform_data {
12 /* IN2 can optionally be differential */
13 bool in2_diff;
14
1319b2f6
OC
15 unsigned int dmic1_data_pin;
16 /* 0 = IN2N; 1 = GPIO5; 2 = GPIO11 */
17 unsigned int dmic2_data_pin;
18 /* 0 = IN2P; 1 = GPIO6; 2 = GPIO10; 3 = GPIO12 */
f3fa1bbd 19
2d4e2d02 20 unsigned int jd_mode;
89575022
BL
21 /* Use level triggered irq */
22 bool level_trigger_irq;
aea086dd
BL
23 /* Invert JD1_1 status polarity */
24 bool inv_jd1_1;
aa9c387c
HG
25
26 /* Value to asign to snd_soc_card.long_name */
27 const char *long_name;
1319b2f6
OC
28};
29
30#endif