<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 27, 2022 at 2:04 PM Chancel Liu <<a href="mailto:chancel.liu@nxp.com">chancel.liu@nxp.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Add compatible string and specific soc data to support SAI on i.MX93<br>
platform.<br>
<br>
Signed-off-by: Chancel Liu <<a href="mailto:chancel.liu@nxp.com" target="_blank">chancel.liu@nxp.com</a>><br></blockquote><div><br></div><div>Acked-by: Shengjiu Wang <<a href="mailto:shengjiu.wang@gmail.com">shengjiu.wang@gmail.com</a>></div><div><br></div><div>best regards</div><div>wang shengjiu </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
---<br>
sound/soc/fsl/fsl_sai.c | 12 ++++++++++++<br>
1 file changed, 12 insertions(+)<br>
<br>
diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c<br>
index 81f89f6767a2..68e1cc4c369a 100644<br>
--- a/sound/soc/fsl/fsl_sai.c<br>
+++ b/sound/soc/fsl/fsl_sai.c<br>
@@ -1579,6 +1579,17 @@ static const struct fsl_sai_soc_data fsl_sai_imx8ulp_data = {<br>
.max_register = FSL_SAI_RTCAP,<br>
};<br>
<br>
+static const struct fsl_sai_soc_data fsl_sai_imx93_data = {<br>
+ .use_imx_pcm = true,<br>
+ .use_edma = true,<br>
+ .fifo_depth = 128,<br>
+ .reg_offset = 8,<br>
+ .mclk0_is_mclk1 = false,<br>
+ .pins = 4,<br>
+ .flags = 0,<br>
+ .max_register = FSL_SAI_MCTL,<br>
+};<br>
+<br>
static const struct of_device_id fsl_sai_ids[] = {<br>
{ .compatible = "fsl,vf610-sai", .data = &fsl_sai_vf610_data },<br>
{ .compatible = "fsl,imx6sx-sai", .data = &fsl_sai_imx6sx_data },<br>
@@ -1590,6 +1601,7 @@ static const struct of_device_id fsl_sai_ids[] = {<br>
{ .compatible = "fsl,imx8mp-sai", .data = &fsl_sai_imx8mp_data },<br>
{ .compatible = "fsl,imx8ulp-sai", .data = &fsl_sai_imx8ulp_data },<br>
{ .compatible = "fsl,imx8mn-sai", .data = &fsl_sai_imx8mp_data },<br>
+ { .compatible = "fsl,imx93-sai", .data = &fsl_sai_imx93_data },<br>
{ /* sentinel */ }<br>
};<br>
MODULE_DEVICE_TABLE(of, fsl_sai_ids);<br>
-- <br>
2.25.1<br>
<br>
</blockquote></div></div>