Switch to NXP PDM MICFIL Zephyr native driver on i.MX8MP by dbaluta · Pull Request #9824 · thesofproject/sof · GitHub
Skip to content

Switch to NXP PDM MICFIL Zephyr native driver on i.MX8MP#9824

Merged
dbaluta merged 4 commits into
thesofproject:mainfrom
dbaluta:enable_micfil
Feb 12, 2025
Merged

Switch to NXP PDM MICFIL Zephyr native driver on i.MX8MP#9824
dbaluta merged 4 commits into
thesofproject:mainfrom
dbaluta:enable_micfil

Conversation

@dbaluta

@dbaluta dbaluta commented Feb 10, 2025

Copy link
Copy Markdown
Collaborator

This is the last part of switching from SOF driver to Zephyr native drivers for NXP platforms. After this gets merged in we will do cleanup for SOF drivers and remove them.

This pulls in NXP PDM MICFIL drivers changes from Zephyr:

aaa119d757294 dts: xtensa: nxp_imx8m: Add PDM MICFIL node
715fbd1f81ced drivers: dai: Add initial support for NXP MICFIL PDM IP

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>

@lgirdwood lgirdwood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, I would just add a comment (to make it easier later on when we remove legacy)

Comment thread src/ipc/ipc3/dai.c

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Would be nice to have an inline comment here stating why this is needed.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

sure.

Support PDM MICFIL interface with Zephyr native driver interface.
SOF PDM MICFIL driver is no longer supported and it will be soon
removed.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
With Zephyr native driver we use timer domain.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Enable PDM MICFIL dts node and config option.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
@dbaluta

dbaluta commented Feb 10, 2025

Copy link
Copy Markdown
Collaborator Author

Changes since v2:

  • added a comment documenting the use of ifdef native drivers.

@dbaluta

dbaluta commented Feb 11, 2025

Copy link
Copy Markdown
Collaborator Author

@lgirdwood @lyakh care to look at intel tests failing? are they caused by the west.yml update?

@lgirdwood

Copy link
Copy Markdown
Member

@lgirdwood @lyakh care to look at intel tests failing? are they caused by the west.yml update?

Results look as expected. @lyakh pls review.

@dbaluta dbaluta merged commit 1270b22 into thesofproject:main Feb 12, 2025
@kv2019i

kv2019i commented Feb 12, 2025

Copy link
Copy Markdown
Collaborator

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.

3 participants