mfd: wm5102: Make additional DSP registers available to the user
Expose some DSP registers which are useful for DSP users to be able to access whilst debugging their firmware. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
Родитель
a0b0ea491e
Коммит
8dbb947af3
|
@ -1853,6 +1853,23 @@ static bool wm5102_readable_register(struct device *dev, unsigned int reg)
|
|||
case ARIZONA_DSP1_STATUS_1:
|
||||
case ARIZONA_DSP1_STATUS_2:
|
||||
case ARIZONA_DSP1_STATUS_3:
|
||||
case ARIZONA_DSP1_WDMA_BUFFER_1:
|
||||
case ARIZONA_DSP1_WDMA_BUFFER_2:
|
||||
case ARIZONA_DSP1_WDMA_BUFFER_3:
|
||||
case ARIZONA_DSP1_WDMA_BUFFER_4:
|
||||
case ARIZONA_DSP1_WDMA_BUFFER_5:
|
||||
case ARIZONA_DSP1_WDMA_BUFFER_6:
|
||||
case ARIZONA_DSP1_WDMA_BUFFER_7:
|
||||
case ARIZONA_DSP1_WDMA_BUFFER_8:
|
||||
case ARIZONA_DSP1_RDMA_BUFFER_1:
|
||||
case ARIZONA_DSP1_RDMA_BUFFER_2:
|
||||
case ARIZONA_DSP1_RDMA_BUFFER_3:
|
||||
case ARIZONA_DSP1_RDMA_BUFFER_4:
|
||||
case ARIZONA_DSP1_RDMA_BUFFER_5:
|
||||
case ARIZONA_DSP1_RDMA_BUFFER_6:
|
||||
case ARIZONA_DSP1_WDMA_CONFIG_1:
|
||||
case ARIZONA_DSP1_WDMA_CONFIG_2:
|
||||
case ARIZONA_DSP1_RDMA_CONFIG_1:
|
||||
case ARIZONA_DSP1_SCRATCH_0:
|
||||
case ARIZONA_DSP1_SCRATCH_1:
|
||||
case ARIZONA_DSP1_SCRATCH_2:
|
||||
|
@ -1911,6 +1928,23 @@ static bool wm5102_volatile_register(struct device *dev, unsigned int reg)
|
|||
case ARIZONA_DSP1_STATUS_1:
|
||||
case ARIZONA_DSP1_STATUS_2:
|
||||
case ARIZONA_DSP1_STATUS_3:
|
||||
case ARIZONA_DSP1_WDMA_BUFFER_1:
|
||||
case ARIZONA_DSP1_WDMA_BUFFER_2:
|
||||
case ARIZONA_DSP1_WDMA_BUFFER_3:
|
||||
case ARIZONA_DSP1_WDMA_BUFFER_4:
|
||||
case ARIZONA_DSP1_WDMA_BUFFER_5:
|
||||
case ARIZONA_DSP1_WDMA_BUFFER_6:
|
||||
case ARIZONA_DSP1_WDMA_BUFFER_7:
|
||||
case ARIZONA_DSP1_WDMA_BUFFER_8:
|
||||
case ARIZONA_DSP1_RDMA_BUFFER_1:
|
||||
case ARIZONA_DSP1_RDMA_BUFFER_2:
|
||||
case ARIZONA_DSP1_RDMA_BUFFER_3:
|
||||
case ARIZONA_DSP1_RDMA_BUFFER_4:
|
||||
case ARIZONA_DSP1_RDMA_BUFFER_5:
|
||||
case ARIZONA_DSP1_RDMA_BUFFER_6:
|
||||
case ARIZONA_DSP1_WDMA_CONFIG_1:
|
||||
case ARIZONA_DSP1_WDMA_CONFIG_2:
|
||||
case ARIZONA_DSP1_RDMA_CONFIG_1:
|
||||
case ARIZONA_DSP1_SCRATCH_0:
|
||||
case ARIZONA_DSP1_SCRATCH_1:
|
||||
case ARIZONA_DSP1_SCRATCH_2:
|
||||
|
|
|
@ -1034,6 +1034,23 @@
|
|||
#define ARIZONA_DSP1_STATUS_1 0x1104
|
||||
#define ARIZONA_DSP1_STATUS_2 0x1105
|
||||
#define ARIZONA_DSP1_STATUS_3 0x1106
|
||||
#define ARIZONA_DSP1_WDMA_BUFFER_1 0x1110
|
||||
#define ARIZONA_DSP1_WDMA_BUFFER_2 0x1111
|
||||
#define ARIZONA_DSP1_WDMA_BUFFER_3 0x1112
|
||||
#define ARIZONA_DSP1_WDMA_BUFFER_4 0x1113
|
||||
#define ARIZONA_DSP1_WDMA_BUFFER_5 0x1114
|
||||
#define ARIZONA_DSP1_WDMA_BUFFER_6 0x1115
|
||||
#define ARIZONA_DSP1_WDMA_BUFFER_7 0x1116
|
||||
#define ARIZONA_DSP1_WDMA_BUFFER_8 0x1117
|
||||
#define ARIZONA_DSP1_RDMA_BUFFER_1 0x1120
|
||||
#define ARIZONA_DSP1_RDMA_BUFFER_2 0x1121
|
||||
#define ARIZONA_DSP1_RDMA_BUFFER_3 0x1122
|
||||
#define ARIZONA_DSP1_RDMA_BUFFER_4 0x1123
|
||||
#define ARIZONA_DSP1_RDMA_BUFFER_5 0x1124
|
||||
#define ARIZONA_DSP1_RDMA_BUFFER_6 0x1125
|
||||
#define ARIZONA_DSP1_WDMA_CONFIG_1 0x1130
|
||||
#define ARIZONA_DSP1_WDMA_CONFIG_2 0x1131
|
||||
#define ARIZONA_DSP1_RDMA_CONFIG_1 0x1134
|
||||
#define ARIZONA_DSP1_SCRATCH_0 0x1140
|
||||
#define ARIZONA_DSP1_SCRATCH_1 0x1141
|
||||
#define ARIZONA_DSP1_SCRATCH_2 0x1142
|
||||
|
|
Загрузка…
Ссылка в новой задаче