Skip to content

Conversation

@dnikodem
Copy link
Contributor

@dnikodem dnikodem commented Jun 11, 2024

Regarding to zephyrproject-rtos/zephyr#74030 there is necessary to pass properly v_index value.

In addition, PTL has a new version of the IPC4 blob, which will be configured in the TLV information

Necessary zephyr changes:

This PR also changes the West version to be consistent with the changes from PR 74030

@dnikodem dnikodem changed the title Adjust ssp copier flow for ptl src: base_fw: adjust ssp copier flow for ptl Jun 11, 2024
@dnikodem dnikodem force-pushed the adjust_ssp_copier_flow branch from e2c3513 to b1bdb59 Compare June 11, 2024 15:12
@dnikodem dnikodem changed the title src: base_fw: adjust ssp copier flow for ptl [DNM] src: base_fw: adjust ssp copier flow for ptl Jun 11, 2024
@dnikodem dnikodem force-pushed the adjust_ssp_copier_flow branch from b1bdb59 to 8388e2b Compare June 12, 2024 10:31
@dnikodem dnikodem marked this pull request as ready for review June 13, 2024 13:30
@dnikodem dnikodem force-pushed the adjust_ssp_copier_flow branch 2 times, most recently from 114b0bd to 17ffa93 Compare June 14, 2024 09:18
dnikodem added 2 commits June 17, 2024 09:50
This commit introduces a new constant 'I2S_VER_30_PTL' that describes
specific I2S blob configurations for Intel ACE30 PTL.

Signed-off-by: Damian Nikodem <damian.nikodem@intel.com>
Virtual index value for I2S on PTL contains two information:
- time slot group index : 4
- i2s instance          : 4

In order to correctly configure the dai api, both of the above
values should be retained.

Update zephyr branch to commit:
a2386efbce1 drivers: ssp: update SSP driver to support Intel ACE30 PTL

Signed-off-by: Damian Nikodem <damian.nikodem@intel.com>
@dnikodem dnikodem force-pushed the adjust_ssp_copier_flow branch from 17ffa93 to 7ea4f27 Compare June 17, 2024 08:23
@dnikodem dnikodem changed the title [DNM] src: base_fw: adjust ssp copier flow for ptl src: base_fw: adjust ssp copier flow for ptl Jun 18, 2024
@dnikodem dnikodem changed the title src: base_fw: adjust ssp copier flow for ptl src: base_fw: adjust ssp copier init flow for ptl Jun 18, 2024
@kv2019i kv2019i changed the title src: base_fw: adjust ssp copier init flow for ptl src: base_fw: adjust ssp copier init flow for ptl (with Zephyr update) Jun 19, 2024
Copy link
Collaborator

@kv2019i kv2019i left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think in this type of cases, the west.yml update of Zephyr shouldn't be baked into the same PR (see comment inline). But given we have a clean CI pass, I think we can proceed to merge this one and move on. But a note for future PRs.


/* Specifies I2S IPC4 version for PTL platform */
static const uint32_t I2S_VER_30_PTL = 0x40000;

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would ideally be put in some Intel-specific file, but as we have no such file now, base_fw.h is probably the best fit. But if we get more of these, we need to add base_fw_intel.h and have these there (and also if there are any build-time dependencies).

- name: zephyr
repo-path: zephyr
revision: 0a3f2f0397a86425cc7d12fa3a0c0ab8020d80e1
revision: a2386efbce1866613f7c714b958a159364dc5f37
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This west update could be done as a separate PR and then do this PR. Recommendation is to update west.yml and code only and only if Zephyr has a interface changes (i.e. something SOF uses is changed). In this case, it seems this is a new capabiltiy, so Zephyr could be update dfirst, and then this PR could be done on top once Zephyr baseline has "tdm_slot_group".

@kv2019i kv2019i merged commit 630f875 into thesofproject:main Jun 19, 2024
@marc-hb
Copy link
Collaborator

marc-hb commented Jun 20, 2024

New Zephyr panic pinpointed to this:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants