Commit Graph

281 Commits

Author SHA1 Message Date
Hiteshkumar Patel
96406955e1 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>
2024-12-17 15:54:26 -08:00
Brad Griffis
bbe01efff9 t23x: overlay: add no-map to vpr carveout
The VPR carveout has special security constraints. It must not be
read by the CPU. Add "no-map" property to this region to avoid
issues.

Currently linux-next builds are failing to boot because we hit
an error related to this mapping.

[    0.000000] Call trace:
[    0.000000]  numa_memblks_init+0x28c/0x32c
[    0.000000]  numa_init+0x48/0x218
[    0.000000]  arch_numa_init+0x48/0x84
[    0.000000]  bootmem_init+0x6c/0x174
[    0.000000]  setup_arch+0x23c/0x5fc
[    0.000000]  start_kernel+0x68/0x710
[    0.000000]  __primary_switched+0x80/0x88
[    0.000000] Code: a8c77bfd d50323bf d65f03c0 f9800051 (c85f7c46)

Addition of no-map resolves the issue.

Bug 4749580

Change-Id: I16cd52d5ce969d3af5e1814c51e061e2d584cc22
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3208483
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Ketan Patil <ketanp@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
2024-09-05 13:24:12 -07:00
Yi-Wei Wang
1f405def24 t23x: p3701-0000-as-p3767-000*: Update CPU Fmax
Update CPU Fmax for Orin NX / Nano emulation platforms.

Bug 4196830

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I6e0d1a08eeb9e6477f3e07d5e85b08867654e46a
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3189135
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Ivan Pravdin <ipravdin@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-08-06 10:53:57 -07:00
Praveen AC
f84d681a56 t23x:P3783: Fix failed to read 2nd Hawk EEPROM serial number.
Changed EEPROM address to 0x15 for 2nd Hawks EEPROM
to avoid fail to read serial number.

Bug 4244937

Change-Id: I562a2c9c81b99baaf252e44f1e8530256a0b6643
Signed-off-by: Praveen AC <pac@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3184250
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Shubham Chandra <shubhamc@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
2024-08-01 23:39:20 -07:00
Ankur Pawar
9c1a6b2d11 overlay: t23x: fix IMX390 SDR mode corruption
Bottom two lines in IMX390 SDR mode are completely
black. Issue is fixed in IMX390 driver. Change the
image resolution to 1936x1096.

Bug 4505240

Change-Id: Ie72ffc66e3ca67ce30e6ad5b56766486f78b1d0a
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3179853
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Shubham Chandra <shubhamc@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2024-07-25 09:54:18 -07:00
Hiteshkumar Patel
1ffe07b61c nv-public:P3783: Fix probe fail of Hawks during boot.
1. Made all sensors of Hawks as master sensors so any sensor is capable
   to program SERIALIZERS i2c address translation during probe time
   i.e first come first basis.So, We wont miss or skip SERIALIZERS
   i2c trans
2. Corrected CAM0_PWDN GPIO from (H, 6) to (E, 6)

Bug 4510846
Bug 4565904

Change-Id: I6d0b881ce3e3425d70672ea56064209ac65c3c2a
Signed-off-by: Hiteshkumar Patel <hiteshkumarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3173608
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-07-12 11:54:02 -07:00
Ankur Pawar
e979b90a55 t23x: Add Hawk & Owl overlays for P3762
Add following overlays for Hawk+Owl
1xHAWK: tegra234-p3737-camera-p3762-a00-1Hawk-overlay.dtbo
2xHAWK: tegra234-p3737-camera-p3762-a00-2Hawk-overlay.dtbo
3xHAWK+3xOWL: tegra234-p3737-camera-p3762-a00-3Hawk-3Owl-overlay.dtbo
4xHAWK: tegra234-p3737-camera-p3762-a00-4Hawk-overlay.dtbo
4xOWL: tegra234-p3737-camera-p3762-a00-4Owl-overlay.dtbo

Bug 4583168

Change-Id: I7d03978628ead5b761668b58e05d6c35553ac52f
Signed-off-by: Ankur Pawar<ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3109502
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Shubham Chandra <shubhamc@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
2024-07-11 06:54:10 -07:00
Ankur Pawar
92a36dcc76 overlay: t23x: enable IMX390 WDR mode
Enable WDR(wide dynamic range) mode for IMX390.
1 Add WDR mode table to IMX390 overlay.
2 Support only link A in desrializer
  (only one sensor is supported for now).

Add tegra234-p3737-camera-imx390-addr-0x21-overlay.dtbo
for IMX390 sensor with i2c address 0x21.

