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