soc: fsl: cpm1: Add support for QMC
authorHerve Codina <herve.codina@bootlin.com>
Fri, 17 Feb 2023 14:56:41 +0000 (15:56 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 5 Mar 2023 23:37:03 +0000 (23:37 +0000)
commit3178d58e0b9772d690456c0bdf8c9f5e191d45f1
tree197b6b3bd58fbfc5ba16684df7499f399f9062e4
parenta9b121327c939624e3e2c244283883501846fa97
soc: fsl: cpm1: Add support for QMC

The QMC (QUICC Multichannel Controller) emulates up to 64
channels within one serial controller using the same TDM
physical interface routed from the TSA.

It is available in some PowerQUICC SoC such as the
MPC885 or MPC866.

It is also available on some Quicc Engine SoCs.
This current version support CPM1 SoCs only and some
enhancement are needed to support Quicc Engine SoCs.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Acked-by: Li Yang <leoyang.li@nxp.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Link: https://lore.kernel.org/r/20230217145645.1768659-7-herve.codina@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/soc/fsl/qe/Kconfig
drivers/soc/fsl/qe/Makefile
drivers/soc/fsl/qe/qmc.c [new file with mode: 0644]
include/soc/fsl/qe/qmc.h [new file with mode: 0644]