18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Device Tree defines for Madera codecs 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2016-2017 Cirrus Logic, Inc. and 68c2ecf20Sopenharmony_ci * Cirrus Logic International Semiconductor Ltd. 78c2ecf20Sopenharmony_ci */ 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#ifndef DT_BINDINGS_SOUND_MADERA_H 108c2ecf20Sopenharmony_ci#define DT_BINDINGS_SOUND_MADERA_H 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#define MADERA_INMODE_DIFF 0 138c2ecf20Sopenharmony_ci#define MADERA_INMODE_SE 1 148c2ecf20Sopenharmony_ci#define MADERA_INMODE_DMIC 2 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci#define MADERA_DMIC_REF_MICVDD 0 178c2ecf20Sopenharmony_ci#define MADERA_DMIC_REF_MICBIAS1 1 188c2ecf20Sopenharmony_ci#define MADERA_DMIC_REF_MICBIAS2 2 198c2ecf20Sopenharmony_ci#define MADERA_DMIC_REF_MICBIAS3 3 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci#define CS47L35_DMIC_REF_MICBIAS1B 1 228c2ecf20Sopenharmony_ci#define CS47L35_DMIC_REF_MICBIAS2A 2 238c2ecf20Sopenharmony_ci#define CS47L35_DMIC_REF_MICBIAS2B 3 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci#endif 26