18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef __DT_RT5640_H 38c2ecf20Sopenharmony_ci#define __DT_RT5640_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#define RT5640_DMIC1_DATA_PIN_NONE 0 68c2ecf20Sopenharmony_ci#define RT5640_DMIC1_DATA_PIN_IN1P 1 78c2ecf20Sopenharmony_ci#define RT5640_DMIC1_DATA_PIN_GPIO3 2 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#define RT5640_DMIC2_DATA_PIN_NONE 0 108c2ecf20Sopenharmony_ci#define RT5640_DMIC2_DATA_PIN_IN1N 1 118c2ecf20Sopenharmony_ci#define RT5640_DMIC2_DATA_PIN_GPIO4 2 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci#define RT5640_JD_SRC_GPIO1 1 148c2ecf20Sopenharmony_ci#define RT5640_JD_SRC_JD1_IN4P 2 158c2ecf20Sopenharmony_ci#define RT5640_JD_SRC_JD2_IN4N 3 168c2ecf20Sopenharmony_ci#define RT5640_JD_SRC_GPIO2 4 178c2ecf20Sopenharmony_ci#define RT5640_JD_SRC_GPIO3 5 188c2ecf20Sopenharmony_ci#define RT5640_JD_SRC_GPIO4 6 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci#define RT5640_OVCD_SF_0P5 0 218c2ecf20Sopenharmony_ci#define RT5640_OVCD_SF_0P75 1 228c2ecf20Sopenharmony_ci#define RT5640_OVCD_SF_1P0 2 238c2ecf20Sopenharmony_ci#define RT5640_OVCD_SF_1P5 3 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci#endif /* __DT_RT5640_H */ 26