]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: host1x: convert MIPI to use operation function pointers
authorSvyatoslav Ryhel <clamor95@gmail.com>
Tue, 3 Mar 2026 08:42:28 +0000 (10:42 +0200)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Thu, 19 Mar 2026 07:18:36 +0000 (08:18 +0100)
commitc888c4c834c9afc18879fde91ad405be21b7425d
tree24ef5e8b03744024b042b9205c26f7ab1a21682a
parent6926495fa5204fa50f164c92bb63a303e0a829ff
gpu: host1x: convert MIPI to use operation function pointers

Convert existing MIPI code to use operation function pointers, a necessary
step for supporting Tegra20/Tegra30 SoCs. All common MIPI configuration
that is SoC-independent remains in mipi.c, while all SoC-specific code is
moved to tegra114-mipi.c (The naming matches the first SoC generation with
a dedicated calibration block). Shared structures and function calls are
placed into tegra-mipi-cal.h.

Tested-by: Luca Ceresoli <luca.ceresoli@bootlin.com> # tegra20, parallel camera
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Acked-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/gpu/drm/tegra/dsi.c
drivers/gpu/host1x/Makefile
drivers/gpu/host1x/mipi.c
drivers/gpu/host1x/tegra114-mipi.c [new file with mode: 0644]
drivers/staging/media/tegra-video/csi.c
include/linux/host1x.h
include/linux/tegra-mipi-cal.h [new file with mode: 0644]