162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci#ifndef __DT_RT5640_H 362306a36Sopenharmony_ci#define __DT_RT5640_H 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci#define RT5640_DMIC1_DATA_PIN_NONE 0 662306a36Sopenharmony_ci#define RT5640_DMIC1_DATA_PIN_IN1P 1 762306a36Sopenharmony_ci#define RT5640_DMIC1_DATA_PIN_GPIO3 2 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci#define RT5640_DMIC2_DATA_PIN_NONE 0 1062306a36Sopenharmony_ci#define RT5640_DMIC2_DATA_PIN_IN1N 1 1162306a36Sopenharmony_ci#define RT5640_DMIC2_DATA_PIN_GPIO4 2 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci#define RT5640_JD_SRC_GPIO1 1 1462306a36Sopenharmony_ci#define RT5640_JD_SRC_JD1_IN4P 2 1562306a36Sopenharmony_ci#define RT5640_JD_SRC_JD2_IN4N 3 1662306a36Sopenharmony_ci#define RT5640_JD_SRC_GPIO2 4 1762306a36Sopenharmony_ci#define RT5640_JD_SRC_GPIO3 5 1862306a36Sopenharmony_ci#define RT5640_JD_SRC_GPIO4 6 1962306a36Sopenharmony_ci#define RT5640_JD_SRC_HDA_HEADER 7 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ci#define RT5640_OVCD_SF_0P5 0 2262306a36Sopenharmony_ci#define RT5640_OVCD_SF_0P75 1 2362306a36Sopenharmony_ci#define RT5640_OVCD_SF_1P0 2 2462306a36Sopenharmony_ci#define RT5640_OVCD_SF_1P5 3 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci#endif /* __DT_RT5640_H */ 27