mirror of https://github.com/thesofproject/sof.git
sof: drivers: mu: Add support for i.MX93 MU
i.MX93 uses V2 of the MU. This commit makes sure that all offsets are set accordingly. Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
This commit is contained in:
parent
f783401e24
commit
9a8046dd27
|
@ -19,7 +19,7 @@ enum imx_mu_type {
|
||||||
IMX_MU_V2,
|
IMX_MU_V2,
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef CONFIG_IMX8ULP
|
#if defined(CONFIG_IMX8ULP) || defined(CONFIG_IMX93_A55)
|
||||||
#define IMX_MU_VERSION IMX_MU_V2
|
#define IMX_MU_VERSION IMX_MU_V2
|
||||||
#else
|
#else
|
||||||
#define IMX_MU_VERSION IMX_MU_V1
|
#define IMX_MU_VERSION IMX_MU_V1
|
||||||
|
@ -39,7 +39,7 @@ enum imx_mu_xsr {
|
||||||
IMX_MU_RSR = 0x12c,
|
IMX_MU_RSR = 0x12c,
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef CONFIG_IMX8ULP
|
#if defined(CONFIG_IMX8ULP) || defined(CONFIG_IMX93_A55)
|
||||||
/* Transmit Register */
|
/* Transmit Register */
|
||||||
#define IMX_MU_xTRn(x) (0x200 + 4 * (x))
|
#define IMX_MU_xTRn(x) (0x200 + 4 * (x))
|
||||||
/* Receive Register */
|
/* Receive Register */
|
||||||
|
|
Loading…
Reference in New Issue