xref: /netbsd-src/sys/external/gpl2/dts/dist/include/dt-bindings/sound/rt5640.h (revision a937e7f55520ed7b51b8188c4b18352ac0f1aeed)
1 /*	$NetBSD: rt5640.h,v 1.1.1.1 2018/06/27 16:27:08 jmcneill Exp $	*/
2 
3 /* SPDX-License-Identifier: GPL-2.0 */
4 #ifndef __DT_RT5640_H
5 #define __DT_RT5640_H
6 
7 #define RT5640_DMIC1_DATA_PIN_NONE	0
8 #define RT5640_DMIC1_DATA_PIN_IN1P	1
9 #define RT5640_DMIC1_DATA_PIN_GPIO3	2
10 
11 #define RT5640_DMIC2_DATA_PIN_NONE	0
12 #define RT5640_DMIC2_DATA_PIN_IN1N	1
13 #define RT5640_DMIC2_DATA_PIN_GPIO4	2
14 
15 #define RT5640_JD_SRC_GPIO1		1
16 #define RT5640_JD_SRC_JD1_IN4P		2
17 #define RT5640_JD_SRC_JD2_IN4N		3
18 #define RT5640_JD_SRC_GPIO2		4
19 #define RT5640_JD_SRC_GPIO3		5
20 #define RT5640_JD_SRC_GPIO4		6
21 
22 #define RT5640_OVCD_SF_0P5		0
23 #define RT5640_OVCD_SF_0P75		1
24 #define RT5640_OVCD_SF_1P0		2
25 #define RT5640_OVCD_SF_1P5		3
26 
27 #endif /* __DT_RT5640_H */
28