hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/include/sound/da7219.h
....@@ -1,14 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * da7219.h - DA7219 ASoC Codec Driver Platform Data
34 *
45 * Copyright (c) 2015 Dialog Semiconductor
56 *
67 * Author: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
7
- *
8
- * This program is free software; you can redistribute it and/or modify it
9
- * under the terms of the GNU General Public License as published by the
10
- * Free Software Foundation; either version 2 of the License, or (at your
11
- * option) any later version.
128 */
139
1410 #ifndef __DA7219_PDATA_H
....@@ -33,10 +29,16 @@
3329
3430 struct da7219_aad_pdata;
3531
32
+enum da7219_dai_clks {
33
+ DA7219_DAI_WCLK_IDX = 0,
34
+ DA7219_DAI_BCLK_IDX,
35
+ DA7219_DAI_NUM_CLKS,
36
+};
37
+
3638 struct da7219_pdata {
3739 bool wakeup_source;
3840
39
- const char *dai_clks_name;
41
+ const char *dai_clk_names[DA7219_DAI_NUM_CLKS];
4042
4143 /* Mic */
4244 enum da7219_micbias_voltage micbias_lvl;