Bug 4505240

Change-Id: I6ccff56d0943674bc2f0142c8829fb4c812569a1
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3105263
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2024-05-30 05:39:45 -07:00
Jon Hunter
5d0c186f3a t23x: overlay: Remove legacy Sidecar overlay
The overlay tegra234-jetson.dtbo was added for Sidecar and is no longer
needed or used and so remove this.

Bug 4164621

Change-Id: I2dc56d69ac4320c4dae1379445367b2d6dee7e1f
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3130861
(cherry picked from commit 39a40385a8)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3132473
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2024-05-14 01:10:13 -07:00
Praveen AC
3d225ae86a t234:[P3762/P3783]:Increase i2cbus-8 freq to 400khz.
Add overlay to increase i2c bus-8 freq to 400khz.

Bug 4510846

Change-Id: I662c075b34992e088b2baa6a03c8db744171be4b
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3131809
Tested-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Shubham Chandra <shubhamc@nvidia.com>
Reviewed-by: Narendra Kondapalli <nkondapalli@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Anubhav Rai <arai@nvidia.com>
2024-05-07 01:54:48 -07:00
Joseph Lo
3411f7a548 tegra234: overlay: Add fTPM node
This adds a ftpm node for the fTPM TEE CA driver in the kernel.

Jira L4T-1317
Jira L4T-2972
Bug 200771475

Change-Id: Ie2ba35012006a01f930b1d355cd0bca35cf1a26f
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2920215
(cherry picked from commit f8c6ff8c2c)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2967687
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-04-30 12:39:52 -07:00
Praveen AC
9944294772 nv-public:P3762: Fix probe fail of Hawks during boot.
1. Made all sensors of Hawks as master sensors so any sensor is capable
to program SERIALIZERS i2c address translation during probe time
i.e first come first basis.So, We wont miss or skip SERIALIZERS i2c trans.
2. Changed i2c bus 8 freq to 400khz

Bug 4510846

Change-Id: Ia627ebd430709efac64ec849b37167c88b5cf012
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3112253
Tested-by: Praveen AC <pac@nvidia.com>
Tested-by: Shubham Chandra <shubhamc@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Shubham Chandra <shubhamc@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2024-04-12 09:09:18 -07:00
Praveen AC
418dce3580 nv-public:overlay: Change P3762/P3783 sensor badge.
Change Hawk & Owl sensor badge to unique string.

Bug 4573086

Change-Id: I71556bfe1f434bc88f17113e8d9047ba29dcce91
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3104661
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Shubham Chandra <shubhamc@nvidia.com>
Tested-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Anubhav Rai <arai@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-04-04 10:24:19 -07:00
Ankur Pawar
0aa4389b31 t23x: overlay: enable IMX219 autodetection
1 Enable dual IMX219 by default for autodetection.
2 Rename the overlay configs.
3 Fix the IMX477 4 lane overlay.

Bug 4547993

Change-Id: Iaeb1b1d2be6bbda589d5fd6fedb410ce310f09cb
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3092357
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Shubham Chandra <shubhamc@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-03-15 09:39:33 -07:00
Gautham Srinivasan
adb700a890 t23x: overlay: update bmi088 with HTE info
BMI088 driver uses HTE to get timestamp instead of GTE. Add HTE
timestamp properties and correct accel and gyro gpio property
names.

Bug 4556289

Change-Id: I84e35e7bec778fe75a73d4bebc9a97f728043cd7
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3093763
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-03-12 18:09:07 -07:00
Ankur Pawar
50b33874c0 overlay: camera: fix E3333 argus issue
Set status to okay for module0 to module5 nodes
under tegra-camera-platform in E3333(ov5693) overlay.
This will fix the issue of camera not detected by
argus.

Bug 4283726

Change-Id: Ie968a09e9661892f6f744946083198696bae5fd8
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3088333
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-03-04 01:24:59 -08:00
Ankur Pawar
6e69509448 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 <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3034410
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>
2024-03-04 01:24:44 -08:00
Praveen AC
e20df250cd t23x:P3762: Fix failed to read 2nd Hawk EEPROM serial number.
Changed EEPROM address to 0x15 for 2nd Hawks EEPROM
to avoid fail to read serial number.

Bug 4244937

Change-Id: I24ae399de65e082c70487442ec0f93c9f8b17863
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3066246
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Anubhav Rai <arai@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Praveen AC <pac@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-02-01 22:39:31 -08:00
Wayne Wang
5767db6887 t23x: nv-public: add support for P3737 C5 PCIe EP
1. Add missing properties to enable C5 PCIe EP on P3737
2. Also add missing properties for some old p3737 boards

