xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/sound/rt5640.h (revision dd41de95a84d979615a2ef11df6850622bf6184e)
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 
20 #define RT5640_OVCD_SF_0P5		0
21 #define RT5640_OVCD_SF_0P75		1
22 #define RT5640_OVCD_SF_1P0		2
23 #define RT5640_OVCD_SF_1P5		3
24 
25 #endif /* __DT_RT5640_H */
26