xref: /linux/sound/soc/amd/rpl/rpl_acp6x_chip_offset_byte.h (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * AMD ACP 6.2 Register Documentation
4  *
5  * Copyright 2022 Advanced Micro Devices, Inc.
6  */
7 
8 #ifndef _rpl_acp6x_OFFSET_HEADER
9 #define _rpl_acp6x_OFFSET_HEADER
10 
11 /* Registers from ACP_CLKRST block */
12 #define ACP_SOFT_RESET                                0x1241000
13 #define ACP_CONTROL                                   0x1241004
14 #define ACP_STATUS                                    0x1241008
15 #define ACP_DYNAMIC_CG_MASTER_CONTROL                 0x1241010
16 #define ACP_PGFSM_CONTROL                             0x124101C
17 #define ACP_PGFSM_STATUS                              0x1241020
18 #define ACP_CLKMUX_SEL                                0x1241024
19 
20 /* Registers from ACP_AON block */
21 #define ACP_PME_EN                                    0x1241400
22 #define ACP_DEVICE_STATE                              0x1241404
23 #define AZ_DEVICE_STATE                               0x1241408
24 #define ACP_PIN_CONFIG                                0x1241440
25 #define ACP_PAD_PULLUP_CTRL                           0x1241444
26 #define ACP_PAD_PULLDOWN_CTRL                         0x1241448
27 #define ACP_PAD_DRIVE_STRENGTH_CTRL                   0x124144C
28 #define ACP_PAD_SCHMEN_CTRL                           0x1241450
29 
30 #endif
31