xref: /linux/include/dt-bindings/sound/madera.h (revision f0b1f5f08dfbc043fb3759a3ed6d0a249d55e8ec)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Device Tree defines for Madera codecs
4  *
5  * Copyright (C) 2016-2017 Cirrus Logic, Inc. and
6  *                         Cirrus Logic International Semiconductor Ltd.
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License version 2 as
10  * published by the Free Software Foundation.
11  */
12 
13 #ifndef DT_BINDINGS_SOUND_MADERA_H
14 #define DT_BINDINGS_SOUND_MADERA_H
15 
16 #define MADERA_INMODE_DIFF		0
17 #define MADERA_INMODE_SE		1
18 #define MADERA_INMODE_DMIC		2
19 
20 #define MADERA_DMIC_REF_MICVDD		0
21 #define MADERA_DMIC_REF_MICBIAS1	1
22 #define MADERA_DMIC_REF_MICBIAS2	2
23 #define MADERA_DMIC_REF_MICBIAS3	3
24 
25 #define CS47L35_DMIC_REF_MICBIAS1B	1
26 #define CS47L35_DMIC_REF_MICBIAS2A	2
27 #define CS47L35_DMIC_REF_MICBIAS2B	3
28 
29 #endif
30