From 6e695094482d7c722a28f7628218dd27969d8762 Mon Sep 17 00:00:00 2001 From: Ankur Pawar Date: Wed, 13 Dec 2023 22:46:38 -0800 Subject: [PATCH] overlay: camera: IMX477: Fix half preview issue Change IMX477 line_length to 11200 and 7000 for mode0 and mode1 respectively, this will the half preview issue. And IMX477 framerate will be fixed while using gstreamer app. Bug 4384649 Change-Id: I91dcae1f0417a23d685ecbc64fa09f126b3c8543 Signed-off-by: Ankur Pawar Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3034410 Reviewed-by: svcacv Reviewed-by: Praveen AC Reviewed-by: Laxman Dewangan GVS: Gerrit_Virtual_Submit --- overlay/tegra234-p3767-camera-p3768-imx219-imx477.dts | 6 +++--- overlay/tegra234-p3767-camera-p3768-imx477-cam0.dts | 6 +++--- overlay/tegra234-p3767-camera-p3768-imx477-cam1.dts | 6 +++--- .../tegra234-p3767-camera-p3768-imx477-dual-4lane.dts | 6 +++--- overlay/tegra234-p3767-camera-p3768-imx477-dual.dts | 10 +++++----- overlay/tegra234-p3767-camera-p3768-imx477-imx219.dts | 6 +++--- 6 files changed, 20 insertions(+), 20 deletions(-) diff --git a/overlay/tegra234-p3767-camera-p3768-imx219-imx477.dts b/overlay/tegra234-p3767-camera-p3768-imx219-imx477.dts index af4afac..a0502a0 100644 --- a/overlay/tegra234-p3767-camera-p3768-imx219-imx477.dts +++ b/overlay/tegra234-p3767-camera-p3768-imx219-imx477.dts @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -// SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. /dts-v1/; /plugin/; @@ -504,7 +504,7 @@ pixel_phase = "rggb"; csi_pixel_bit_depth = "10"; readout_orientation = "90"; - line_length = "3000"; + line_length = "11200"; inherent_gain = "1"; mclk_multiplier = "80"; pix_clk_hz = "300000000"; @@ -542,7 +542,7 @@ pixel_phase = "rggb"; csi_pixel_bit_depth = "10"; readout_orientation = "90"; - line_length = "3000"; + line_length = "7000"; inherent_gain = "1"; mclk_multiplier = "80"; pix_clk_hz = "300000000"; diff --git a/overlay/tegra234-p3767-camera-p3768-imx477-cam0.dts b/overlay/tegra234-p3767-camera-p3768-imx477-cam0.dts index 49a458a..ecd9975 100644 --- a/overlay/tegra234-p3767-camera-p3768-imx477-cam0.dts +++ b/overlay/tegra234-p3767-camera-p3768-imx477-cam0.dts @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -// SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. /dts-v1/; /plugin/; @@ -158,7 +158,7 @@ pixel_phase = "rggb"; csi_pixel_bit_depth = "10"; readout_orientation = "90"; - line_length = "3000"; + line_length = "11200"; inherent_gain = "1"; mclk_multiplier = "80"; pix_clk_hz = "300000000"; @@ -196,7 +196,7 @@ pixel_phase = "rggb"; csi_pixel_bit_depth = "10"; readout_orientation = "90"; - line_length = "3000"; + line_length = "7000"; inherent_gain = "1"; mclk_multiplier = "80"; pix_clk_hz = "300000000"; diff --git a/overlay/tegra234-p3767-camera-p3768-imx477-cam1.dts b/overlay/tegra234-p3767-camera-p3768-imx477-cam1.dts index 5362b6e..35412c5 100644 --- a/overlay/tegra234-p3767-camera-p3768-imx477-cam1.dts +++ b/overlay/tegra234-p3767-camera-p3768-imx477-cam1.dts @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -// SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. /dts-v1/; /plugin/; @@ -248,7 +248,7 @@ pixel_phase = "rggb"; csi_pixel_bit_depth = "10"; readout_orientation = "90"; - line_length = "3000"; + line_length = "11200"; inherent_gain = "1"; mclk_multiplier = "80"; pix_clk_hz = "300000000"; @@ -286,7 +286,7 @@ pixel_phase = "rggb"; csi_pixel_bit_depth = "10"; readout_orientation = "90"; - line_length = "3000"; + line_length = "7000"; inherent_gain = "1"; mclk_multiplier = "80"; pix_clk_hz = "300000000"; diff --git a/overlay/tegra234-p3767-camera-p3768-imx477-dual-4lane.dts b/overlay/tegra234-p3767-camera-p3768-imx477-dual-4lane.dts index 0720892..be4f876 100644 --- a/overlay/tegra234-p3767-camera-p3768-imx477-dual-4lane.dts +++ b/overlay/tegra234-p3767-camera-p3768-imx477-dual-4lane.dts @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -// SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. /dts-v1/; /plugin/; @@ -286,7 +286,7 @@ pixel_phase = "rggb"; csi_pixel_bit_depth = "10"; readout_orientation = "90"; - line_length = "3000"; + line_length = "112000"; inherent_gain = "1"; mclk_multiplier = "80"; pix_clk_hz = "300000000"; @@ -324,7 +324,7 @@ pixel_phase = "rggb"; csi_pixel_bit_depth = "10"; readout_orientation = "90"; - line_length = "3000"; + line_length = "7000"; inherent_gain = "1"; mclk_multiplier = "80"; pix_clk_hz = "300000000"; diff --git a/overlay/tegra234-p3767-camera-p3768-imx477-dual.dts b/overlay/tegra234-p3767-camera-p3768-imx477-dual.dts index 5d29dbf..d00040d 100644 --- a/overlay/tegra234-p3767-camera-p3768-imx477-dual.dts +++ b/overlay/tegra234-p3767-camera-p3768-imx477-dual.dts @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -// SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. /dts-v1/; /plugin/; @@ -286,7 +286,7 @@ pixel_phase = "rggb"; csi_pixel_bit_depth = "10"; readout_orientation = "90"; - line_length = "3000"; + line_length = "11200"; inherent_gain = "1"; mclk_multiplier = "80"; pix_clk_hz = "300000000"; @@ -324,7 +324,7 @@ pixel_phase = "rggb"; csi_pixel_bit_depth = "10"; readout_orientation = "90"; - line_length = "3000"; + line_length = "7000"; inherent_gain = "1"; mclk_multiplier = "80"; pix_clk_hz = "300000000"; @@ -393,7 +393,7 @@ pixel_phase = "rggb"; csi_pixel_bit_depth = "10"; readout_orientation = "90"; - line_length = "3000"; + line_length = "11200"; inherent_gain = "1"; mclk_multiplier = "80"; pix_clk_hz = "300000000"; @@ -431,7 +431,7 @@ pixel_phase = "rggb"; csi_pixel_bit_depth = "10"; readout_orientation = "90"; - line_length = "3000"; + line_length = "7000"; inherent_gain = "1"; mclk_multiplier = "80"; pix_clk_hz = "300000000"; diff --git a/overlay/tegra234-p3767-camera-p3768-imx477-imx219.dts b/overlay/tegra234-p3767-camera-p3768-imx477-imx219.dts index 36fcc98..c4a2a6e 100644 --- a/overlay/tegra234-p3767-camera-p3768-imx477-imx219.dts +++ b/overlay/tegra234-p3767-camera-p3768-imx477-imx219.dts @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -// SPDX-FileCopyrightText: Copyright (c) 2022-2023 NVIDIA CORPORATION. All rights reserved. +// SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. /* * Jetson Device-tree overlay to enable Camera IMX477 rbpcv3 on portA along with * camera IMX219 on portB, for dual cam connector baseboards @@ -297,7 +297,7 @@ pixel_phase = "rggb"; csi_pixel_bit_depth = "10"; readout_orientation = "90"; - line_length = "3000"; + line_length = "11200"; inherent_gain = "1"; mclk_multiplier = "80"; pix_clk_hz = "300000000"; @@ -335,7 +335,7 @@ pixel_phase = "rggb"; csi_pixel_bit_depth = "10"; readout_orientation = "90"; - line_length = "3000"; + line_length = "7000"; inherent_gain = "1"; mclk_multiplier = "80"; pix_clk_hz = "300000000";