1 /* SPDX-License-Identifier: GPL-2.0-only */
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 
9 #ifndef DT_BINDINGS_SOUND_MADERA_H
10 #define DT_BINDINGS_SOUND_MADERA_H
11 
12 #define MADERA_INMODE_DIFF		0
13 #define MADERA_INMODE_SE		1
14 #define MADERA_INMODE_DMIC		2
15 
16 #define MADERA_DMIC_REF_MICVDD		0
17 #define MADERA_DMIC_REF_MICBIAS1	1
18 #define MADERA_DMIC_REF_MICBIAS2	2
19 #define MADERA_DMIC_REF_MICBIAS3	3
20 
21 #define CS47L35_DMIC_REF_MICBIAS1B	1
22 #define CS47L35_DMIC_REF_MICBIAS2A	2
23 #define CS47L35_DMIC_REF_MICBIAS2B	3
24 
25 #endif
26