Skip to contentSkip to conversation

ASoC: Support SAI and MICFIL on i.MX95 platform

PATCH In review Chancel Liu 4 participants 8 messages Jan 12, 2024 – Jan 22, 2024

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

v2 cover ASoC: Support SAI and MICFIL on i.MX95 platform

Support SAI and MICFIL on i.MX95 platform

changes in v2
- Remove unnecessary "item" in fsl,micfil.yaml
- Don't change alphabetical order in fsl,sai.yaml

Chancel Liu (3):
ASoC: dt-bindings: fsl,sai: Add compatible string for i.MX95 platform
ASoC: fsl_sai: Add support for i.MX95 platform
ASoC: dt-bindings: fsl,micfil: Add compatible string for i.MX95
platform

 .../devicetree/bindings/sound/fsl,micfil.yaml      | 14 ++++++++++----
 .../devicetree/bindings/sound/fsl,sai.yaml         |  1 +
 sound/soc/fsl/fsl_sai.c                            | 13 +++++++++++++
 3 files changed, 24 insertions(+), 4 deletions(-)

--
2.42.0

#1 lore raw

PATCH v2 1/3 ASoC: dt-bindings: fsl,sai: Add compatible string for i.MX95 platform

Add compatible string "fsl,imx95-sai" for i.MX95 platform.

---
 Documentation/devicetree/bindings/sound/fsl,sai.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/sound/fsl,sai.yaml +1 -0
index 088c26b001cc..d81c8fe1893e 100644
@@ -39,6 +39,7 @@ properties:
               - fsl,imx8qm-sai
               - fsl,imx8ulp-sai
               - fsl,imx93-sai
+              - fsl,imx95-sai
               - fsl,vf610-sai
 
   reg:
Signature · 1 line
2.42.0
#3 lore raw

PATCH v2 2/3 ASoC: fsl_sai: Add support for i.MX95 platform

In reply to Chancel Liu

Add compatible string and specific soc data to support SAI on i.MX95 platform.

---
 sound/soc/fsl/fsl_sai.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)
sound/soc/fsl/fsl_sai.c +13 -0
index 546bd4e333b5..0e2c31439670 100644
@@ -1639,6 +1639,18 @@ static const struct fsl_sai_soc_data fsl_sai_imx93_data = {
 	.max_burst = {8, 8},
 };
 
+static const struct fsl_sai_soc_data fsl_sai_imx95_data = {
+	.use_imx_pcm = true,
+	.use_edma = true,
+	.fifo_depth = 128,
+	.reg_offset = 8,
+	.mclk0_is_mclk1 = false,
+	.pins = 8,
+	.flags = 0,
+	.max_register = FSL_SAI_MCTL,
+	.max_burst = {8, 8},
+};
+
 static const struct of_device_id fsl_sai_ids[] = {
 	{ .compatible = "fsl,vf610-sai", .data = &fsl_sai_vf610_data },
 	{ .compatible = "fsl,imx6sx-sai", .data = &fsl_sai_imx6sx_data },
@@ -1651,6 +1663,7 @@ static const struct of_device_id fsl_sai_ids[] = {
 	{ .compatible = "fsl,imx8ulp-sai", .data = &fsl_sai_imx8ulp_data },
 	{ .compatible = "fsl,imx8mn-sai", .data = &fsl_sai_imx8mn_data },
 	{ .compatible = "fsl,imx93-sai", .data = &fsl_sai_imx93_data },
+	{ .compatible = "fsl,imx95-sai", .data = &fsl_sai_imx95_data },
 	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, fsl_sai_ids);
Signature · 1 line
2.42.0
#4 lore raw

PATCH v2 3/3 ASoC: dt-bindings: fsl,micfil: Add compatible string for i.MX95 platform

In reply to Chancel Liu

Add compatible string "fsl,imx95-micfil" for i.MX95 platform.

---
 .../devicetree/bindings/sound/fsl,micfil.yaml      | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)
Documentation/devicetree/bindings/sound/fsl,micfil.yaml +10 -4
index b7e605835639..c1e9803fc113 100644
@@ -15,10 +15,16 @@ description: |
 
 properties:
   compatible:
-    enum:
-      - fsl,imx8mm-micfil
-      - fsl,imx8mp-micfil
-      - fsl,imx93-micfil
+    oneOf:
+      - items:
+          - enum:
+              - fsl,imx95-micfil
+          - const: fsl,imx93-micfil
+
+      - enum:
+          - fsl,imx8mm-micfil
+          - fsl,imx8mp-micfil
+          - fsl,imx93-micfil
 
   reg:
     maxItems: 1
Signature · 1 line
2.42.0
Reviewed-by on the v2 series
#6 lore raw
In reply to Chancel Liu
Quoted 7 lines · Chancel Liu

Support SAI and MICFIL on i.MX95 platform

changes in v2
- Remove unnecessary "item" in fsl,micfil.yaml
- Don't change alphabetical order in fsl,sai.yaml

Quoted 5 lines

Chancel Liu (3):
ASoC: dt-bindings: fsl,sai: Add compatible string for i.MX95 platform
ASoC: fsl_sai: Add support for i.MX95 platform
ASoC: dt-bindings: fsl,micfil: Add compatible string for i.MX95
platform

For all patches in the series:

maintainer
#7 lore raw
In reply to Chancel Liu
Quoted 6 lines · Chancel Liu

Support SAI and MICFIL on i.MX95 platform

changes in v2
- Remove unnecessary "item" in fsl,micfil.yaml
- Don't change alphabetical order in fsl,sai.yaml

Quoted 7 lines

Chancel Liu (3):
ASoC: dt-bindings: fsl,sai: Add compatible string for i.MX95 platform
ASoC: fsl_sai: Add support for i.MX95 platform
ASoC: dt-bindings: fsl,micfil: Add compatible string for i.MX95
platform

[...]

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/3] ASoC: dt-bindings: fsl,sai: Add compatible string for i.MX95 platform

      commit: 52523f70fdf9b2cb0bfd1999eba4aa3a30b04fa6
[2/3] ASoC: fsl_sai: Add support for i.MX95 platform
      commit: 2f2d78e2c29347a96268f6f34092538b307ed056
[3/3] ASoC: dt-bindings: fsl,micfil: Add compatible string for i.MX95 platform
      commit: 20d2719937cf439602566a8f041d3208274abc01

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark