mirror of
git://nv-tegra.nvidia.com/device/hardware/nvidia/t23x-public-dts.git
synced 2025-12-22 09:12:02 +03:00
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 4911127
Change-Id: I43349fb3ca40067df3e4f8132c2058a794c8fbf9
Signed-off-by: Hiteshkumar Patel <hiteshkumarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3239680
(cherry picked from commit 924686a94f)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3262772
Reviewed-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Tested-by: Brad Griffis <bgriffis@nvidia.com>
This commit is contained in:
committed by
Amulya Yarlagadda
parent
cf027c2d7c
commit
96406955e1
@@ -4,8 +4,6 @@
|
|||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
/plugin/;
|
/plugin/;
|
||||||
|
|
||||||
#include "tegra234-p3768-camera-rbpcv2-imx219.dtsi"
|
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
overlay-name = "Tegra234 p3768-0000+p3767-xxxx Dynamic Overlay";
|
overlay-name = "Tegra234 p3768-0000+p3767-xxxx Dynamic Overlay";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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 <dt-bindings/tegra234-p3767-0000-common.h>
|
|
||||||
#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 = <CAM0_RST 0>;
|
|
||||||
label = "cam0-rst";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
Reference in New Issue
Block a user