camera: orin-nx: fixes in IMX477+IMX219 overlay

Fix the following in the overlay
1. Put IMX219 lens node was bus@0 parent node.
2. sysfs-device-tree path of IMX219 v4l2-lens.
3. Node name of second IMX219 sensor.

Bug 4359952

Change-Id: I0dd6973de09f28bcdbef3951eec1cc1d2297c5ca
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3011007
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Ankur Pawar
2023-11-06 07:54:13 -07:00
committed by mobile promotions
parent 71752edda2
commit c28baeab52

View File

@@ -21,7 +21,7 @@
jetson-header-name = "Jetson 24pin CSI Connector"; jetson-header-name = "Jetson 24pin CSI Connector";
compatible = JETSON_COMPATIBLE_P3768; compatible = JETSON_COMPATIBLE_P3768;
/* IMX77 sensor module on CSI PORT A and IMX219 sensor module on CSI PORT B */ /* IMX477 sensor module on CSI PORT A and IMX219 sensor module on CSI PORT B */
fragment@0 { fragment@0 {
target-path = "/"; target-path = "/";
__overlay__ { __overlay__ {
@@ -113,7 +113,7 @@
}; };
cam_module1_drivernode1: drivernode1 { cam_module1_drivernode1: drivernode1 {
pcl_id = "v4l2_lens"; pcl_id = "v4l2_lens";
sysfs-device-tree = "/sys/firmware/devicetree/base/lens_imx219@RBPCV2/"; sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/lens_imx219@RBPCV2";
}; };
}; };
}; };
@@ -377,7 +377,7 @@
reg = <1>; reg = <1>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
rbpcv3_imx219_c@10 { rbpcv2_imx219_c@10 {
reset-gpios = <&gpio CAM1_PWDN GPIO_ACTIVE_HIGH>; reset-gpios = <&gpio CAM1_PWDN GPIO_ACTIVE_HIGH>;
compatible = "sony,imx219"; compatible = "sony,imx219";
/* I2C device address */ /* I2C device address */
@@ -670,13 +670,13 @@
}; };
}; };
}; };
lens_imx219@RBPCV2 { };
min_focus_distance = "0.0"; lens_imx219@RBPCV2 {
hyper_focal = "0.0"; min_focus_distance = "0.0";
focal_length = "3.04"; hyper_focal = "0.0";
f_number = "2.0"; focal_length = "3.04";
aperture = "0.0"; f_number = "2.0";
}; aperture = "0.0";
}; };
gpio@2200000 { gpio@2200000 {
camera-control-output-low { camera-control-output-low {