]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/sound/rt5660.h
regulator: ab8500: Remove AB8505 USB regulator
[mirror_ubuntu-bionic-kernel.git] / include / sound / rt5660.h
CommitLineData
2b26dd4c
OC
1/*
2 * linux/sound/rt5660.h -- Platform data for RT5660
3 *
4 * Copyright 2016 Realtek Semiconductor Corp.
5 * Author: Oder Chiou <oder_chiou@realtek.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */
11
12#ifndef __LINUX_SND_RT5660_H
13#define __LINUX_SND_RT5660_H
14
15enum rt5660_dmic1_data_pin {
16 RT5660_DMIC1_NULL,
17 RT5660_DMIC1_DATA_GPIO2,
18 RT5660_DMIC1_DATA_IN1P,
19};
20
21struct rt5660_platform_data {
22 /* IN1 & IN3 can optionally be differential */
23 bool in1_diff;
24 bool in3_diff;
25 bool use_ldo2;
26 bool poweroff_codec_in_suspend;
27
28 enum rt5660_dmic1_data_pin dmic1_data_pin;
29};
30
31#endif