]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/sound/rt5651.h
bitmap: Add bitmap_alloc(), bitmap_zalloc() and bitmap_free()
[mirror_ubuntu-bionic-kernel.git] / include / sound / rt5651.h
CommitLineData
40bc18a2
BL
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
80bbe4a3
CC
14enum rt5651_jd_src {
15 RT5651_JD_NULL,
16 RT5651_JD1_1,
17 RT5651_JD1_2,
18 RT5651_JD2,
19};
20
40bc18a2
BL
21struct rt5651_platform_data {
22 /* IN2 can optionally be differential */
23 bool in2_diff;
24
25 bool dmic_en;
80bbe4a3 26 enum rt5651_jd_src jd_src;
40bc18a2
BL
27};
28
29#endif