xref: /netbsd-src/sys/external/gpl2/dts/dist/include/dt-bindings/reset/amlogic,meson-g12a-audio-reset.h (revision 4effb9b18f024fdac2e35b6e9f6ec111f2d026be)
1 /*	$NetBSD: amlogic,meson-g12a-audio-reset.h,v 1.1.1.1 2020/01/03 14:33:06 skrll Exp $	*/
2 
3 /* SPDX-License-Identifier: GPL-2.0 */
4 /*
5  * Copyright (c) 2019 BayLibre, SAS.
6  * Author: Jerome Brunet <jbrunet@baylibre.com>
7  *
8  */
9 
10 #ifndef _DT_BINDINGS_AMLOGIC_MESON_G12A_AUDIO_RESET_H
11 #define _DT_BINDINGS_AMLOGIC_MESON_G12A_AUDIO_RESET_H
12 
13 #define AUD_RESET_PDM		0
14 #define AUD_RESET_TDMIN_A	1
15 #define AUD_RESET_TDMIN_B	2
16 #define AUD_RESET_TDMIN_C	3
17 #define AUD_RESET_TDMIN_LB	4
18 #define AUD_RESET_LOOPBACK	5
19 #define AUD_RESET_TODDR_A	6
20 #define AUD_RESET_TODDR_B	7
21 #define AUD_RESET_TODDR_C	8
22 #define AUD_RESET_FRDDR_A	9
23 #define AUD_RESET_FRDDR_B	10
24 #define AUD_RESET_FRDDR_C	11
25 #define AUD_RESET_TDMOUT_A	12
26 #define AUD_RESET_TDMOUT_B	13
27 #define AUD_RESET_TDMOUT_C	14
28 #define AUD_RESET_SPDIFOUT	15
29 #define AUD_RESET_SPDIFOUT_B	16
30 #define AUD_RESET_SPDIFIN	17
31 #define AUD_RESET_EQDRC		18
32 #define AUD_RESET_RESAMPLE	19
33 #define AUD_RESET_DDRARB	20
34 #define AUD_RESET_POWDET	21
35 #define AUD_RESET_TORAM		22
36 #define AUD_RESET_TOACODEC	23
37 #define AUD_RESET_TOHDMITX	24
38 #define AUD_RESET_CLKTREE	25
39 
40 /* SM1 added resets */
41 #define AUD_RESET_RESAMPLE_B	26
42 #define AUD_RESET_TOVAD		27
43 #define AUD_RESET_LOCKER	28
44 #define AUD_RESET_SPDIFIN_LB	29
45 #define AUD_RESET_FRATV		30
46 #define AUD_RESET_FRHDMIRX	31
47 #define AUD_RESET_FRDDR_D	32
48 #define AUD_RESET_TODDR_D	33
49 #define AUD_RESET_LOOPBACK_B	34
50 #define AUD_RESET_EARCTX	35
51 #define AUD_RESET_EARCRX	36
52 #define AUD_RESET_FRDDR_E	37
53 #define AUD_RESET_TODDR_E	38
54 
55 #endif
56