331 Commits

Author SHA1 Message Date
Praveen AC
f1c9521e5d [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>
2025-05-23 11:56:42 -07:00
Yijun Zhou
2039982712 android: embed AVB key0 in cpubl-dtb
UEFI needs this data under protected cpubl-dtb to determine green state.
The value is test key only and will be overriden on signing server.

Bug 4264841

Change-Id: I9897c06e2f191abf619a734caecad33f33848d8d
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3262316
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Yijun Zhou <yijunz@nvidia.com>
Reviewed-by: Byungkuk Seo <bseo@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2025-02-19 03:08:28 -08:00
Ritu Chaudhary
19e485e69e nv-public: Enable DPCM links
Enable DPCM links and update the widgets property of sound
node.

Bug 4596841

Change-Id: Ia42ee4bbbe519788f74b51921bc4fb9a47b09f06
Signed-off-by: Ritu Chaudhary <rituc@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3297629
Tested-by: Sheetal . <sheetal@nvidia.com>
Reviewed-by: Mohan kumar <mkumard@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2025-02-17 04:02:55 -08:00
Ankur Pawar
09dba03b85 t23x: DT: IMX390: modify WDR and SDR mode
Modify the following settings.
-Image dimensions
-Pixel clock
-Default, min and max gain
-Default, min and max exposure time
-PWL points(for WDR mode)

Bug 4774547

Change-Id: Ic21194a1a734af84b0a713cc770711ad8eb220a3
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3193163
(cherry picked from commit a11daeb06b)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3283634
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2025-01-29 08:24:02 -08:00
Hiteshkumar Patel
1c4dfd0cc1 t23x: dts: Add IGX500 to public repo
Add IGX500 dts support to nv-public

Bug 5018940

Change-Id: Ida4a7de3d060dc660acbbdbf9b5020ba198dc5d3
Signed-off-by: Hiteshkumar Patel <hiteshkumarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3271404
(cherry picked from commit 34a5de4f2c)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3275750
Reviewed-by: Dipen Patel <dipenp@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2025-01-07 17:43:42 -08:00
Yijun Zhou
2c26f25676 android: enable use-partition-name-suffixes
Android native support support suffix for android partition now.

Bug 4264841

Change-Id: Icaf70333c88196cd5e10ce5104159dd830fa0833
Signed-off-by: Yijun Zhou <yijunz@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3263814
Reviewed-by: Jian-Min Liu <jianminl@nvidia.com>
Reviewed-by: svc-sw-mobile-l4t <svc-sw-mobile-l4t@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-12-30 19:14:58 -08:00
Chun Ng
7c06ceffce t23x: nv-public: Disable unused nodes
Disable unused nodes in kdump kernel to removes the cbb errors and
occasionally system hang issue caused by these nodes. It also reduced
kdump kernel boot time from ~30s to 8s.

Bug 4958861

Change-Id: I112e7cfad44aba99d9119f3c6c37c33c7ae11b34
Signed-off-by: Chun Ng <chunn@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3261533
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Evan Wei <evwei@nvidia.com>
2024-12-06 04:20:47 -08:00
Gautham Srinivasan
599ccf6ee3 t23x: overlay: rename csi connector pins
Rename csi camera connector pins to 22 instead of 24.

Bug 4888305

Change-Id: I6e53e3184637ed4025398c65499caf3f6b623ca7
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3237691
(cherry picked from commit 3a75233537)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3243984
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
Tested-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
2024-11-14 17:32:37 -08:00
Yijun Zhou
cfda14f180 bootargs: move common androidboot. param to bootconfig
Remove common androidboot.<param> from cmdline and set "bootconfig".

Bug 4256908

Change-Id: I5f77bc3645ec888c8272bc31f923b854b82f2340
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3112136
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Yijun Zhou <yijunz@nvidia.com>
Reviewed-by: svc-sw-mobile-l4t <svc-sw-mobile-l4t@nvidia.com>
Reviewed-by: Ankita Garg <ankitag@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Tested-by: Yijun Zhou <yijunz@nvidia.com>
2024-11-08 03:53:11 -08:00
Hiteshkumar Patel
842eef1ded 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 <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/+/3242813
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2024-11-06 02:18:35 -08:00
Ankur Pawar
f533fba0a5 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
(cherry picked from commit 9c1a6b2d11)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3227970
Reviewed-by: Addarsh Srivastava <addarshs@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-10-15 10:29:22 -07:00
Ankur Pawar
63f16420ec 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
(cherry picked from commit e979b90a55)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3203952
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2024-10-12 01:54:52 -07:00
Ankur Pawar
899583ad98 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
(cherry picked from commit 92a36dcc76)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3180606
Reviewed-by: Praveen AC <pac@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2024-10-10 19:05:19 -07:00
Gautham Srinivasan
07b71d4603 t23x: overlay: display pin state for i2c and uart
In Jetson-IO, I2C and UART pins are configured by default,
and there is no option to disable or display them as enabled.
By adding the appropriate "nvidia,function" value, Jetson-IO
updates the "Configure header pins manually" section to show
the pin state, allowing the user to enable or disable these pins.

Also, add the input and tristate values so that the pin can be
enabled back to the right configuration.

Bug 3866629

Change-Id: I2c01ac7355259e4a3e0a10905699b5dfbbbaf177
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3219025
(cherry picked from commit 332e56ee15)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3221548
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-10-06 10:53:15 -07:00
Jerry Chang
c126bf17e6 overlay: camera: remove deprecated properties
it's now using upstream ICC API, devm_of_icc_get().
remove below properties since they are deprecated.
- num_csi_lanes
- max_lane_speed
- max_pixel_rate
- min_bits_per_pixel
- vi_peak_byte_per_pixel
- vi_bw_margin_pct
- isp_peak_byte_per_pixel
- isp_bw_margin_pct

Bug 4712696

Change-Id: I387290e02e91d9ad2cbb7b25903e1445b3d73c2b
Signed-off-by: Jerry Chang <jerchang@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3162430
(cherry picked from commit 0dc0f4c2a3)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3210555
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-09-12 17:17:58 -07:00
Brad Griffis
774f55c736 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
(cherry picked from commit bbe01efff9)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3208601
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-09-08 01:26:12 -07:00
Bruce Xu
95abc81d6b WAR: android: disable HW crypto engine
after merge changes, the HW crypto modules are installed which
cause SE Keyslot resource limitation.
disable the HW crypto engine firstly.

Bug 4464461

Change-Id: I480a877315d841a3ffd48f98326e2aefcb7d79a2
Signed-off-by: Bruce Xu <brucex@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3203039
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Stephen Wolfe <swolfe@nvidia.com>
2024-09-03 09:35:53 -07:00
Bhavik Joshi
479eb2f317 nv-public: overlay: Disable nodes in KDUMP overlay
Disable reserved-memory nodes in crash kernel overlay
For enabling crash kernel boot in hypervisor

Bug 4789553

Change-Id: Ieb6ba53c1a296d4bf4b38563e679a5ed4fa24c2d
Signed-off-by: Bhavik Joshi <bhavikj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3189304
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2024-08-20 09:58:35 -07:00
Bhavik Joshi
00d53f39f9 t23x: nv-public: Build android kdump DTBOs
Create dts files for enabling kdump
Separate android bootargs into header file

Bug 4652476

Change-Id: I357c6579da819316800c7fd33034788bcb77c3d2
Signed-off-by: Bhavik Joshi <bhavikj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3164575
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2024-08-09 21:43:18 -07:00
Yi-Wei Wang
e1a9d57a6e 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
(cherry picked from commit 1f405def24)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3189321
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2024-08-08 21:09:06 -07:00
Praveen AC
24d7e708e9 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/+/3185478
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Shubham Chandra <shubhamc@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
2024-08-02 16:50:33 -07:00
Praveen AC
433c4096e1 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
(cherry picked from commit 418dce3580)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3135133
Tested-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-07-30 08:52:12 -07:00
Praveen AC
3b03ad1824 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
(cherry picked from commit 10d83fe683)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3026076
Reviewed-by: Praveen AC <pac@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Tested-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
2024-07-26 07:41:05 -07:00
Praveen AC
aed998a268 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
Signed-off-by: Praveen AC <pac@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3066246
(cherry picked from commit e20df250cd)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3130656
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-07-25 13:46:50 -07:00
Hiteshkumar Patel
b9fb65ff2a 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
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3173608
(cherry picked from commit 1ffe07b61c)
Signed-off-by: Hiteshkumar Patel <hiteshkumarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3176364
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
2024-07-19 03:12:54 -07:00
Sameer Pujar
a27a5a2ae2 t23x: nv-public: Remove legacy sound bindings
Graph sound card driver is enabled by default now and legacy machine
driver is going to be removed. Hence cleanup the legacy bindings and
going forward only maintain the graph sound card bindings. The 'sound'
device for graph card and legacy machine driver were merged earlier,
so we don't require duplicate phandles for the 'sound' node. Hence
remove the 'tegra_sound_graph' phandle.

Bug 4596865

Change-Id: Ie5a0a325a3d8b72d102a789116f7ccafa0bc7726
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3111444
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2024-05-21 16:36:46 -07:00
Laxman Dewangan
57c3e682de tegra234: Correct the PCIE prefetch memory range
Fix the PCIE prefetch memory range for p3740-0002+p3701-0008.

Bug 4650009

Change-Id: I229de350c5ab1e87b5c60181569468e00558441a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3137700
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
2024-05-15 14:35:48 -07:00
Praveen AC
e5ca79c865 t234:[P3762/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. Changed i2c bus 8 freq to 400khz

Bug 4510846

Change-Id: I4f62d1d5a7f75f507273c06b5118814e4867f8a9
Signed-off-by: Praveen AC <pac@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3133426
Tested-by: Shubham Chandra <shubhamc@nvidia.com>
Reviewed-by: Shubham Chandra <shubhamc@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2024-05-14 15:49:05 -07:00
Jon Hunter
39a40385a8 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
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2024-05-04 11:15:50 -07:00
Sameer Pujar
1adbf25ff3 t23x: Use graph sound card driver
This commit helps to use upstream graph sound card driver and has
following changes to support it:

  - compatible property update for sound node is removed from the
    nv-platform DTSI file. No need to support legacy machine driver
    anymore and thus compatible from generic DT is good enough.

  - Rename 'nvidia-audio-card,mclk-fs' property to just 'mclk-fs'
    to align with upstream binding.

  - Upstream device tree sources have the audio codec enabled by
    default for AGX Orin platform. This was done so because all
    publicly available AGX Orin boards have onboard codec. But,
    downstream still runs some sanity tests on older boards which
    don't have codec. To support this, disable the codec in the
    downstream device tree and conditionally enable them based on
    the board revision check.

  - Upstream device tree doesn't enable all the I/O instances,
    however downstream enables all of them and has sanity coverage.
    Thus enable these by updating 'dais' property in downstream
    device tree.

  - There is codec specific setting required from machine driver
    for RT5640 codec. Add the legacy DAI link name in the codec
    endpoint node.

Bug 4451662
Bug 4453772

Change-Id: Ib471ed4526c6b45def7e1797ba9ac8b05da0946c
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3095766
Reviewed-by: Mohan kumar <mkumard@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
2024-04-19 00:18:49 -07:00
Ankur Pawar
8e5951e652 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
cherry-picked from <0aa4389b319cf59e9000598e34d099d344536360>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3100285
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2024-03-28 12:27:41 -07:00
Ankur Pawar
7ed49f085b 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
cherry-picked from <50b33874c08b83720e3014f616139e1036699426>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3100284
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-03-27 07:11:30 -07:00
Gautham Srinivasan
3928a3627f 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
(cherry picked from commit adb700a890)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3095069
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2024-03-13 20:57:18 -07:00
Ankur Pawar
8f8e3b8dda 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: I3332716d95243f3fe0911e4051d8f1f59ab47517
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3034410
cherry-picked from <6e695094482d7c722a28f7628218dd27969d8762>
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3035339
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-03-06 04:18:46 -08:00
Asha Talambedu
61fa3bf2bd t23x: prometheus: Add overlays for Hope DevKit
Following device-tree overlays for Orin Hope Developer Kit
are added:

1. M.2 Key E header
2. M.2 Key B header
2. Jetson 20-pin GPIO header

And header defining the compatible string is also added

Bug 3966930

Change-Id: I40012c496316f93eff5789fd441f42c96b1d35f0
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2953681
Signed-off-by: Asha Talambedu <atalambedu@nvidia.com>
(cherry picked from commit 41d6987300)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3080901
Reviewed-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-02-26 04:59:50 -08:00
koenz
b8b626be42 tegra234-soc-overlay: Add mods smmu device
- Add xhci, ufs, sdmmc1 device for mods smmu

Change-Id: I23a16943fab2b8ca56d2f38e93143636db9fb963
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3067685
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Koen Zhao <koenz@nvidia.com>
2024-02-10 21:07:18 -08:00
Wayne Wang
78d8c8a76c 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
(cherry picked from commit 5767db6887)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3059989
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-01-25 17:14:31 -08:00
Jian Zhang
384fc82c02 nv-platform: android: enable HDCP
Need enable HDCP property for widevine L1 on concord/firespray.

Bug 4359880

Change-Id: I0ca52da65e3f2e4ea6bfcaa158ba52257cbf01f6
Signed-off-by: Jian Zhang <jianz@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3025450
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-12-15 08:35:53 -08:00
Ankur Pawar
5a29064df4 overlay: 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
(cherry picked from commit ff7a3db2aa)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3029973
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-12-14 02:14:19 -08:00
Ankur Pawar
81f6fda7da 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
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
(cherry picked from commit 5be1acdba0)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3029808
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2023-12-07 18:23:36 -08:00
Praveen AC
0171164278 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: I9910675456717f2620a61d5da627fd5431163660
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3023948
Tested-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Praveen AC <pac@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-07 18:13:58 -08:00
Brad Griffis
ab7356099f 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
(cherry picked from commit e5ce927b18)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3016369
Reviewed-by: Paritosh Dixit <paritoshd@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-24 23:37:17 -08:00
Ankur Pawar
a85206453e 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
(cherry picked from commit c28baeab52)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3011008
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-24 15:21:37 -08:00
Yi-Wei Wang
4f65b47be8 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
(cherry picked from commit 62c5d9f2f6)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3017148
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-16 14:54:53 -08:00
Gautham Srinivasan
938d89e895 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
(cherry picked from commit 4351270491)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3014689
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-15 15:30:24 -08:00
Robert Huang
8878102228 nv-public: add OP-TEE DT node for android
Bug 4299081

Signed-off-by: Robert Huang <robhuang@nvidia.com>
Change-Id: Ibc7545613275b55bebedb2684b5f5c21cc2572d1
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3011758
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Yijun Zhou <yijunz@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-12 10:32:56 -08:00
Gautham Srinivasan
62c681a1f6 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
(cherry picked from commit ff77a8a1cd)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3000912
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-10 08:18:11 -08:00
Bruce Xu
74ff1403b9 overlay: disable se@15820000 on t234
Still need disable this node. After enable it, the device
can't work correctly which cause user data partiton access failure
and then boot failure.

Bug 4332185

Change-Id: I369e03244e2a46fb741706256138976bd2d52593
Signed-off-by: Bruce Xu <brucex@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3002338
Reviewed-by: Jian-Min Liu <jianminl@nvidia.com>
Reviewed-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-02 18:09:32 -07:00
Yi-Wei Wang
ea531083ad 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
(cherry picked from commit ba1e77ae66)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3006032
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2023-10-31 16:08:34 -07:00
Yi-Wei Wang
2ff8525d94 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
(cherry picked from commit 4348607bf9)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3006031
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2023-10-31 16:08:29 -07:00