[P3762/P3783]:Virtual i2c mux support all Hawks

Add virtual i2c bus support for 2nd,3rd & 4th Hawks
to read/write EEPROM data while streaming

Bug 4807682

Change-Id: I76e4a1128a66f22d13f7ee2c04c64d42da519080
Signed-off-by: Praveen AC <pac@nvidia.com>
(cherry picked from commit e96aba03cf)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3258815
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
This commit is contained in:
Praveen AC
2024-09-09 19:00:16 +00:00
committed by mobile promotions
parent b6c54fa3ca
commit f1c9521e5d
10 changed files with 193 additions and 135 deletions

View File

@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only // SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // SPDX-FileCopyrightText: Copyright (c) 2023-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
/* 12 camera module with 4 hawks and 4 Owls /* 12 camera module with 4 hawks and 4 Owls
* HAWK1 - 2 ar0234 cameras - max96712 Aggregator 1 - GMSL0 * HAWK1 - 2 ar0234 cameras - max96712 Aggregator 1 - GMSL0
@@ -1113,6 +1113,8 @@
}; };
}; };
}; };
};
i2c@2 {
ar0234_e@34 { ar0234_e@34 {
compatible = "nvidia,ar0234_hawk_owl"; compatible = "nvidia,ar0234_hawk_owl";
reg = <0x34>; reg = <0x34>;
@@ -1249,6 +1251,8 @@
}; };
}; };
}; };
};
i2c@3 {
ar0234_g@36 { ar0234_g@36 {
compatible = "nvidia,ar0234_hawk_owl"; compatible = "nvidia,ar0234_hawk_owl";
reg = <0x36>; reg = <0x36>;
@@ -1500,7 +1504,7 @@
status = "okay"; status = "okay";
drivernode0 { drivernode0 {
pcl_id = "v4l2_sensor"; pcl_id = "v4l2_sensor";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_e@34"; sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@2/ar0234_e@34";
status = "okay"; status = "okay";
}; };
}; };
@@ -1511,7 +1515,7 @@
status = "okay"; status = "okay";
drivernode0 { drivernode0 {
pcl_id = "v4l2_sensor"; pcl_id = "v4l2_sensor";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_f@35"; sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@2/ar0234_f@35";
status = "okay"; status = "okay";
}; };
}; };
@@ -1522,7 +1526,7 @@
status = "okay"; status = "okay";
drivernode0 { drivernode0 {
pcl_id = "v4l2_sensor"; pcl_id = "v4l2_sensor";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_g@36"; sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@3/ar0234_g@36";
status = "okay"; status = "okay";
}; };
}; };
@@ -1533,7 +1537,7 @@
status = "okay"; status = "okay";
drivernode0 { drivernode0 {
pcl_id = "v4l2_sensor"; pcl_id = "v4l2_sensor";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_h@37"; sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@3/ar0234_h@37";
status = "okay"; status = "okay";
}; };
}; };

View File

@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only // SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // SPDX-FileCopyrightText: Copyright (c) 2023-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
/* 12 camera module with 4 hawks and 4 Owls /* 12 camera module with 4 hawks and 4 Owls
* HAWK1 - 2 ar0234 cameras - max96712 Aggregator 1 - GMSL0 * HAWK1 - 2 ar0234 cameras - max96712 Aggregator 1 - GMSL0
@@ -24,89 +24,89 @@
reg = <0>; reg = <0>;
status = "okay"; status = "okay";
ar0234_vi_in0: endpoint { ar0234_vi_in0: endpoint {
vc-id = <0>; vc-id = <0>;
port-index = <0>; port-index = <0>;
bus-width = <2>; bus-width = <2>;
remote-endpoint = <&ar0234_csi_out0>; remote-endpoint = <&ar0234_csi_out0>;
status = "okay"; status = "okay";
}; };
}; };
port@1 { port@1 {
reg = <1>; reg = <1>;
status = "okay"; status = "okay";
ar0234_vi_in1: endpoint { ar0234_vi_in1: endpoint {
vc-id = <1>; vc-id = <1>;
port-index = <0>; port-index = <0>;
bus-width = <2>; bus-width = <2>;
remote-endpoint = <&ar0234_csi_out1>; remote-endpoint = <&ar0234_csi_out1>;
status = "okay"; status = "okay";
}; };
}; };
port@2 { port@2 {
reg = <2>; reg = <2>;
status = "okay"; status = "okay";
ar0234_vi_in2: endpoint { ar0234_vi_in2: endpoint {
vc-id = <0>; vc-id = <0>;
port-index = <1>; port-index = <1>;
bus-width = <2>; bus-width = <2>;
remote-endpoint = <&ar0234_csi_out2>; remote-endpoint = <&ar0234_csi_out2>;
status = "okay"; status = "okay";
}; };
}; };
port@3 { port@3 {
reg = <3>; reg = <3>;
status = "okay"; status = "okay";
ar0234_vi_in3: endpoint { ar0234_vi_in3: endpoint {
vc-id = <1>; vc-id = <1>;
port-index = <1>; port-index = <1>;
bus-width = <2>; bus-width = <2>;
remote-endpoint = <&ar0234_csi_out3>; remote-endpoint = <&ar0234_csi_out3>;
status = "okay"; status = "okay";
}; };
}; };
port@4 { port@4 {
reg = <4>; reg = <4>;
status = "okay"; status = "okay";
ar0234_vi_in4: endpoint { ar0234_vi_in4: endpoint {
vc-id = <0>; vc-id = <0>;
port-index = <2>; port-index = <2>;
bus-width = <2>; bus-width = <2>;
remote-endpoint = <&ar0234_csi_out4>; remote-endpoint = <&ar0234_csi_out4>;
status = "okay"; status = "okay";
}; };
}; };
port@5 { port@5 {
reg = <5>; reg = <5>;
status = "okay"; status = "okay";
ar0234_vi_in5: endpoint { ar0234_vi_in5: endpoint {
vc-id = <1>; vc-id = <1>;
port-index = <2>; port-index = <2>;
bus-width = <2>; bus-width = <2>;
remote-endpoint = <&ar0234_csi_out5>; remote-endpoint = <&ar0234_csi_out5>;
status = "okay"; status = "okay";
}; };
}; };
port@6 { port@6 {
reg = <6>; reg = <6>;
status = "okay"; status = "okay";
ar0234_vi_in6: endpoint { ar0234_vi_in6: endpoint {
vc-id = <0>; vc-id = <0>;
port-index = <3>; port-index = <3>;
bus-width = <2>; bus-width = <2>;
remote-endpoint = <&ar0234_csi_out6>; remote-endpoint = <&ar0234_csi_out6>;
status = "okay"; status = "okay";
}; };
}; };
port@7 { port@7 {
reg = <7>; reg = <7>;
status = "okay"; status = "okay";
ar0234_vi_in7: endpoint { ar0234_vi_in7: endpoint {
vc-id = <1>; vc-id = <1>;
port-index = <3>; port-index = <3>;
bus-width = <2>; bus-width = <2>;
remote-endpoint = <&ar0234_csi_out7>; remote-endpoint = <&ar0234_csi_out7>;
status = "okay"; status = "okay";
}; };
}; };
port@8 { port@8 {
reg = <8>; reg = <8>;
@@ -180,9 +180,9 @@
reg = <1>; reg = <1>;
status = "okay"; status = "okay";
ar0234_csi_out0: endpoint@1 { ar0234_csi_out0: endpoint@1 {
remote-endpoint = <&ar0234_vi_in0>; remote-endpoint = <&ar0234_vi_in0>;
status = "okay"; status = "okay";
}; };
}; };
}; };
}; };
@@ -206,9 +206,9 @@
reg = <1>; reg = <1>;
status = "okay"; status = "okay";
ar0234_csi_out1: endpoint@3 { ar0234_csi_out1: endpoint@3 {
remote-endpoint = <&ar0234_vi_in1>; remote-endpoint = <&ar0234_vi_in1>;
status = "okay"; status = "okay";
}; };
}; };
}; };
}; };
@@ -232,9 +232,9 @@
reg = <1>; reg = <1>;
status = "okay"; status = "okay";
ar0234_csi_out2: endpoint@5 { ar0234_csi_out2: endpoint@5 {
remote-endpoint = <&ar0234_vi_in2>; remote-endpoint = <&ar0234_vi_in2>;
status = "okay"; status = "okay";
}; };
}; };
}; };
}; };
@@ -258,9 +258,9 @@
reg = <1>; reg = <1>;
status = "okay"; status = "okay";
ar0234_csi_out3: endpoint@7 { ar0234_csi_out3: endpoint@7 {
remote-endpoint = <&ar0234_vi_in3>; remote-endpoint = <&ar0234_vi_in3>;
status = "okay"; status = "okay";
}; };
}; };
}; };
}; };
@@ -284,9 +284,9 @@
reg = <1>; reg = <1>;
status = "okay"; status = "okay";
ar0234_csi_out4: endpoint@9 { ar0234_csi_out4: endpoint@9 {
remote-endpoint = <&ar0234_vi_in4>; remote-endpoint = <&ar0234_vi_in4>;
status = "okay"; status = "okay";
}; };
}; };
}; };
}; };
@@ -310,9 +310,9 @@
reg = <1>; reg = <1>;
status = "okay"; status = "okay";
ar0234_csi_out5: endpoint@11 { ar0234_csi_out5: endpoint@11 {
remote-endpoint = <&ar0234_vi_in5>; remote-endpoint = <&ar0234_vi_in5>;
status = "okay"; status = "okay";
}; };
}; };
}; };
}; };
@@ -336,9 +336,9 @@
reg = <1>; reg = <1>;
status = "okay"; status = "okay";
ar0234_csi_out6: endpoint@13 { ar0234_csi_out6: endpoint@13 {
remote-endpoint = <&ar0234_vi_in6>; remote-endpoint = <&ar0234_vi_in6>;
status = "okay"; status = "okay";
}; };
}; };
}; };
}; };
@@ -362,9 +362,9 @@
reg = <1>; reg = <1>;
status = "okay"; status = "okay";
ar0234_csi_out7: endpoint@15 { ar0234_csi_out7: endpoint@15 {
remote-endpoint = <&ar0234_vi_in7>; remote-endpoint = <&ar0234_vi_in7>;
status = "okay"; status = "okay";
}; };
}; };
}; };
}; };
@@ -388,9 +388,9 @@
reg = <1>; reg = <1>;
status = "okay"; status = "okay";
ar0234_csi_out8: endpoint@17 { ar0234_csi_out8: endpoint@17 {
remote-endpoint = <&ar0234_vi_in8>; remote-endpoint = <&ar0234_vi_in8>;
status = "okay"; status = "okay";
}; };
}; };
}; };
}; };
@@ -414,9 +414,9 @@
reg = <1>; reg = <1>;
status = "okay"; status = "okay";
ar0234_csi_out9: endpoint@19 { ar0234_csi_out9: endpoint@19 {
remote-endpoint = <&ar0234_vi_in9>; remote-endpoint = <&ar0234_vi_in9>;
status = "okay"; status = "okay";
}; };
}; };
}; };
}; };
@@ -430,19 +430,19 @@
reg = <0>; reg = <0>;
status = "okay"; status = "okay";
ar0234_csi_in10: endpoint@20 { ar0234_csi_in10: endpoint@20 {
port-index = <4>; port-index = <4>;
bus-width = <2>; bus-width = <2>;
remote-endpoint = <&ar0234_ar0234_out10>; remote-endpoint = <&ar0234_ar0234_out10>;
status = "okay"; status = "okay";
}; };
}; };
port@1 { port@1 {
reg = <1>; reg = <1>;
status = "okay"; status = "okay";
ar0234_csi_out10: endpoint@21 { ar0234_csi_out10: endpoint@21 {
remote-endpoint = <&ar0234_vi_in10>; remote-endpoint = <&ar0234_vi_in10>;
status = "okay"; status = "okay";
}; };
}; };
}; };
}; };
@@ -456,19 +456,19 @@
reg = <0>; reg = <0>;
status = "okay"; status = "okay";
ar0234_csi_in11: endpoint@22 { ar0234_csi_in11: endpoint@22 {
port-index = <4>; port-index = <4>;
bus-width = <2>; bus-width = <2>;
remote-endpoint = <&ar0234_ar0234_out11>; remote-endpoint = <&ar0234_ar0234_out11>;
status = "okay"; status = "okay";
}; };
}; };
port@1 { port@1 {
reg = <1>; reg = <1>;
status = "okay"; status = "okay";
ar0234_csi_out11: endpoint@23 { ar0234_csi_out11: endpoint@23 {
remote-endpoint = <&ar0234_vi_in11>; remote-endpoint = <&ar0234_vi_in11>;
status = "okay"; status = "okay";
}; };
}; };
}; };
}; };
@@ -535,10 +535,10 @@
port@0 { port@0 {
reg = <0>; reg = <0>;
ar0234_ar0234_out8: endpoint { ar0234_ar0234_out8: endpoint {
vc-id = <0>; vc-id = <0>;
port-index = <4>; port-index = <4>;
bus-width = <2>; bus-width = <2>;
remote-endpoint = <&ar0234_csi_in8>; remote-endpoint = <&ar0234_csi_in8>;
}; };
}; };
}; };
@@ -603,10 +603,10 @@
port@0 { port@0 {
reg = <0>; reg = <0>;
ar0234_ar0234_out9: endpoint { ar0234_ar0234_out9: endpoint {
vc-id = <1>; vc-id = <1>;
port-index = <4>; port-index = <4>;
bus-width = <2>; bus-width = <2>;
remote-endpoint = <&ar0234_csi_in9>; remote-endpoint = <&ar0234_csi_in9>;
}; };
}; };
}; };
@@ -671,10 +671,10 @@
port@0 { port@0 {
reg = <0>; reg = <0>;
ar0234_ar0234_out10: endpoint { ar0234_ar0234_out10: endpoint {
vc-id = <2>; vc-id = <2>;
port-index = <4>; port-index = <4>;
bus-width = <2>; bus-width = <2>;
remote-endpoint = <&ar0234_csi_in10>; remote-endpoint = <&ar0234_csi_in10>;
}; };
}; };
}; };
@@ -739,10 +739,10 @@
port@0 { port@0 {
reg = <0>; reg = <0>;
ar0234_ar0234_out11: endpoint { ar0234_ar0234_out11: endpoint {
vc-id = <3>; vc-id = <3>;
port-index = <4>; port-index = <4>;
bus-width = <2>; bus-width = <2>;
remote-endpoint = <&ar0234_csi_in11>; remote-endpoint = <&ar0234_csi_in11>;
}; };
}; };
}; };
@@ -899,10 +899,10 @@
port@0 { port@0 {
reg = <0>; reg = <0>;
ar0234_ar0234_out0: endpoint { ar0234_ar0234_out0: endpoint {
vc-id = <0>; vc-id = <0>;
port-index = <0>; port-index = <0>;
bus-width = <2>; bus-width = <2>;
remote-endpoint = <&ar0234_csi_in0>; remote-endpoint = <&ar0234_csi_in0>;
}; };
}; };
}; };
@@ -967,10 +967,10 @@
port@0 { port@0 {
reg = <0>; reg = <0>;
ar0234_ar0234_out1: endpoint { ar0234_ar0234_out1: endpoint {
vc-id = <1>; vc-id = <1>;
port-index = <0>; port-index = <0>;
bus-width = <2>; bus-width = <2>;
remote-endpoint = <&ar0234_csi_in1>; remote-endpoint = <&ar0234_csi_in1>;
}; };
}; };
}; };
@@ -1037,10 +1037,10 @@
port@0 { port@0 {
reg = <0>; reg = <0>;
ar0234_ar0234_out2: endpoint { ar0234_ar0234_out2: endpoint {
vc-id = <0>; vc-id = <0>;
port-index = <1>; port-index = <1>;
bus-width = <2>; bus-width = <2>;
remote-endpoint = <&ar0234_csi_in2>; remote-endpoint = <&ar0234_csi_in2>;
}; };
}; };
}; };
@@ -1105,14 +1105,16 @@
port@0 { port@0 {
reg = <0>; reg = <0>;
ar0234_ar0234_out3: endpoint { ar0234_ar0234_out3: endpoint {
vc-id = <1>; vc-id = <1>;
port-index = <1>; port-index = <1>;
bus-width = <2>; bus-width = <2>;
remote-endpoint = <&ar0234_csi_in3>; remote-endpoint = <&ar0234_csi_in3>;
}; };
}; };
}; };
}; };
};
i2c@2 {
ar0234_e@34 { ar0234_e@34 {
compatible = "nvidia,ar0234_hawk_owl"; compatible = "nvidia,ar0234_hawk_owl";
reg = <0x34>; reg = <0x34>;
@@ -1173,10 +1175,10 @@
port@0 { port@0 {
reg = <0>; reg = <0>;
ar0234_ar0234_out4: endpoint { ar0234_ar0234_out4: endpoint {
vc-id = <0>; vc-id = <0>;
port-index = <2>; port-index = <2>;
bus-width = <2>; bus-width = <2>;
remote-endpoint = <&ar0234_csi_in4>; remote-endpoint = <&ar0234_csi_in4>;
}; };
}; };
}; };
@@ -1241,14 +1243,16 @@
port@0 { port@0 {
reg = <0>; reg = <0>;
ar0234_ar0234_out5: endpoint { ar0234_ar0234_out5: endpoint {
vc-id = <1>; vc-id = <1>;
port-index = <2>; port-index = <2>;
bus-width = <2>; bus-width = <2>;
remote-endpoint = <&ar0234_csi_in5>; remote-endpoint = <&ar0234_csi_in5>;
}; };
}; };
}; };
}; };
};
i2c@3 {
ar0234_g@36 { ar0234_g@36 {
compatible = "nvidia,ar0234_hawk_owl"; compatible = "nvidia,ar0234_hawk_owl";
reg = <0x36>; reg = <0x36>;
@@ -1309,10 +1313,10 @@
port@0 { port@0 {
reg = <0>; reg = <0>;
ar0234_ar0234_out6: endpoint { ar0234_ar0234_out6: endpoint {
vc-id = <0>; vc-id = <0>;
port-index = <3>; port-index = <3>;
bus-width = <2>; bus-width = <2>;
remote-endpoint = <&ar0234_csi_in6>; remote-endpoint = <&ar0234_csi_in6>;
}; };
}; };
}; };
@@ -1377,10 +1381,10 @@
port@0 { port@0 {
reg = <0>; reg = <0>;
ar0234_ar0234_out7: endpoint { ar0234_ar0234_out7: endpoint {
vc-id = <1>; vc-id = <1>;
port-index = <3>; port-index = <3>;
bus-width = <2>; bus-width = <2>;
remote-endpoint = <&ar0234_csi_in7>; remote-endpoint = <&ar0234_csi_in7>;
}; };
}; };
}; };
@@ -1409,6 +1413,7 @@
drivernode0 { drivernode0 {
/* Declare PCL support driver (classically known as guid) */ /* Declare PCL support driver (classically known as guid) */
pcl_id = "v4l2_sensor"; pcl_id = "v4l2_sensor";
/* Declare the device-tree hierarchy to driver instance */
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@3180000/ar0234_i@30"; sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@3180000/ar0234_i@30";
status = "okay"; status = "okay";
}; };
@@ -1421,6 +1426,7 @@
drivernode0 { drivernode0 {
/* Declare PCL support driver (classically known as guid) */ /* Declare PCL support driver (classically known as guid) */
pcl_id = "v4l2_sensor"; pcl_id = "v4l2_sensor";
/* Declare the device-tree hierarchy to driver instance */
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@3180000/ar0234_j@32"; sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@3180000/ar0234_j@32";
status = "okay"; status = "okay";
}; };
@@ -1498,7 +1504,7 @@
status = "okay"; status = "okay";
drivernode0 { drivernode0 {
pcl_id = "v4l2_sensor"; pcl_id = "v4l2_sensor";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_e@34"; sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@2/ar0234_e@34";
status = "okay"; status = "okay";
}; };
}; };
@@ -1509,7 +1515,7 @@
status = "okay"; status = "okay";
drivernode0 { drivernode0 {
pcl_id = "v4l2_sensor"; pcl_id = "v4l2_sensor";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_f@35"; sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@2/ar0234_f@35";
status = "okay"; status = "okay";
}; };
}; };
@@ -1520,7 +1526,7 @@
status = "okay"; status = "okay";
drivernode0 { drivernode0 {
pcl_id = "v4l2_sensor"; pcl_id = "v4l2_sensor";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_g@36"; sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@3/ar0234_g@36";
status = "okay"; status = "okay";
}; };
}; };
@@ -1531,7 +1537,7 @@
status = "okay"; status = "okay";
drivernode0 { drivernode0 {
pcl_id = "v4l2_sensor"; pcl_id = "v4l2_sensor";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_h@37"; sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@3/ar0234_h@37";
status = "okay"; status = "okay";
}; };
}; };