Bug 4428373

Change-Id: Ic7a6a36c6874a1d42fe903ce726b8aa075d108c4
Signed-off-by: Wayne Wang(SW-TEGRA) <waywang@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3040254
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-01-18 01:09:21 -08:00
Ankur Pawar
7dfa45e768 overlay: camera: IMX477: Fix half preview issue
Change IMX477 line_length to 3000 to fix the half preview
issue.

Bug 4389380

Change-Id: I5c00d487d6ccdac336c241de091df6c608a0eace
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3030085
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>
2023-12-13 20:54:15 -08:00
Praveen AC
d2ce15ed47 overlay:t23x:Fix failed to stream argus on some nodes.
Due to change in new DT arch,proc device tree path
is changes to sysfs device tree for P3762 & P3783.

Bug 4315055

Change-Id: I92fbeff974de152a0e928a45679ece7943f50048
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3020732
Tested-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Amit Purwar <apurwar@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-12-08 00:39:19 -08:00
Ankur Pawar
ff7a3db2aa DT: camera: single camera sensor overlay
Add single camera sensor overlay for IMX219 and IMX477.

Bug 4385287

Change-Id: I274d5305623d8cb14df71adebd341734b96e9293
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3022244
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>
2023-12-06 22:39:34 -08:00
Ankur Pawar
5be1acdba0 overlay: camera: IMX477: Fix half preview issue
Change IMX477 line_length to 3000 to fix the half preview
issue.

Bug 4389380

Change-Id: I294f595fa8b5757c32e635f3827a52e554d3679b
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3021259
Tested-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-12-06 20:24:21 -08:00
Praveen AC
10d83fe683 overlay:p3740: Add jeston-io support for csi file.
Add jetson-io support for configuring camera 122pin
connector.

Bug 4316763

Change-Id: I5e438e81d92b40beb482c7803865d3fe69078b92
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3020356
Tested-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-by: Narendra Kondapalli <nkondapalli@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-29 02:24:22 -08:00
Ankur Pawar
2dea08a1e2 DT: camera: Remove CAMERA_I2C_MUX_BUS macro
Remove CAMERA_I2C_MUX_BUS macro as its not used.

Bug 4097754

Change-Id: Ia0c67cbcdacbb2b3f8ab2ae86815143dee1047c5
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3019453
Tested-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-23 06:39:29 -08:00
Yi-Wei Wang
62c5d9f2f6 nv-platform: p3701: separate cvm from nv-common
Remove tegra234-p3701-0000.dtsi from
tegra234-p3737-0000+p3701-xxxx-nv-common.dtsi and have cvm-specific
file included in tegra234-p3737-0000+p3701-000*-nv.dts accordingly.

In addition, create tegra234-p3701-0005.dtsi which includes same
definitions as tegra234-p3701-0000.dtsi but with CMA size set to 512MB.
Hence,  no longer to handle the CMA size in the dynamic overlay.

Bug 4378720

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I4230f7d7a0a3cc5e189ee5a121981123bbb889c5
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3016296
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-15 23:25:01 -08:00
Brad Griffis
e5ce927b18 overlay: add name to tegra234-carveouts.dtbo
Add a name to the overlay.  This is helpful when debugging issues
related to overlays.

Bug 4290389

Change-Id: I08d0c991bcd2eeada0e9ab1a8254c902b713dfc2
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3016116
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-15 00:39:16 -08:00
Gautham Srinivasan
4351270491 overlay: p3767: enable C4 based on odm data
Handle alternate ODMDATA configurations related to PCIE EP mode on C4

Bug 4076164
Bug 4052872

Change-Id: Idf8a48f9915d928ed91da9382dd5e793a01cfeb9
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3013330
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-09 22:40:58 -08:00
Ankur Pawar
c28baeab52 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>
2023-11-09 04:41:23 -08:00
Yi-Wei Wang
ba1e77ae66 t23x: overlay: support p3701-0000-as-p3767-0004
Add tegra234-p3737-0000+p3701-0000-as-p3767-0004.dtbo which can be
applied on p3701-0000 and p3701-0005 to emulate p3767-0004.

Bug 4196830

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I32ec52f637c474a0c3ed86ad54a191b07c67cfcd
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3000667
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-10-20 03:11:39 -07:00
Yi-Wei Wang
4348607bf9 t23x: overlay: support p3701-0000-as-p3767-0003
Add tegra234-p3737-0000+p3701-0000-as-p3767-0003.dtbo which can be
applied on p3701-0000 and p3701-0005 to emulate p3767-0003.

