From 842eef1dedf0079fc4538d4029a656abbde24622 Mon Sep 17 00:00:00 2001 From: Hiteshkumar Patel Date: Tue, 29 Oct 2024 20:41:14 +0000 Subject: [PATCH] t23x: nv-public: Disable IMX219 auto-detection Disable IMX219 auto-detection. It was introducing boot error as "imx219_board_setup: error during i2c read probe (-121)" when IMX219 sensor is not connected. Bug 4777964 Bug 4911127 Change-Id: I43349fb3ca40067df3e4f8132c2058a794c8fbf9 Signed-off-by: Hiteshkumar Patel Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3239680 (cherry picked from commit 924686a94f3f9c455468a77698dc003c4a5e24db) Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3242813 GVS: buildbot_gerritrpt Reviewed-by: Brad Griffis --- ...tegra234-p3768-0000+p3767-0000-dynamic.dts | 2 - .../tegra234-p3768-camera-rbpcv2-imx219.dtsi | 54 ------------------- 2 files changed, 56 deletions(-) delete mode 100644 overlay/tegra234-p3768-camera-rbpcv2-imx219.dtsi diff --git a/overlay/tegra234-p3768-0000+p3767-0000-dynamic.dts b/overlay/tegra234-p3768-0000+p3767-0000-dynamic.dts index b9fed39..6fc4902 100644 --- a/overlay/tegra234-p3768-0000+p3767-0000-dynamic.dts +++ b/overlay/tegra234-p3768-0000+p3767-0000-dynamic.dts @@ -4,8 +4,6 @@ /dts-v1/; /plugin/; -#include "tegra234-p3768-camera-rbpcv2-imx219.dtsi" - / { overlay-name = "Tegra234 p3768-0000+p3767-xxxx Dynamic Overlay"; }; diff --git a/overlay/tegra234-p3768-camera-rbpcv2-imx219.dtsi b/overlay/tegra234-p3768-camera-rbpcv2-imx219.dtsi deleted file mode 100644 index b1fd62a..0000000 --- a/overlay/tegra234-p3768-camera-rbpcv2-imx219.dtsi +++ /dev/null @@ -1,54 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-only -// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. - -#define CAM0_RST TEGRA234_MAIN_GPIO(H, 3) -#define CAM0_PWDN TEGRA234_MAIN_GPIO(H, 6) -#define CAM1_PWDN TEGRA234_MAIN_GPIO(AC, 0) -#define CAM_I2C_MUX TEGRA234_AON_GPIO(CC, 3) - -#include -#include "tegra234-camera-rbpcv2-imx219.dtsi" - -/ { - fragment-camera-imx219@0 { - target-path = "/"; - __overlay__ { - bus@0 { - cam_i2cmux{ - status = "okay"; - compatible = "i2c-mux-gpio"; - #address-cells = <1>; - #size-cells = <0>; - i2c-parent = <&cam_i2c>; - mux-gpios = <&gpio_aon CAM_I2C_MUX GPIO_ACTIVE_HIGH>; - i2c@0 { - status = "okay"; - reg = <0>; - #address-cells = <1>; - #size-cells = <0>; - rbpcv2_imx219_a@10 { - reset-gpios = <&gpio CAM0_PWDN GPIO_ACTIVE_HIGH>; - }; - }; - i2c@1 { - status = "okay"; - reg = <1>; - #address-cells = <1>; - #size-cells = <0>; - rbpcv2_imx219_c@10 { - reset-gpios = <&gpio CAM1_PWDN GPIO_ACTIVE_HIGH>; - }; - }; - }; - gpio@2200000 { - camera-control-output-low { - gpio-hog; - output-low; - gpios = ; - label = "cam0-rst"; - }; - }; - }; - }; - }; -};