blob: 7e8656cec3ec28b9a4e3001aaa80fd0ffeffc685 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Oder Chiou2b26dd42016-09-19 19:26:08 +08002/*
3 * linux/sound/rt5660.h -- Platform data for RT5660
4 *
5 * Copyright 2016 Realtek Semiconductor Corp.
6 * Author: Oder Chiou <oder_chiou@realtek.com>
Oder Chiou2b26dd42016-09-19 19:26:08 +08007 */
8
9#ifndef __LINUX_SND_RT5660_H
10#define __LINUX_SND_RT5660_H
11
12enum rt5660_dmic1_data_pin {
13 RT5660_DMIC1_NULL,
14 RT5660_DMIC1_DATA_GPIO2,
15 RT5660_DMIC1_DATA_IN1P,
16};
17
18struct rt5660_platform_data {
19 /* IN1 & IN3 can optionally be differential */
20 bool in1_diff;
21 bool in3_diff;
22 bool use_ldo2;
23 bool poweroff_codec_in_suspend;
24
25 enum rt5660_dmic1_data_pin dmic1_data_pin;
26};
27
28#endif