Bug 4196830

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: If2328ce300658b21adda268e052de83d5fa89800
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3000485
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-10-20 03:11:28 -07:00
Yi-Wei Wang
b2de83215c t23x: overlay: support p3701-0000-as-p3767-0001
Add tegra234-p3737-0000+p3701-0000-as-p3767-0001.dtbo which can be
applied on p3701-0000 and p3701-0005 to emulate p3767-0001.

Bug 4196830

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: If5bf7a21ba20f5af19f680b4a6d92f8999e5be41
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3000424
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-10-20 03:11:17 -07:00
Yi-Wei Wang
efe6abb8fa t23x: overlay: support p3701-0000-as-p3767-0000
Add tegra234-p3737-0000+p3701-0000-as-p3767-0000.dtbo which can be
applied on p3701-0000 and p3701-0005 to emulate p3767-0000.

Bug 4196830

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I6a96ec751996724a8bccad0fa1ede582b682a31e
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3000376
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-10-20 03:11:06 -07:00
Yi-Wei Wang
85d6d86a2c t23x: overlay: support p3701-0000-as-p3701-0004
Add tegra234-p3737-0000+p3701-0000-as-p3701-0004.dtbo which can be
applied on p3701-0000 and p3701-0005 to emulate p3701-0004.

Bug 4196830

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I68201cacdec750ff3aed3ecb161ef8063b3749df
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2978923
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-10-20 03:10:56 -07:00
Gautham Srinivasan
ff77a8a1cd overlay: p3767: add hdmi dcb overlay
Add DCB overlay to support HDMI

Bug 4260444

Change-Id: I11b955e11928794b7393eb9f52ba47cf81740601
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2999888
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Vinod Atyam <vatyam@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-19 16:09:50 -07:00
Brad Griffis
ee6247a701 nv-public: add new nv dtb files
In this commit:

1. The large platform overlays are being directly built into
   a new base "nv" dtb. The names of these new dtbs directly tracks the
   name of the upstream dtb that it extends. For an upstream dtb named
   <base>.dtb the new corresponding new file is named <base>-nv.dtb.

2. The source files for <base>-nv.dtb are located in the nv-soc/ and
   nv-platform/ files.  Those files originated in the overlay/
   directory but are moved to reflect that they are no longer part of
   an overlay.

This new layout seeks to simplify building and handling of dtb files
while retaining close compatibility with the upstream dts sources.

Bug 4290389

Change-Id: Ic812e8e16c5515bb3e17b99a23815a99f67c42a2
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2996468
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-18 16:39:31 -07:00
Brad Griffis
a011a22ad5 overlay: remove fragment syntax with preprocessor
As part of the process to transitioning to a full featured
base dtb, we need the ability to include various files without
completely rewriting them.  This will be an incremental step.
Eventually these preprocessor commands will be removed and
the indentation fixed.

This change is not intended to change any behavior.  It is merely
adding the infrastructure for future patches.  It will be possible
for a base dts file to define REMOVE_FRAGMENT_SYNTAX and directly
include these files.

Bug 4290389

Change-Id: I778bc25dcd7e4fa96f003882e34e38fe5aaf40e7
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2992336
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-17 16:54:28 -07:00
Brad Griffis
323d1fd8b6 overlay: move camera-related files to dynamic overlay
Cameras are optional and so they should be part of the dynamic overlay.
Keep the soc-related camera file in the static overlay.

Bug 4290389

Change-Id: I216f271d39fb9e1e1585ede14d3ca28e5d49fd6c
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2996299
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-17 16:54:23 -07:00
Brad Griffis
10775b443a overlay: refactor fragments for main overlays
Use 1 fragment with target '/'. This makes it easier to migrate code
from an overlay to a base dtb.

Bug 4290389

Change-Id: I8427d9bb1b42d9cd7923a72a3ab026b4db4b6924
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2992246
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-17 13:24:24 -07:00
Kartik
2b8131ec80 Revert "overlay: p3701: Remove unused interrupts from timer node"
This reverts commit f29d381a73.

Bug 4173986

Change-Id: Ic0052acfb4af2641e76bd3b9bb9309f78e96cbc2
Signed-off-by: Kartik <kkartik@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2995357
(cherry picked from commit 4db512925f50748f39f68ff80db7190e51b30785)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2998483
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-17 00:09:32 -07:00
Brad Griffis
8659e49247 overlay: add overlay-name to dynamic overlays
Fixes: "overlay: put runtime fragments in separate overlay"

