linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] add sof support on imx95
@ 2024-11-13 19:52 Laurentiu Mihalcea
  2024-11-13 19:52 ` [PATCH v2 1/5] ASoC: dt-bindings: add common binding for NXP CPUs Laurentiu Mihalcea
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Laurentiu Mihalcea @ 2024-11-13 19:52 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Shawn Guo, Daniel Baluta,
	Mark Brown, Kuninori Morimoto, Takashi Iwai, Bard Liao,
	Peter Ujfalusi, Jaroslav Kysela, Frank Li
  Cc: linux-arm-kernel, devicetree, linux-sound, imx, linux-kernel

From: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>

Add sof support on imx95. This series also includes some changes to
the audio-graph-card2 binding required for the support.

---
Changes in v2:
- Added new binding for 95's CM7 core with SOF. fsl,dsp.yaml is no longer used.
- "hp-det-gpios" and "widgets" properties now reference the definitions from audio-graph.yaml
- Removed extra empty spaces from DTS as suggested by Frank
- Ordered 'edma2', 'sai3', 'wm8962' DT nodes alphabetically. The order of the nodes
placed inside / is kept the same for readability
- Ordered driver header files includes alphabetically as suggested by Frank
- Removed "reg-names" and changed the maximum size of the "reg" property to 1 to align
with the other NXP CPUs sharing the same programming model (i.e: audio processing with SOF).
The region described in the DTS is the SRAM and the mailbox region is now hardcoded in the
driver as an offset to the start of the SRAM region.
- Added new binding with properties required by all NXP CPUs sharing the same programming
model (i.e: audio processing with SOF).
- Various driver adjustments made to accomodate the DT changes + some bug fixing related
to the mboxes not being requested/free'd on resume/suspend.
- Fixed value passed to "dma-channel-mask". A set bit means the channel is masked, not the
other way around.
- Link to v1: https://lore.kernel.org/lkml/20241023162114.3354-1-laurentiumihalcea111@gmail.com/
---

Laurentiu Mihalcea (5):
  ASoC: dt-bindings: add common binding for NXP CPUs
  ASoC: dt-bindings: add binding for imx95's CM7 core
  ASoC: dt-bindings: audio-graph-card2: add widgets and hp-det-gpios
    support
  ASoC: SOF: imx: add driver for imx95
  arm64: dts: imx: add imx95 dts for sof

 .../bindings/sound/audio-graph-card2.yaml     |   4 +
 .../bindings/sound/fsl,imx95-cm7-sof.yaml     |  44 ++
 .../bindings/sound/fsl,sof-cpu.yaml           |  35 ++
 arch/arm64/boot/dts/freescale/Makefile        |   1 +
 .../dts/freescale/imx95-19x19-evk-sof.dts     |  74 ++++
 sound/soc/sof/imx/Kconfig                     |   8 +
 sound/soc/sof/imx/Makefile                    |   2 +
 sound/soc/sof/imx/imx95.c                     | 401 ++++++++++++++++++
 8 files changed, 569 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/fsl,imx95-cm7-sof.yaml
 create mode 100644 Documentation/devicetree/bindings/sound/fsl,sof-cpu.yaml
 create mode 100644 arch/arm64/boot/dts/freescale/imx95-19x19-evk-sof.dts
 create mode 100644 sound/soc/sof/imx/imx95.c

-- 
2.34.1



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2024-12-18 17:08 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-13 19:52 [PATCH v2 0/5] add sof support on imx95 Laurentiu Mihalcea
2024-11-13 19:52 ` [PATCH v2 1/5] ASoC: dt-bindings: add common binding for NXP CPUs Laurentiu Mihalcea
2024-11-13 20:03   ` Frank Li
2024-11-15 17:33     ` Rob Herring
2024-11-13 19:52 ` [PATCH v2 2/5] ASoC: dt-bindings: add binding for imx95's CM7 core Laurentiu Mihalcea
2024-11-13 20:07   ` Frank Li
2024-11-13 19:52 ` [PATCH v2 3/5] ASoC: dt-bindings: audio-graph-card2: add widgets and hp-det-gpios support Laurentiu Mihalcea
2024-11-13 20:11   ` Frank Li
2024-12-12  9:59     ` Laurentiu Mihalcea
2024-12-13  0:40       ` Kuninori Morimoto
2024-11-13 19:52 ` [PATCH v2 4/5] ASoC: SOF: imx: add driver for imx95 Laurentiu Mihalcea
2024-11-13 20:17   ` Frank Li
2024-12-12 11:11     ` Laurentiu Mihalcea
2024-12-12 15:13       ` Frank Li
2024-12-16 12:23         ` Laurentiu Mihalcea
2024-12-18 13:01           ` Daniel Baluta
2024-12-18 17:06             ` Frank Li
2024-11-13 19:52 ` [PATCH v2 5/5] arm64: dts: imx: add imx95 dts for sof Laurentiu Mihalcea
2024-11-13 20:21   ` Frank Li
2024-12-12 10:04     ` Laurentiu Mihalcea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).