* [PATCH 1/2] ASoC: dt-bindings: fsl,mqs: Add compatible string for i.MX93 platform
@ 2022-06-10 5:47 Shengjiu Wang
2022-06-10 5:47 ` [PATCH 2/2] ASoC: fsl_mqs: Add support " Shengjiu Wang
2022-06-14 10:25 ` [PATCH 1/2] ASoC: dt-bindings: fsl,mqs: Add compatible string " Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Shengjiu Wang @ 2022-06-10 5:47 UTC (permalink / raw)
To: nicoleotsuka, Xiubo.Lee, festevam, shengjiu.wang, lgirdwood,
broonie, perex, tiwai, alsa-devel, robh+dt, krzk+dt, devicetree
Cc: linuxppc-dev, linux-kernel
Add compatible string "fsl,imx93-mqs" for i.MX93 platform
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
---
Documentation/devicetree/bindings/sound/fsl,mqs.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/sound/fsl,mqs.txt b/Documentation/devicetree/bindings/sound/fsl,mqs.txt
index 40353fc30255..d66284b8bef2 100644
--- a/Documentation/devicetree/bindings/sound/fsl,mqs.txt
+++ b/Documentation/devicetree/bindings/sound/fsl,mqs.txt
@@ -2,7 +2,7 @@ fsl,mqs audio CODEC
Required properties:
- compatible : Must contain one of "fsl,imx6sx-mqs", "fsl,codec-mqs"
- "fsl,imx8qm-mqs", "fsl,imx8qxp-mqs".
+ "fsl,imx8qm-mqs", "fsl,imx8qxp-mqs", "fsl,imx93-mqs".
- clocks : A list of phandles + clock-specifiers, one for each entry in
clock-names
- clock-names : "mclk" - must required.
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] ASoC: fsl_mqs: Add support for i.MX93 platform
2022-06-10 5:47 [PATCH 1/2] ASoC: dt-bindings: fsl,mqs: Add compatible string for i.MX93 platform Shengjiu Wang
@ 2022-06-10 5:47 ` Shengjiu Wang
2022-06-14 10:25 ` [PATCH 1/2] ASoC: dt-bindings: fsl,mqs: Add compatible string " Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Shengjiu Wang @ 2022-06-10 5:47 UTC (permalink / raw)
To: nicoleotsuka, Xiubo.Lee, festevam, shengjiu.wang, lgirdwood,
broonie, perex, tiwai, alsa-devel, robh+dt, krzk+dt, devicetree
Cc: linuxppc-dev, linux-kernel
Add i.MX93 compatible string and specific soc data
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
---
sound/soc/fsl/fsl_mqs.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/sound/soc/fsl/fsl_mqs.c b/sound/soc/fsl/fsl_mqs.c
index 8a8d727319d6..aefb73cab59c 100644
--- a/sound/soc/fsl/fsl_mqs.c
+++ b/sound/soc/fsl/fsl_mqs.c
@@ -338,9 +338,23 @@ static const struct fsl_mqs_soc_data fsl_mqs_imx6sx_data = {
.div_shift = IMX6SX_GPR2_MQS_CLK_DIV_SHIFT,
};
+static const struct fsl_mqs_soc_data fsl_mqs_imx93_data = {
+ .use_gpr = true,
+ .ctrl_off = 0x20,
+ .en_mask = BIT(1),
+ .en_shift = 1,
+ .rst_mask = BIT(2),
+ .rst_shift = 2,
+ .osr_mask = BIT(3),
+ .osr_shift = 3,
+ .div_mask = GENMASK(15, 8),
+ .div_shift = 8,
+};
+
static const struct of_device_id fsl_mqs_dt_ids[] = {
{ .compatible = "fsl,imx8qm-mqs", .data = &fsl_mqs_imx8qm_data },
{ .compatible = "fsl,imx6sx-mqs", .data = &fsl_mqs_imx6sx_data },
+ { .compatible = "fsl,imx93-mqs", .data = &fsl_mqs_imx93_data },
{}
};
MODULE_DEVICE_TABLE(of, fsl_mqs_dt_ids);
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] ASoC: dt-bindings: fsl,mqs: Add compatible string for i.MX93 platform
2022-06-10 5:47 [PATCH 1/2] ASoC: dt-bindings: fsl,mqs: Add compatible string for i.MX93 platform Shengjiu Wang
2022-06-10 5:47 ` [PATCH 2/2] ASoC: fsl_mqs: Add support " Shengjiu Wang
@ 2022-06-14 10:25 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2022-06-14 10:25 UTC (permalink / raw)
To: robh+dt, shengjiu.wang, tiwai, alsa-devel, devicetree,
shengjiu.wang, nicoleotsuka, Xiubo.Lee, perex, festevam, krzk+dt,
lgirdwood
Cc: linuxppc-dev, linux-kernel
On Fri, 10 Jun 2022 13:47:21 +0800, Shengjiu Wang wrote:
> Add compatible string "fsl,imx93-mqs" for i.MX93 platform
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/2] ASoC: dt-bindings: fsl,mqs: Add compatible string for i.MX93 platform
commit: 81ae0635df7de58496def18b0b9333992630b9af
[2/2] ASoC: fsl_mqs: Add support for i.MX93 platform
commit: 047c69a3a9b19f29e021c77a7e9ce79230a342ed
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-06-14 10:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-10 5:47 [PATCH 1/2] ASoC: dt-bindings: fsl,mqs: Add compatible string for i.MX93 platform Shengjiu Wang
2022-06-10 5:47 ` [PATCH 2/2] ASoC: fsl_mqs: Add support " Shengjiu Wang
2022-06-14 10:25 ` [PATCH 1/2] ASoC: dt-bindings: fsl,mqs: Add compatible string " Mark Brown
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).