linux-sg2042/drivers/gpu/host1x
Sowjanya Komatineni cf5153e433 media: gpu: host1x: mipi: Keep MIPI clock enabled and mutex locked till calibration done
With the split of MIPI calibration into tegra_mipi_calibrate() and
tegra_mipi_wait(), MIPI clock is not kept enabled and mutex is not locked
till the calibration is done.

So, this patch keeps MIPI clock enabled and mutex locked after triggering
start of calibration till its done.

To let calibration process go through its finite sequence codes before
calibration logic waiting for pads idle state added wait time of 75usec
to make sure it sees idle state to apply the results.

This patch renames tegra_mipi_calibrate() as tegra_mipi_start_calibration()
and tegra_mipi_wait() as tegra_mipi_finish_calibration() to be inline
with their usage.

Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-08-28 15:12:38 +02:00
..
hw gpu: host1x: debug: Dump push buffer state 2020-07-17 16:06:14 +02:00
Kconfig gpu: host1x: Unconditionally select IOMMU_IOVA 2019-11-01 10:49:17 +01:00
Makefile gpu: host1x: Add Tegra194 support 2018-11-29 17:11:49 +01:00
bus.c gpu: host1x: Detach driver on unregister 2020-06-16 18:59:46 +02:00
bus.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
cdma.c gpu: host1x: Make host1x_cdma_wait_pushbuffer_space() static 2019-10-28 11:18:34 +01:00
cdma.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
channel.c gpu: host1x: Request channels for clients, not devices 2019-10-28 11:18:33 +01:00
channel.h gpu: host1x: Request channels for clients, not devices 2019-10-28 11:18:33 +01:00
debug.c gpu: host1x: debug: Fix multiple channels emitting messages simultaneously 2020-07-17 16:06:14 +02:00
debug.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
dev.c gpu: host1x: Register child devices 2020-06-16 13:46:18 +02:00
dev.h gpu: host1x: Set DMA mask based on IOMMU setup 2019-10-29 15:04:35 +01:00
intr.c gpu: host1x: Remove gratuitous blank line 2019-10-28 11:18:33 +01:00
intr.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
job.c gpu: host1x: Put gather's BO on pinning error 2020-07-17 16:06:14 +02:00
job.h gpu: host1x: Support DMA mapping of buffers 2019-10-29 15:04:35 +01:00
mipi.c media: gpu: host1x: mipi: Keep MIPI clock enabled and mutex locked till calibration done 2020-08-28 15:12:38 +02:00
syncpt.c gpu: host1x: Rename "parent" to "host" 2020-01-10 16:37:38 +01:00
syncpt.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00