1*d2912cb1SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */ 2d59fb285SBard Liao /* 3d59fb285SBard Liao * linux/sound/rt5668.h -- Platform data for RT5668 4d59fb285SBard Liao * 5d59fb285SBard Liao * Copyright 2018 Realtek Microelectronics 6d59fb285SBard Liao */ 7d59fb285SBard Liao 8d59fb285SBard Liao #ifndef __LINUX_SND_RT5668_H 9d59fb285SBard Liao #define __LINUX_SND_RT5668_H 10d59fb285SBard Liao 11d59fb285SBard Liao enum rt5668_dmic1_data_pin { 12d59fb285SBard Liao RT5668_DMIC1_NULL, 13d59fb285SBard Liao RT5668_DMIC1_DATA_GPIO2, 14d59fb285SBard Liao RT5668_DMIC1_DATA_GPIO5, 15d59fb285SBard Liao }; 16d59fb285SBard Liao 17d59fb285SBard Liao enum rt5668_dmic1_clk_pin { 18d59fb285SBard Liao RT5668_DMIC1_CLK_GPIO1, 19d59fb285SBard Liao RT5668_DMIC1_CLK_GPIO3, 20d59fb285SBard Liao }; 21d59fb285SBard Liao 22d59fb285SBard Liao enum rt5668_jd_src { 23d59fb285SBard Liao RT5668_JD_NULL, 24d59fb285SBard Liao RT5668_JD1, 25d59fb285SBard Liao }; 26d59fb285SBard Liao 27d59fb285SBard Liao struct rt5668_platform_data { 28d59fb285SBard Liao enum rt5668_dmic1_data_pin dmic1_data_pin; 29d59fb285SBard Liao enum rt5668_dmic1_clk_pin dmic1_clk_pin; 30d59fb285SBard Liao enum rt5668_jd_src jd_src; 31d59fb285SBard Liao }; 32d59fb285SBard Liao 33d59fb285SBard Liao #endif 34d59fb285SBard Liao 35