1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Device Tree defines for Madera codecs
5 * Copyright (C) 2016-2017 Cirrus Logic, Inc. and
6 * Cirrus Logic International Semiconductor Ltd.
9 #ifndef DT_BINDINGS_SOUND_MADERA_H
10 #define DT_BINDINGS_SOUND_MADERA_H
12 #define MADERA_INMODE_DIFF 0
13 #define MADERA_INMODE_SE 1
14 #define MADERA_INMODE_DMIC 2
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
21 #define CS47L35_DMIC_REF_MICBIAS1B 1
22 #define CS47L35_DMIC_REF_MICBIAS2A 2
23 #define CS47L35_DMIC_REF_MICBIAS2B 3