1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __DT_RT5640_H 3 #define __DT_RT5640_H 4 5 #define RT5640_DMIC1_DATA_PIN_NONE 0 6 #define RT5640_DMIC1_DATA_PIN_IN1P 1 7 #define RT5640_DMIC1_DATA_PIN_GPIO3 2 8 9 #define RT5640_DMIC2_DATA_PIN_NONE 0 10 #define RT5640_DMIC2_DATA_PIN_IN1N 1 11 #define RT5640_DMIC2_DATA_PIN_GPIO4 2 12 13 #define RT5640_JD_SRC_GPIO1 1 14 #define RT5640_JD_SRC_JD1_IN4P 2 15 #define RT5640_JD_SRC_JD2_IN4N 3 16 #define RT5640_JD_SRC_GPIO2 4 17 #define RT5640_JD_SRC_GPIO3 5 18 #define RT5640_JD_SRC_GPIO4 6 19 #define RT5640_JD_SRC_HDA_HEADER 7 20 21 #define RT5640_OVCD_SF_0P5 0 22 #define RT5640_OVCD_SF_0P75 1 23 #define RT5640_OVCD_SF_1P0 2 24 #define RT5640_OVCD_SF_1P5 3 25 26 #endif /* __DT_RT5640_H */ 27