File: rt5640.h

package info (click to toggle)
linux 5.10.13-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,182,916 kB
  • sloc: ansic: 19,488,074; asm: 263,676; sh: 73,873; makefile: 44,685; perl: 34,640; python: 32,386; cpp: 6,070; yacc: 4,755; lex: 2,742; awk: 1,214; ruby: 25; sed: 5
file content (25 lines) | stat: -rw-r--r-- 652 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __DT_RT5640_H
#define __DT_RT5640_H

#define RT5640_DMIC1_DATA_PIN_NONE	0
#define RT5640_DMIC1_DATA_PIN_IN1P	1
#define RT5640_DMIC1_DATA_PIN_GPIO3	2

#define RT5640_DMIC2_DATA_PIN_NONE	0
#define RT5640_DMIC2_DATA_PIN_IN1N	1
#define RT5640_DMIC2_DATA_PIN_GPIO4	2

#define RT5640_JD_SRC_GPIO1		1
#define RT5640_JD_SRC_JD1_IN4P		2
#define RT5640_JD_SRC_JD2_IN4N		3
#define RT5640_JD_SRC_GPIO2		4
#define RT5640_JD_SRC_GPIO3		5
#define RT5640_JD_SRC_GPIO4		6

#define RT5640_OVCD_SF_0P5		0
#define RT5640_OVCD_SF_0P75		1
#define RT5640_OVCD_SF_1P0		2
#define RT5640_OVCD_SF_1P5		3

#endif /* __DT_RT5640_H */