From de16c140ff8da66900c99255eea3f8d783d300e3 Mon Sep 17 00:00:00 2001 From: Kirill Artamonov Date: Mon, 30 Oct 2023 13:56:19 +0200 Subject: [PATCH] video: tegra: isp: Add T264 nvhost client support Extends ISP5 nvhost client driver to support T264 ISP device instances. Jira: CT26X-464 Signed-off-by: Kirill Artamonov Change-Id: I14eb6812b9af0f1c748a9683940478104d75841a Reviewed-on: https://git-master.nvidia.com/r/c/linux-t264/+/3006537 Tested-by: Akihiro Mizusawa Reviewed-by: Laxman Dewangan Reviewed-by: Chinniah Poosapadi GVS: buildbot_gerritrpt Reviewed-by: Akihiro Mizusawa Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3232409 Tested-by: Laxman Dewangan --- .../tegra/host/capture/capture-support-t264.h | 22 ++++++++++++++++++ drivers/video/tegra/host/isp/isp5-t264.h | 23 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 drivers/video/tegra/host/capture/capture-support-t264.h create mode 100644 drivers/video/tegra/host/isp/isp5-t264.h diff --git a/drivers/video/tegra/host/capture/capture-support-t264.h b/drivers/video/tegra/host/capture/capture-support-t264.h new file mode 100644 index 00000000..eaa4a2d8 --- /dev/null +++ b/drivers/video/tegra/host/capture/capture-support-t264.h @@ -0,0 +1,22 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. + */ + +/* + * struct of_device_id initialization for capture support on T264 + */ + +//static struct of_device_id capture_support_of_match[] = { + + { + .name = "isp-thi", + .compatible = "nvidia,tegra264-isp-thi", + .data = &t264_isp0_thi_info, + }, + { + .name = "isp1-thi", + .compatible = "nvidia,tegra264-isp-thi", + .data = &t264_isp1_thi_info, + }, +//} diff --git a/drivers/video/tegra/host/isp/isp5-t264.h b/drivers/video/tegra/host/isp/isp5-t264.h new file mode 100644 index 00000000..bb442e20 --- /dev/null +++ b/drivers/video/tegra/host/isp/isp5-t264.h @@ -0,0 +1,23 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. + */ + +/* + * struct of_device_id initialization for ISP on T264 + */ + +//static const struct of_device_id tegra_isp5_of_match[] = { + + { + .name = "isp0", + .compatible = "nvidia,tegra264-isp", + .data = &t264_isp0_info, + }, + { + .name = "isp1", + .compatible = "nvidia,tegra264-isp", + .data = &t264_isp1_info, + }, + +//}