Skip to content

[BUG] cavs platform_init should not write to DSP shim registers in Zephyr build #7249

@kv2019i

Description

@kv2019i

Is your feature request related to a problem? Please describe.
Fix invalid hw access in platform_init() of intel/cavs platform_init in Zephyr builds.

See #5602 and #7248

This is not correct

»       io_reg_write(DSP_INIT_GENO,
»       »       GENO_MDIVOSEL | GENO_DIOPTOSEL);

»       io_reg_write(DSP_INIT_IOPO,
»       »       IOPO_DMIC_FLAG | IOPO_I2S_FLAG);

»       io_reg_write(DSP_INIT_ALHO,
»       »       ALHO_ASO_FLAG | ALHO_CSO_FLAG);

»       io_reg_write(DSP_INIT_LPGPDMA(0),
»       »       LPGPDMA_CHOSEL_FLAG | LPGPDMA_CTLOSEL_FLAG);
»       io_reg_write(DSP_INIT_LPGPDMA(1),
»       »       LPGPDMA_CHOSEL_FLAG | LPGPDMA_CTLOSEL_FLAG);

Metadata

Metadata

Assignees

Labels

P2Critical bugs or normal featuresTGLApplies to Tiger LakeZephyrIssues only observed with Zephyr integratedbugSomething isn't working as expected

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions