soc: fsl: cpm1: qmc: Introduce available timeslots masks
authorHerve Codina <herve.codina@bootlin.com>
Tue, 5 Dec 2023 15:21:04 +0000 (16:21 +0100)
committerHerve Codina <herve.codina@bootlin.com>
Tue, 12 Dec 2023 09:29:20 +0000 (10:29 +0100)
commit9b7a69d0bd2bb7bcf1b811f273a27be929520b61
tree1b21c3a750fe63cf198e74e5dcf5cca56cbb1431
parentba3b7e4753c5ad80b3670277a2104aeb421e0d7d
soc: fsl: cpm1: qmc: Introduce available timeslots masks

Available timeslots masks define timeslots available for the related
channel. These timeslots are defined by the QMC binding.

Timeslots used are initialized to available timeslots but can be a
subset of available timeslots.
This prepares the dynamic timeslots management (ie. changing timeslots
at runtime).

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Link: https://lore.kernel.org/r/20231205152116.122512-8-herve.codina@bootlin.com
drivers/soc/fsl/qe/qmc.c