Newly created overlays were created in the above patch, but the names
were omitted.  Add overlay-name to each new overlay.

Bug 4290389

Change-Id: I3f9b8f44d3dc127f840d7e823500c026318234be
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2997389
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-16 14:39:19 -07:00
Sheetal
58e42d9b14 p3768: Enable APE nodes
- Enabled APE nodes.
- For Jetson IO tool:
  - Added required labels.
  - Defined regulator node.

Bug 4287075

Change-Id: I94a92fb460e00da2c59b9e537514a5d0a5b8710e
Signed-off-by: Sheetal <sheetal@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2996845
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-10-16 07:54:21 -07:00
Ankur Pawar
014aa0884d DT: add interconnect information for RCE
Bug 3997304

Change-Id: I5cd5e532a8a5303367068cf4276a424a5770a12e
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2912199
(cherry picked from commit fa51d49880)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2997832
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-16 05:24:50 -07:00
Gautham Srinivasan
27a9472777 overlay: add missing "SPDX-FileCopyrightText" tag
svcacv is giving -1 as SPDX-FileCopyrightText tag was missing in
the license header. Fix them.

Bug 4327489

Change-Id: Ie71faf9d60550318d4722bdc0559af4cd2d3b441
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2995601
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-13 02:43:40 -07:00
Brad Griffis
af4c57cd95 overlay: put runtime fragments in separate overlay
This is an incremental step toward having a "with-oot" base dtb
that contains both the upstream dtb as well as the nvidia-oot
data in a single statically built dtb.

Note that currently the base dtb is stored and managed in the
rootfs via extlinux.conf file.  The overlays however live inside
the UEFI partition.  The ultimate goal is to have consistency
in how the dtb files are managed.

After we combine the data from nvidia-oot overlay dtb into the
future "with-oot" base dtb then we can move the remaining overlays
to the rootfs and manage all dtbs/overlays there.

This patch takes the first critical step toward this goal by
separating the static overlay data from the dynamic overlay data
that gets applied conditionally at run-time.

Bug 4290389

Change-Id: I403ac84b0737368b8bc96952552729ab7e46802b
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2991524
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-10-11 21:56:45 -07:00
Ankur Pawar
b6654615e2 camera: orin-nx: correct the lens path
IMX219 lens node is under bus@0, give same path in
sysfs-device-tree property.

Bug 4273295

Change-Id: Ic0a37e8f5be4af89052d0d6a7bf74c654330dd49
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2974784
Reviewed-by: Addarsh Srivastava <addarshs@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-11 21:56:35 -07:00
Brad Griffis
2fa2e4b191 overlay: p3768: enable i2c5
UEFI expects that i2c5 is enabled and will throw an assert otherwise.
In k5.10 dtb this was enabled there as well, so enabling here for
consistency and to avoid issues with UEFI.

The i2c5 controller is necessary for HDMI use case but it is ok to
have it enabled for DP use case.

Bug 4327032

Change-Id: Ib9af7c95198b7650df2537d0859ed8a5b8af1aa0
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2995550
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-11 19:40:41 -07:00
Gautham Srinivasan
a38de0f405 overlay: p3768: PCIE alternate UPHY config
Manage PCIe (C7 and C9) controllers using odm-data field.
PCIe alternate config "gbe-uphy-config-9" uses C7x1 and
C9x1 controllers.

Bug 4052872

Change-Id: I9608b17f0a99e0fd382e3f9c6da72753626e7f2c
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2993862
Reviewed-by: Dipen Patel <dipenp@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-11 19:40:31 -07:00
Akhil R
e9f24537f9 overlay: soc: Update Tegra SE compatible
Update Tegra SE compatible to support the new driver
instead of tegra-se-nvhost driver.

Bug 4221414
Bug 3579794

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Change-Id: I8534daf772b1f0a514d691ad068ea9891fc1400b
(cherry picked from commit 550cab93e5)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2992685
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-11 19:40:08 -07:00
Ankur Pawar
6d346a9167 concord: use predefined macro JETSON_COMPATIBLE
SKU8 is not included in compatible string of
camera sensor overlay. This is causing issue of
sensor not detected on SKU8 board.

Use JETSON_COMPATIBLE macro which has all
SKUs.

Bug 4301117

Change-Id: I93d34a6f8ece632bf25d7cd65a037bf3351b450a
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2988039
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-08 21:24:15 -07:00