Skip to content

Commit b9e5cf5

Browse files
softwareckinashif
authored andcommitted
adsp: ace: ace_dfpmccu structure field description
Added ace_dfpmccu structure field descriptions to make the code more readable. Signed-off-by: Adrian Warecki <[email protected]>
1 parent 0ee6452 commit b9e5cf5

File tree

2 files changed

+96
-0
lines changed

2 files changed

+96
-0
lines changed

soc/xtensa/intel_adsp/ace/include/intel_ace15_mtpm/adsp_shim.h

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,34 +33,82 @@ struct ace_dfpmcch {
3333
* and clock control operation for DSP FW.
3434
*/
3535
struct ace_dfpmccu {
36+
/* Power Management / Clock Capability */
3637
uint32_t dfpmccap; /* Offset: 0x00 */
38+
39+
/* HP RING Oscillator Clock Frequency */
3740
uint32_t dfhrosccf; /* Offset: 0x04 */
41+
42+
/* XTAL Oscillator Clock Frequency */
3843
uint32_t dfxosccf; /* Offset: 0x08 */
44+
45+
/* LP RING Oscillator Clock Frequency */
3946
uint32_t dflrosccf; /* Offset: 0x0c */
47+
48+
/* Serial I/O RING Oscillator Clock Frequency */
4049
uint32_t dfsiorosccf; /* Offset: 0x10 */
50+
51+
/* High Speed I/O RING Oscillator Clock Frequency */
4152
uint32_t dfhsiorosccf; /* Offset: 0x14 */
53+
54+
/* Integrated PLL / ROSC Clock Frequency */
4255
uint32_t dfipllrosccf; /* Offset: 0x18 */
56+
57+
/* Integrated RING Oscillator Clock Voltage */
4358
uint32_t dfirosccv; /* Offset: 0x1c */
59+
60+
/* Fabric Clock Frequency Divider */
4461
uint32_t dffbrcfd; /* Offset: 0x20 */
62+
63+
/* ACE PLL IP Pointer */
4564
uint32_t dfapllptr; /* Offset: 0x24 */
4665
uint32_t _unused0[20];
66+
67+
/* Clock Control */
4768
uint32_t dfclkctl; /* Offset: 0x78 */
69+
70+
/* Clock Status */
4871
uint32_t dfclksts; /* Offset: 0x7c */
72+
73+
/* Integrated Clock Control Register */
4974
uint32_t dfintclkctl; /* Offset: 0x80 */
75+
76+
/* Integrated Clock Status Register */
5077
uint32_t dfcrosts; /* Offset: 0x84 */
78+
79+
/* Integrated Clock Divider Register */
5180
uint32_t dfcrodiv; /* Offset: 0x88 */
5281
uint32_t _unused1[1];
82+
83+
/* Power Control */
5384
uint16_t dfpwrctl; /* Offset: 0x90 */
85+
86+
/* Power Status */
5487
uint16_t dfpwrsts; /* Offset: 0x92 */
5588
uint32_t _unused2[1];
89+
90+
/* Low Power Sequencer DMA Select 0 */
5691
uint32_t dflpsdmas0; /* Offset: 0x98 */
92+
93+
/* Low Power Sequencer DMA Select 1 */
5794
uint32_t dflpsdmas1; /* Offset: 0x9c */
95+
5896
uint32_t _unused3[1];
97+
98+
/* LDO Control */
5999
uint32_t dfldoctl; /* Offset: 0xa4 */
60100
uint32_t _unused4[2];
101+
102+
/* Low Power Sequencer Audio Link Hub Stream Select 0 */
61103
uint32_t dflpsalhsso; /* Offset: 0xb0 */
104+
105+
/* Low Power Sequencer Audio Link Hub Stream Select 1 */
62106
uint32_t dflpsalhss1; /* Offset: 0xb4 */
107+
108+
/* Low Power Sequencer Audio Link Hub Stream Select 2 */
63109
uint32_t dflpsalhss2; /* Offset: 0xb8 */
110+
111+
/* Low Power Sequencer Audio Link Hub Stream Select 3 */
64112
uint32_t dflpsalhss3; /* Offset: 0xbc */
65113
uint32_t _unused5[10];
66114
};

soc/xtensa/intel_adsp/ace/include/intel_ace20_lnl/adsp_shim.h

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,34 +33,82 @@ struct ace_dfpmcch {
3333
* and clock control operation for DSP FW.
3434
*/
3535
struct ace_dfpmccu {
36+
/* Power Management / Clock Capability */
3637
uint32_t dfpmccap; /* Offset: 0x00 */
38+
39+
/* HP RING Oscillator Clock Frequency */
3740
uint32_t dfhrosccf; /* Offset: 0x04 */
41+
42+
/* XTAL Oscillator Clock Frequency */
3843
uint32_t dfxosccf; /* Offset: 0x08 */
44+
45+
/* LP RING Oscillator Clock Frequency */
3946
uint32_t dflrosccf; /* Offset: 0x0c */
47+
48+
/* Serial I/O RING Oscillator Clock Frequency */
4049
uint32_t dfsiorosccf; /* Offset: 0x10 */
50+
51+
/* High Speed I/O RING Oscillator Clock Frequency */
4152
uint32_t dfhsiorosccf; /* Offset: 0x14 */
53+
54+
/* Integrated PLL / ROSC Clock Frequency */
4255
uint32_t dfipllrosccf; /* Offset: 0x18 */
56+
57+
/* Integrated RING Oscillator Clock Voltage */
4358
uint32_t dfirosccv; /* Offset: 0x1c */
59+
60+
/* Fabric Clock Frequency Divider */
4461
uint32_t dffbrcfd; /* Offset: 0x20 */
62+
63+
/* ACE PLL IP Pointer */
4564
uint32_t dfapllptr; /* Offset: 0x24 */
4665
uint32_t _unused0[20];
66+
67+
/* Clock Control */
4768
uint32_t dfclkctl; /* Offset: 0x78 */
69+
70+
/* Clock Status */
4871
uint32_t dfclksts; /* Offset: 0x7c */
72+
73+
/* Integrated Clock Control Register */
4974
uint32_t dfintclkctl; /* Offset: 0x80 */
75+
76+
/* Integrated Clock Status Register */
5077
uint32_t dfcrosts; /* Offset: 0x84 */
78+
79+
/* Integrated Clock Divider Register */
5180
uint32_t dfcrodiv; /* Offset: 0x88 */
5281
uint32_t _unused1[1];
82+
83+
/* Power Control */
5384
uint16_t dfpwrctl; /* Offset: 0x90 */
85+
86+
/* Power Status */
5487
uint16_t dfpwrsts; /* Offset: 0x92 */
5588
uint32_t _unused2[1];
89+
90+
/* Low Power Sequencer DMA Select 0 */
5691
uint32_t dflpsdmas0; /* Offset: 0x98 */
92+
93+
/* Low Power Sequencer DMA Select 1 */
5794
uint32_t dflpsdmas1; /* Offset: 0x9c */
95+
5896
uint32_t _unused3[1];
97+
98+
/* LDO Control */
5999
uint32_t dfldoctl; /* Offset: 0xa4 */
60100
uint32_t _unused4[2];
101+
102+
/* Low Power Sequencer Audio Link Hub Stream Select 0 */
61103
uint32_t dflpsalhsso; /* Offset: 0xb0 */
104+
105+
/* Low Power Sequencer Audio Link Hub Stream Select 1 */
62106
uint32_t dflpsalhss1; /* Offset: 0xb4 */
107+
108+
/* Low Power Sequencer Audio Link Hub Stream Select 2 */
63109
uint32_t dflpsalhss2; /* Offset: 0xb8 */
110+
111+
/* Low Power Sequencer Audio Link Hub Stream Select 3 */
64112
uint32_t dflpsalhss3; /* Offset: 0xbc */
65113
uint32_t _unused5[10];
66114
};

0 commit comments

Comments
 (0)