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