View File

@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only // SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // SPDX-FileCopyrightText: Copyright (c) 2024-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
/dts-v1/; /dts-v1/;
/plugin/; /plugin/;
@@ -154,12 +154,16 @@
ar0234_d@33 { ar0234_d@33 {
status = "disabled"; status = "disabled";
}; };
};
i2c@2 {
ar0234_e@34 { ar0234_e@34 {
status = "disabled"; status = "disabled";
}; };
ar0234_f@35 { ar0234_f@35 {
status = "disabled"; status = "disabled";
}; };
};
i2c@3 {
ar0234_g@36 { ar0234_g@36 {
status = "disabled"; status = "disabled";
}; };

View File

@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only // SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // SPDX-FileCopyrightText: Copyright (c) 2024-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
/dts-v1/; /dts-v1/;
/plugin/; /plugin/;
@@ -154,12 +154,16 @@
ar0234_d@33 { ar0234_d@33 {
status = "okay"; status = "okay";
}; };
};
i2c@2 {
ar0234_e@34 { ar0234_e@34 {
status = "disabled"; status = "disabled";
}; };
ar0234_f@35 { ar0234_f@35 {
status = "disabled"; status = "disabled";
}; };
};
i2c@3 {
ar0234_g@36 { ar0234_g@36 {
status = "disabled"; status = "disabled";
}; };

View File

@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only // SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // SPDX-FileCopyrightText: Copyright (c) 2024-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
/dts-v1/; /dts-v1/;
/plugin/; /plugin/;
@@ -155,12 +155,16 @@
ar0234_d@33 { ar0234_d@33 {
status = "okay"; status = "okay";
}; };
};
i2c@2 {
ar0234_e@34 { ar0234_e@34 {
status = "okay"; status = "okay";
}; };
ar0234_f@35 { ar0234_f@35 {
status = "okay"; status = "okay";
}; };
};
i2c@3 {
ar0234_g@36 { ar0234_g@36 {
status = "disabled"; status = "disabled";
}; };

View File

@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only // SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // SPDX-FileCopyrightText: Copyright (c) 2024-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
/dts-v1/; /dts-v1/;
/plugin/; /plugin/;
@@ -154,12 +154,16 @@
ar0234_d@33 { ar0234_d@33 {
status = "okay"; status = "okay";
}; };
};
i2c@2 {
ar0234_e@34 { ar0234_e@34 {
status = "okay"; status = "okay";
}; };
ar0234_f@35 { ar0234_f@35 {
status = "okay"; status = "okay";
}; };
};
i2c@3 {
ar0234_g@36 { ar0234_g@36 {
status = "okay"; status = "okay";
}; };

View File

@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only // SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // SPDX-FileCopyrightText: Copyright (c) 2024-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
/dts-v1/; /dts-v1/;
/plugin/; /plugin/;
@@ -155,12 +155,16 @@
ar0234_d@33 { ar0234_d@33 {
status = "disabled"; status = "disabled";
}; };
};
i2c@2 {
ar0234_e@34 { ar0234_e@34 {
status = "disabled"; status = "disabled";
}; };
ar0234_f@35 { ar0234_f@35 {
status = "disabled"; status = "disabled";
}; };
};
i2c@3 {
ar0234_g@36 { ar0234_g@36 {
status = "disabled"; status = "disabled";
}; };

View File

@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only // SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // SPDX-FileCopyrightText: Copyright (c) 2023-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
/dts-v1/; /dts-v1/;
/plugin/; /plugin/;
@@ -78,12 +78,16 @@
ar0234_d@33 { ar0234_d@33 {
status = "okay"; status = "okay";
}; };
};
i2c@2 {
ar0234_e@34 { ar0234_e@34 {
status = "okay"; status = "okay";
}; };
ar0234_f@35 { ar0234_f@35 {
status = "okay"; status = "okay";
}; };
};
i2c@3 {
ar0234_g@36 { ar0234_g@36 {
status = "okay"; status = "okay";
}; };

View File

@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only // SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // SPDX-FileCopyrightText: Copyright (c) 2024-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#include "tegra234-camera-p3762-a00.dtsi" #include "tegra234-camera-p3762-a00.dtsi"
#include "dt-bindings/gpio/tegra234-gpio.h" #include "dt-bindings/gpio/tegra234-gpio.h"
@@ -215,6 +215,12 @@
pwdn-gpios = <&gpio CAM0_PWDN GPIO_ACTIVE_HIGH>; pwdn-gpios = <&gpio CAM0_PWDN GPIO_ACTIVE_HIGH>;
pwr-gpios = <&gpio PWR_EN GPIO_ACTIVE_HIGH>; pwr-gpios = <&gpio PWR_EN GPIO_ACTIVE_HIGH>;
}; };
};
i2c@2 {
reg = <2>;
i2c-mux,deselect-on-exit;
#address-cells = <1>;
#size-cells = <0>;
ar0234_e@34 { ar0234_e@34 {
status = "disabled"; status = "disabled";
def-addr = <0x10>; def-addr = <0x10>;
@@ -247,6 +253,12 @@
pwdn-gpios = <&gpio CAM0_PWDN GPIO_ACTIVE_HIGH>; pwdn-gpios = <&gpio CAM0_PWDN GPIO_ACTIVE_HIGH>;
pwr-gpios = <&gpio PWR_EN GPIO_ACTIVE_HIGH>; pwr-gpios = <&gpio PWR_EN GPIO_ACTIVE_HIGH>;
}; };
};
i2c@3 {
reg = <3>;
i2c-mux,deselect-on-exit;
#address-cells = <1>;
#size-cells = <0>;
ar0234_g@36 { ar0234_g@36 {
status = "disabled"; status = "disabled";
def-addr = <0x10>; def-addr = <0x10>;

View File

@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only // SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // SPDX-FileCopyrightText: Copyright (c) 2023-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
/dts-v1/; /dts-v1/;
/plugin/; /plugin/;
@@ -215,6 +215,12 @@
pwdn-gpios = <&gpio CAM0_PWDN GPIO_ACTIVE_HIGH>; pwdn-gpios = <&gpio CAM0_PWDN GPIO_ACTIVE_HIGH>;
pwr-gpios = <&gpio PWR_EN GPIO_ACTIVE_HIGH>; pwr-gpios = <&gpio PWR_EN GPIO_ACTIVE_HIGH>;
}; };
};
i2c@2 {
reg = <2>;
i2c-mux,deselect-on-exit;
#address-cells = <1>;
#size-cells = <0>;
ar0234_e@34 { ar0234_e@34 {
status = "okay"; status = "okay";
def-addr = <0x10>; def-addr = <0x10>;
@@ -247,6 +253,12 @@
pwdn-gpios = <&gpio CAM0_PWDN GPIO_ACTIVE_HIGH>; pwdn-gpios = <&gpio CAM0_PWDN GPIO_ACTIVE_HIGH>;
pwr-gpios = <&gpio PWR_EN GPIO_ACTIVE_HIGH>; pwr-gpios = <&gpio PWR_EN GPIO_ACTIVE_HIGH>;
}; };
};
i2c@3 {
reg = <3>;
i2c-mux,deselect-on-exit;
#address-cells = <1>;
#size-cells = <0>;
ar0234_g@36 { ar0234_g@36 {
status = "okay"; status = "okay";
def-addr = <0x10>; def-addr = <0x10>;