[PATCH 0/9] Refactor imx drivers and introduce support for imx95
From: Laurentiu Mihalcea
Date: Mon Feb 03 2025 - 12:19:08 EST
From: Laurentiu Mihalcea <laurentiu.mihalcea@xxxxxxx>
A rather aggressive but arguably much needed refactorization of the SOF
imx drivers. The refactorization is meant to address the code duplication
in the imx drivers and decrease the coding effort required for introducing
a new imx platform.
After refactorization and imx95 introduction, only two drivers remain:
imx8 (meant for the imx8 series: imx8 (imx8qm), imx8x (imx8x), imx8m, and
imx8ulp) and imx9 (meant for the imx9 series: imx95 (for now)).
The series also includes the introduction of the imx95 driver.
Laurentiu Mihalcea (9):
ASoC: SOF: imx: introduce more common structures and functions
ASoC: SOF: imx8: use common imx chip interface
ASoC: SOF: imx8: use IMX_SOF_* macros
ASoC: SOF: imx8: shuffle structure and function definitions
ASoC: SOF: imx8: drop unneeded/unused macros/header includes
ASoC: SOF: imx8: make imx8_ops_init() an util function
ASoC: SOF: imx: merge imx8 and imx8m drivers
ASoC: SOF: imx: merge imx8 and imx8ulp drivers
ASoC: SOF: imx: add driver for the imx95 chip
sound/soc/sof/imx/Kconfig | 17 +-
sound/soc/sof/imx/Makefile | 6 +-
sound/soc/sof/imx/imx-common.c | 419 +++++++++++++++++-
sound/soc/sof/imx/imx-common.h | 149 +++++++
sound/soc/sof/imx/imx8.c | 751 ++++++++++++---------------------
sound/soc/sof/imx/imx8m.c | 567 -------------------------
sound/soc/sof/imx/imx8ulp.c | 520 -----------------------
sound/soc/sof/imx/imx9.c | 135 ++++++
8 files changed, 974 insertions(+), 1590 deletions(-)
delete mode 100644 sound/soc/sof/imx/imx8m.c
delete mode 100644 sound/soc/sof/imx/imx8ulp.c
create mode 100644 sound/soc/sof/imx/imx9.c
--
2.34.1