[PATCH 0/2] ASoC: fsl_mqs: Add i.MX95 platform support
Shengjiu Wang
shengjiu.wang at nxp.com
Fri May 17 19:45:44 AEST 2024
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
More information about the Linuxppc-dev
mailing list