Skip to content

Commit

Permalink
ASoC: SOF: amd: Add Probe register offset for renoir and rembrandt pl…
Browse files Browse the repository at this point in the history
…atform.

Add Probe register offset for renoir and rembrandt platform to get
position update.

Signed-off-by: V sujith kumar Reddy <[email protected]>
  • Loading branch information
reddysujith authored and plbossart committed Jul 7, 2023
1 parent 61ea207 commit e2b8ebc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/soc/sof/amd/pci-rmb.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

#define ACP6x_REG_START 0x1240000
#define ACP6x_REG_END 0x125C000
#define ACP6X_FUTURE_REG_ACLK_0 0x1854

static const struct sof_amd_acp_desc rembrandt_chip_info = {
.rev = 6,
Expand All @@ -36,6 +37,7 @@ static const struct sof_amd_acp_desc rembrandt_chip_info = {
.hw_semaphore_offset = ACP6X_AXI2DAGB_SEM_0,
.acp_clkmux_sel = ACP6X_CLKMUX_SEL,
.fusion_dsp_offset = ACP6X_DSP_FUSION_RUNSTALL,
.probe_reg_offset = ACP6X_FUTURE_REG_ACLK_0,
};

static const struct sof_dev_desc rembrandt_desc = {
Expand Down
2 changes: 2 additions & 0 deletions sound/soc/sof/amd/pci-rn.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

#define ACP3x_REG_START 0x1240000
#define ACP3x_REG_END 0x125C000
#define ACP3X_FUTURE_REG_ACLK_0 0x1860

static const struct sof_amd_acp_desc renoir_chip_info = {
.rev = 3,
Expand All @@ -35,6 +36,7 @@ static const struct sof_amd_acp_desc renoir_chip_info = {
.sram_pte_offset = ACP3X_SRAM_PTE_OFFSET,
.hw_semaphore_offset = ACP3X_AXI2DAGB_SEM_0,
.acp_clkmux_sel = ACP3X_CLKMUX_SEL,
.probe_reg_offset = ACP3X_FUTURE_REG_ACLK_0,
};

static const struct sof_dev_desc renoir_desc = {
Expand Down

0 comments on commit e2b8ebc

Please sign in to comment.