devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ASoC: fsl_mqs: Add i.MX95 platform support
@ 2024-05-17  9:45 Shengjiu Wang
  2024-05-17  9:45 ` [PATCH 1/2] ASoC: dt-bindings: fsl,mqs: " Shengjiu Wang
  2024-05-17  9:45 ` [PATCH 2/2] ASoC: fsl_mqs: " Shengjiu Wang
  0 siblings, 2 replies; 5+ messages in thread
From: Shengjiu Wang @ 2024-05-17  9:45 UTC (permalink / raw)
  To: lgirdwood, broonie, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	shengjiu.wang, linux-sound, devicetree, linux-kernel, Xiubo.Lee,
	festevam, nicoleotsuka, perex, tiwai, alsa-devel, linuxppc-dev

In order to support the MQS module on i.MX95, a new property
"fsl,mqs-ctrl" needs to be added, as there are two MQS instances
on the i.MX95 platform, the definition of bit positions in the
control register is different. This new property is to distinguish
these two instances.

Without this property, the difference of platforms except the
i.MX95 was handled by the driver itself. But this new property can
also be used for previous platforms.

The MQS only has one control register, the register may be
in General Purpose Register memory space, or MQS its own
memory space, or controlled by System Manager.
The bit position in the register may be different for each
platform, there are four parts (bits for module enablement,
bits for reset, bits for oversampling ratio, bits for divider ratio).
This new property includes all these things.

Shengjiu Wang (2):
  ASoC: dt-bindings: fsl,mqs: Add i.MX95 platform support
  ASoC: fsl_mqs: Add i.MX95 platform support

 .../devicetree/bindings/sound/fsl,mqs.yaml    |  17 +++
 sound/soc/fsl/fsl_mqs.c                       | 106 ++++++++++++++----
 2 files changed, 103 insertions(+), 20 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-05-21  6:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-17  9:45 [PATCH 0/2] ASoC: fsl_mqs: Add i.MX95 platform support Shengjiu Wang
2024-05-17  9:45 ` [PATCH 1/2] ASoC: dt-bindings: fsl,mqs: " Shengjiu Wang
2024-05-20 10:47   ` Krzysztof Kozlowski
2024-05-21  6:32     ` Shengjiu Wang
2024-05-17  9:45 ` [PATCH 2/2] ASoC: fsl_mqs: " Shengjiu Wang

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).