Skip to content

Commit 0d602fc

Browse files
Jan DakinevichpH5
authored andcommitted
dt-bindings: reset: add bindings for A1 SoC audio reset controller
This reset controller is part of audio clock controller and handled by auxiliary reset driver. Introduced defines supposed to be used together with upcoming device tree nodes for audio clock controller fo A1 SoC. Signed-off-by: Jan Dakinevich <[email protected]> Acked-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Philipp Zabel <[email protected]>
1 parent 5ae1a43 commit 0d602fc

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
2+
/*
3+
* Copyright (c) 2024, SaluteDevices. All Rights Reserved.
4+
*
5+
* Author: Jan Dakinevich <[email protected]>
6+
*/
7+
8+
#ifndef _DT_BINDINGS_AMLOGIC_MESON_A1_AUDIO_RESET_H
9+
#define _DT_BINDINGS_AMLOGIC_MESON_A1_AUDIO_RESET_H
10+
11+
#define AUD_RESET_DDRARB 0
12+
#define AUD_RESET_TDMIN_A 1
13+
#define AUD_RESET_TDMIN_B 2
14+
#define AUD_RESET_TDMIN_LB 3
15+
#define AUD_RESET_LOOPBACK 4
16+
#define AUD_RESET_TDMOUT_A 5
17+
#define AUD_RESET_TDMOUT_B 6
18+
#define AUD_RESET_FRDDR_A 7
19+
#define AUD_RESET_FRDDR_B 8
20+
#define AUD_RESET_TODDR_A 9
21+
#define AUD_RESET_TODDR_B 10
22+
#define AUD_RESET_SPDIFIN 11
23+
#define AUD_RESET_RESAMPLE 12
24+
#define AUD_RESET_EQDRC 13
25+
#define AUD_RESET_LOCKER 14
26+
#define AUD_RESET_TOACODEC 30
27+
#define AUD_RESET_CLKTREE 31
28+
29+
#define AUD_VAD_RESET_DDRARB 0
30+
#define AUD_VAD_RESET_PDM 1
31+
#define AUD_VAD_RESET_TDMIN_VAD 2
32+
#define AUD_VAD_RESET_TODDR_VAD 3
33+
#define AUD_VAD_RESET_TOVAD 4
34+
#define AUD_VAD_RESET_CLKTREE 5
35+
36+
#endif /* _DT_BINDINGS_AMLOGIC_MESON_A1_AUDIO_RESET_H */

0 commit comments

Comments
 (0)