summaryrefslogtreecommitdiffstats
path: root/drivers/video/videomode.c
diff options
context:
space:
mode:
authorHerve Codina <herve.codina@bootlin.com>2024-08-08 09:11:20 +0200
committerChristophe Leroy <christophe.leroy@csgroup.eu>2024-09-03 07:49:20 +0200
commitde5fdb7d14b34f7fea930f2d72cf0241ec679e72 (patch)
tree541bad2b5137f19c68cd495e1a1e64985e53f552 /drivers/video/videomode.c
parentsoc: fsl: cpm1: qmc: Introduce qmc_init_resource() and its CPM1 version (diff)
downloadlinux-de5fdb7d14b34f7fea930f2d72cf0241ec679e72.tar.xz
linux-de5fdb7d14b34f7fea930f2d72cf0241ec679e72.zip
soc: fsl: cpm1: qmc: Introduce qmc_{init,exit}_xcc() and their CPM1 version
Current code handles the CPM1 version of QMC and initialize the QMC used SCC. The QUICC Engine (QE) version uses an UCC (Unified Communication Controllers) instead of the SCC (Serial Communication Controllers) used in the CPM1 version. These controllers serve the same purpose and are used in the same way but their inializations are slightly different. In order to prepare the support for QE version of QMC, introduce qmc_init_xcc() to initialize theses controllers (UCC in QE and SCC in CPM1) and isolate the CPM1 specific SCC initialization in a specific function. Also introduce qmc_exit_xcc() for consistency to revert operations done in qmc_init_xcc(). Signed-off-by: Herve Codina <herve.codina@bootlin.com> Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu> Link: https://lore.kernel.org/r/20240808071132.149251-28-herve.codina@bootlin.com Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Diffstat (limited to 'drivers/video/videomode.c')
0 files changed, 0 insertions, 0 deletions