1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/sound/rt5660.h -- Platform data for RT5660
5 * Copyright 2016 Realtek Semiconductor Corp.
6 * Author: Oder Chiou <oder_chiou@realtek.com>
9 #ifndef __LINUX_SND_RT5660_H
10 #define __LINUX_SND_RT5660_H
12 enum rt5660_dmic1_data_pin {
14 RT5660_DMIC1_DATA_GPIO2,
15 RT5660_DMIC1_DATA_IN1P,
18 struct rt5660_platform_data {
19 /* IN1 & IN3 can optionally be differential */
23 bool poweroff_codec_in_suspend;
25 enum rt5660_dmic1_data_pin dmic1_data_pin;