From: Laurentiu Mihalcea <laurentiumihalcea111@gmail.com>
To: Bard Liao <yung-chuan.liao@linux.intel.com>,
Daniel Baluta <daniel.baluta@nxp.com>,
Iuliana Prodan <iuliana.prodan@nxp.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Mark Brown <broonie@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org,
imx@lists.linux.dev
Subject: [PATCH v2 0/8] Refactor imx drivers and introduce support for imx95
Date: Wed, 5 Feb 2025 15:30:14 -0500 [thread overview]
Message-ID: <20250205203022.2754-1-laurentiumihalcea111@gmail.com> (raw)
From: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
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 (imx8qxp), imx8m,
and imx8ulp) and imx9 (meant for the imx9 series: imx95 (for now)).
The series also includes the introduction of the imx95 driver.
---
Changes in v2:
- fixed order of includes in "imx-common.c". They're now sorted
alphabetically.
- use reverse xmas tree ordering for variable declarations.
- add missing call to "of_reserved_mem_device_release()"
- add two new fields: "drv" and "num_drv" in "struct imx_chip_info"
- drop previously obtained R-b's on patches affected by aforementioned
changes.
- link to v1: https://lore.kernel.org/imx/20250203171808.4108-10-laurentiumihalcea111@gmail.com/T/
---
Laurentiu Mihalcea (8):
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: 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 | 432 ++++++++++++++++++-
sound/soc/sof/imx/imx-common.h | 151 +++++++
sound/soc/sof/imx/imx8.c | 743 ++++++++++++---------------------
sound/soc/sof/imx/imx8m.c | 567 -------------------------
sound/soc/sof/imx/imx8ulp.c | 520 -----------------------
sound/soc/sof/imx/imx9.c | 137 ++++++
8 files changed, 984 insertions(+), 1589 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
next reply other threads:[~2025-02-05 20:30 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-05 20:30 Laurentiu Mihalcea [this message]
2025-02-05 20:30 ` [PATCH v2 1/8] ASoC: SOF: imx: introduce more common structures and functions Laurentiu Mihalcea
2025-02-06 16:05 ` Frank Li
2025-02-05 20:30 ` [PATCH v2 2/8] ASoC: SOF: imx8: use common imx chip interface Laurentiu Mihalcea
2025-02-06 16:11 ` Frank Li
2025-02-05 20:30 ` [PATCH v2 3/8] ASoC: SOF: imx8: use IMX_SOF_* macros Laurentiu Mihalcea
2025-02-06 16:13 ` Frank Li
2025-02-05 20:30 ` [PATCH v2 4/8] ASoC: SOF: imx8: shuffle structure and function definitions Laurentiu Mihalcea
2025-02-06 16:18 ` Frank Li
2025-02-06 17:28 ` Mark Brown
2025-02-05 20:30 ` [PATCH v2 5/8] ASoC: SOF: imx8: drop unneeded/unused macros/header includes Laurentiu Mihalcea
2025-02-06 16:18 ` Frank Li
2025-02-05 20:30 ` [PATCH v2 6/8] ASoC: SOF: imx: merge imx8 and imx8m drivers Laurentiu Mihalcea
2025-02-06 16:26 ` Frank Li
2025-02-05 20:30 ` [PATCH v2 7/8] ASoC: SOF: imx: merge imx8 and imx8ulp drivers Laurentiu Mihalcea
2025-02-06 16:28 ` Frank Li
2025-02-05 20:30 ` [PATCH v2 8/8] ASoC: SOF: imx: add driver for the imx95 chip Laurentiu Mihalcea
2025-02-06 16:29 ` Frank Li
2025-02-10 16:30 ` (subset) [PATCH v2 0/8] Refactor imx drivers and introduce support for imx95 Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250205203022.2754-1-laurentiumihalcea111@gmail.com \
--to=laurentiumihalcea111@gmail.com \
--cc=broonie@kernel.org \
--cc=daniel.baluta@nxp.com \
--cc=imx@lists.linux.dev \
--cc=iuliana.prodan@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
--cc=yung-chuan.liao@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox