diff --git a/drivers/media/platform/tegra/camera/camera_common.c b/drivers/media/platform/tegra/camera/camera_common.c index 97552c86..010c9965 100644 --- a/drivers/media/platform/tegra/camera/camera_common.c +++ b/drivers/media/platform/tegra/camera/camera_common.c @@ -1,8 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * camera_common.c - utilities for tegra camera driver +// SPDX-License-Identifier: GPL-2.0 only +/* SPDX-FileCopyrightText: Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. + * All rights reserved. * - * Copyright (c) 2015-2023, NVIDIA CORPORATION. All rights reserved. + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ #include #include @@ -44,6 +54,11 @@ static const struct camera_common_colorfmt camera_common_color_fmts[] = { V4L2_COLORSPACE_SRGB, V4L2_PIX_FMT_SGBRG12 }, + { + MEDIA_BUS_FMT_SBGGR12_1X12, + V4L2_COLORSPACE_SRGB, + V4L2_PIX_FMT_SBGGR12 + }, { MEDIA_BUS_FMT_SRGGB10_1X10, V4L2_COLORSPACE_SRGB,