2019-06-25 23:37:27 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2019-06-19 21:41:55 +08:00
|
|
|
/*
|
|
|
|
* Device Tree defines for Madera codecs
|
|
|
|
*
|
|
|
|
* Copyright (C) 2016-2017 Cirrus Logic, Inc. and
|
|
|
|
* Cirrus Logic International Semiconductor Ltd.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef DT_BINDINGS_SOUND_MADERA_H
|
|
|
|
#define DT_BINDINGS_SOUND_MADERA_H
|
|
|
|
|
|
|
|
#define MADERA_INMODE_DIFF 0
|
|
|
|
#define MADERA_INMODE_SE 1
|
|
|
|
#define MADERA_INMODE_DMIC 2
|
|
|
|
|
|
|
|
#define MADERA_DMIC_REF_MICVDD 0
|
|
|
|
#define MADERA_DMIC_REF_MICBIAS1 1
|
|
|
|
#define MADERA_DMIC_REF_MICBIAS2 2
|
|
|
|
#define MADERA_DMIC_REF_MICBIAS3 3
|
|
|
|
|
|
|
|
#define CS47L35_DMIC_REF_MICBIAS1B 1
|
|
|
|
#define CS47L35_DMIC_REF_MICBIAS2A 2
|
|
|
|
#define CS47L35_DMIC_REF_MICBIAS2B 3
|
|
|
|
|
|
|
|
#endif
|