.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | * da7219.h - DA7219 ASoC Codec Driver Platform Data |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (c) 2015 Dialog Semiconductor |
---|
5 | 6 | * |
---|
6 | 7 | * 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. |
---|
12 | 8 | */ |
---|
13 | 9 | |
---|
14 | 10 | #ifndef __DA7219_PDATA_H |
---|
.. | .. |
---|
33 | 29 | |
---|
34 | 30 | struct da7219_aad_pdata; |
---|
35 | 31 | |
---|
| 32 | +enum da7219_dai_clks { |
---|
| 33 | + DA7219_DAI_WCLK_IDX = 0, |
---|
| 34 | + DA7219_DAI_BCLK_IDX, |
---|
| 35 | + DA7219_DAI_NUM_CLKS, |
---|
| 36 | +}; |
---|
| 37 | + |
---|
36 | 38 | struct da7219_pdata { |
---|
37 | 39 | bool wakeup_source; |
---|
38 | 40 | |
---|
39 | | - const char *dai_clks_name; |
---|
| 41 | + const char *dai_clk_names[DA7219_DAI_NUM_CLKS]; |
---|
40 | 42 | |
---|
41 | 43 | /* Mic */ |
---|
42 | 44 | enum da7219_micbias_voltage micbias_lvl; |
---|