Commit Graph

573 Commits

Author SHA1 Message Date
Brad Griffis
8c6f5f04a9 t23x: overlay: remove tegra234-p3768-0000+p3767-0005 again
The file tegra234-p3768-0000+p3767-0005 was previously removed and
was mistakenly added back in another patch.

Bug 4204734
Bug 4191790

Fixes: 35cf164bfb ("orin-nx: configure camera sensor using jetson-io")
Change-Id: I0201567f7b9f8b2f2d85b966ddbfb2df8b47396c
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2983864
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-23 14:39:14 -07:00
Laxman Dewangan
b4f04dd444 t23x: overlay: Remove linux version check
The DT supports the >=K5.15 and so there is no need to
have check for this linux kernel version.

Make the support for >=K5.15 as default and remove the
Linux version checks.

Bug 4243457

Change-Id: I59dfe0af322e9fdfeebd5dd4f1e54a2257fa6f5e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2983693
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-23 14:38:53 -07:00
Mahesh Kumar
92b5c25d38 t23x: display EMC phandle for interconnects property
interconnects property need emc phandle, add it to the
interconnect property for display.

Bug 4197323

Change-Id: Ia09580ea8472d04b01b9ed71c291e26fcef51f1c
Signed-off-by: Mahesh Kumar <mahkumar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2951023
(cherry picked from commit 8a5a3dffda)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2951240
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Vinod Atyam <vatyam@nvidia.com>
Tested-by: Vinod Atyam <vatyam@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-22 20:02:49 -07:00
Bitan Biswas
6b3a29b4ff t23x: nv-public: add dt-bindings header
Add t23x nv-public dt-bindings headers so
that generic-dts compilation errors can be fixed.

bug 4197981

Change-Id: I00f3a1f02540cfe5eeb4be51defe985d0857654f
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2978965
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
2023-09-21 13:05:10 -07:00
Ankur Pawar
6c7331c543 DT: camera: dynamic I2C address
pca945x I2C mux driver fix the bus address
for camera sensor when it reads force_bus_start
property in DT, which has value 0x1e = 30. To remove
this hard coding, delete force_bus_start, devname
properties. And use sysfs-device-tree instead of
proc-device-tree.

Bug 4097754

Change-Id: Ibc7aedefe0fdb0eee2c77a034e5b08e8c83ccd87
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2924945
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-20 18:45:56 -07:00
Johnny Liu
aa5a375761 overlay: add interconnects information for vi
THI is inside Falcon, and Falcon is inside VI. Add essential
interconnects information for each individual device related to VI.

Bug 4199055

Signed-off-by: Johnny Liu <johnliu@nvidia.com>
Change-Id: I87a5a746371a0d712312d71be45465c2ea78beab
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2977696
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-20 10:08:29 -07:00
Gautham Srinivasan
22f7ed374f overlay: p3768: Enable vrs10 power seq
Enable vrs10 power sequencer for Orin NX/Nano devices.
This is used for rtc alarm.

Bug 3801368

Change-Id: I74a54ecb2099058840b4b1e199603d0f8946d9b4
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2977266
(cherry picked from commit 3d3748f62b)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2981646
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-19 21:11:40 -07:00
Ankur Pawar
0acae56138 concord: configure camera sensor using jetson-io
Add camera sensor overlay for auto detection
and selection using jetson-io tool.

Sensor enabled in this gerrit:
1 E-CON AR1335
2 E3653 AR0234 Dual Hawk
3 IMX390

Multiple overlay fragments converted to one fragment for
1 E3331
2 E3333

pca945x I2C mux driver fix the bus address
for camera sensor when it reads force_bus_start
property in DT, which has value 0x1e = 30. To remove
this hard coding, delete force_bus_start, devname
properties. And use sysfs-device-tree instead of
proc-device-tree.

Bug 4191790
Bug 4097754

Change-Id: If3fd7b5ef78509f30d7609363883be58855a0445
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2957103
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-14 13:26:42 -07:00
Praveen AC
d486bccca9 t23x: Disable cam tsc driver by default.
Since driver is enabled by default,Causing kernel
warnings during boot time.
Since cam_cdi_tsc driver is dependent on nv_hawk_owl driver
& in turn it depends on max96712 driver.
Now, cam_cdi_tsc driver is enabled from sensor overlay dt file.

Bug 4268876

Change-Id: I90bf4e8181f131169f2979544ca54af8e4a3917a
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2979205
Tested-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Shubham Chandra <shubhamc@nvidia.com>
Reviewed-by: Jukka Kaartinen <jkaartinen@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-13 22:21:18 -07:00
Lovie Wang
4e450ca886 t23x: overlay: fsicom: add new hsp mailbox and stream id inst
- add top2 hsp mailbox 5 and 4 for core 1 usage
- add FSI_CPU1 stream id for core 1 memory map
- newnode created for each SMMU inst

Bug 4243457

Change-Id: Id66c060d5daa1ca6458e3cbeee81dafc88904560
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2977860
Reviewed-by: Prashant Kumar Shaw <pshaw@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Lovie Wang <loview@nvidia.com>
2023-09-13 15:52:42 -07:00
Johnny Liu
73569dc99b overlay: enable cpuidle for p3767
Enable C7 cpuidle state for p3767

Bug 4283702

Signed-off-by: Johnny Liu <johnliu@nvidia.com>
Change-Id: Iefb9b0c910f78a3a663253409c2e6ec034a06ac5
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2978878
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-09-12 15:01:52 -07:00
Johnny Liu
6240fad6ee overlay: correct host1x clients for orin-nano
There is no DLA, PVA, NVJPG, and NVENC on orin-nano platform. Therefore,
remove the corresponding dts nodes.

NVDEC is there on orin-nano. Therefore, add the corresponding dts node.

Bug 4283094

Signed-off-by: Johnny Liu <johnliu@nvidia.com>
Change-Id: If9d52e1932b02939f3097c5f66c76a0a64b00f92
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2978555
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-12 08:00:40 -07:00
Johnny Liu
b07b8ac217 overlay: enable cactmon, nvdec, nvenc, nvjpg
This change enables central actmon, and multimedia engines, such as
nvdec and nvenc.

Remove one redundant dts node of nvjpg.

Bug 4273157
Bug 4273121
Bug 4273117

Signed-off-by: Johnny Liu <johnliu@nvidia.com>
Change-Id: Id00aaaeb6af65060a37efc91d5e5b81cc7c0f70f
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2974745
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-08 13:07:32 -07:00
Shubhi Garg
421d0a796b t23x: overlay: enable mttcan for Orin AGX
Orin AGX has 2 mttcan controllers on 40-pin header.
Enabled controllers for >=K5.15

Bug 4228080

Change-Id: Icbe95ba3abcf151edbe65b0d4bbd3120a006757f
Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2973953
(cherry picked from commit 67aec33442)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2974986
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-07 12:32:26 -07:00
Ankur Pawar
35cf164bfb orin-nx: configure camera sensor using jetson-io
Add camera sensor overlay for auto detection
and selection using jetson-io tool.

Sensor enabled in this gerrit:
dual IMX219
dual IMX477
4 lane dual IMX477
IMX477+IMX219

Bug 4191790

Change-Id: I9dad8c2c731d46533854ee25b3bd092c539fb08c
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2957157
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-07 12:25:30 -07:00
Shubhi Garg
ddc6a3414f overlay: correct VRS parent irq setting
In >=K5.15, PMIC IRQ is mapped using wake ID number instead of
IRQ number if IRQ is wake capable.

Bug 4173986

Change-Id: I1add39ee56d49603e45af6d216012e3a190fc990
Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2969742
Reviewed-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-05 03:39:34 -07:00
Brad Griffis
86bb083cf5 overlay: nx/nano: enable dce and display
Enable DCE and display nodes for Orin NX/Nano devices.

Bug 4182533

Change-Id: I528d2439e5cfa3e752ca3e3d2ff7f12bf85f778d
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2966248
(cherry picked from commit ee2a9831fe)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2972585
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-02 16:50:56 -07:00
Praveen AC
ed0ab24f08 t23x: Add Hawk & Owl support on P3762/P3783.
Made following changes:
1.Add 4xHawk & 4xOwl module support on P3762 & P3783.
2.Fix simultaneous streaming of Owl & Hawk.
3.Update EEPROM address for Hawk & Owl.
4.Add DT support for TSC gen.
5.Add virtual i2c mux node for p3762.
6.Add overlay support for P3762 & P3783.

Bug 3620984
Bug 3562348
Bug 3866131
Bug 3932004
Bug 4096788
Bug 4091221
Bug 4146784
Bug 4245526

Change-Id: I15d731249234711c706c2fb8f6a3cfc1d9fc125d
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2971173
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-09-01 12:52:34 -07:00
Akhil R
a09707acf9 t23x: overlay: Add iommus property to i2c nodes
Add iommu property to i2c nodes to facilitate owning of DMA
memory allocated from I2C adapter driver. This is required to
solve the impact from the below commit.

"Revert "i2c: tegra: Allocate DMA memory for DMA engine""
which reverts commit f064fda92c68a8a89d00b8d2822d67203b5bb39d.

Bug 200761027
Bug 4112053
Bug 4253415
Bug 4251463
Bug 4233150

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Change-Id: I330c878495aa871c65a778168f32193b013727af
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2971477
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-01 07:03:09 -07:00
Brad Griffis
2de60953e8 t23x: overlay: remove tegra234-p3768-0000+p3767-0005
There should only be one overlay for p3768 carrier board and it
supports all module variants through use of the
tegra234-p3767-sku-handling.dtsi file.

For now the p3768 overlay will utilize the "corepair" instead of
"cluster" thermal cooling as it is compatible with all p3767
modules.  The "cluster" cooling would be preferred for SKU 0, but
it will soon be upstreamed to the base dtb.  To simplify overlay
maintenance we will use "corepair" for now.

Bug 4204734

Change-Id: I3908eca02b62a6a07f6ce7e7814cddab6f56449e
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2969217
(cherry picked from commit 5888137f08)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2971124
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-01 07:00:57 -07:00
Aniket Bahadarpurkar
4c979cbaf7 overlay: Reduce camdbg carveout
Halve camdbg carveout for DRAM optimization

Bug 3995285

Change-Id: Ic5ca2b3c9dfee1fe54e50073d008c0e3f893e0e6
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2902774
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-08-28 15:12:13 -07:00
raju patel
06edd03224 code-owners: Populate OWNERS file
Create OWNERS file for repo as part of Code Ownership
management initiative. This change populates initial set
of owners for the repository.
OWNERS file can be further modified to add additional owners
or manage ownership at granular level at subdirectory or file level
More details - https://gerrit.googlesource.com/plugins/code-owners

Bug 4199186

Change-Id: Iada840f8e502b15a285fbcd61044cbd3d027d58e
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2948791
Reviewed-by: Raju Patel <rajup@nvidia.com>
Tested-by: Raju Patel <rajup@nvidia.com>
2023-08-27 03:15:48 -07:00
Yi-Wei Wang
cd6b649562 t23x: overlay: Disable throttling for safety IGX
The clock frequency should be static and avoid any kind of throttling
mechanism for safety IGX. So, this change overwrites the cooling states
of the cpufreq and the devfreq cooling devices to 0 to avoid entering
any other cooling states that could throttle the clocks.

Bug 4035713
Bug 4084478

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I9756787c0e22f9325d32a4c6f3a2e7bccdd41274
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2952583
(cherry picked from commit f29dd7b7c4)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2953639
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-08-22 02:12:42 -07:00
Yi-Wei Wang
0af37f9714 t234: overlay: Enable thermal slowdown features
As slower clock frequency generates less heat, this change enables
thermal slowdown features which throttles CPU clock and GPU clock
when the passive trip points are crossed.

It's worth mentioning that all the CPU cores within the same cluster
are designed to operate at same clock frequency for Tegra234 platforms.
For AGX Orin series and Orin NX 16GB, there are 12 or 8 CPU cores
which are split into 3 or 2 clusters with 4 cores in each. So only one
CPU core per cluster needs to be registered as a cooling device.

But for Jetson Orin NX 8GB, Jetson Orin Nano 8GB, and Jetson Orin Nano
4GB platforms, there are only 6 CPU cores, 4 of which are in a cluster,
and the remaining 2 are in pairs in another cluster. Since it's
unpredictable at build-time which CPU cores will be disabled for a given
unit, there should be one CPU core registerd as cooling device per CPU
core pair to ensure all the CPU clocks can be throttled.

So, this change adds tegra234-soc-thermal-slowdown-cluster.dtsi and
tegra234-soc-thermal-slowdown-corepair.dtsi to handle both of the cases.

The passive trip point temperatures are derived from
//hw/ar/doc/t23x/sysarch/power/global_functions/thermal_management/
T234_Thermal_Settings.xlsx#21.

Bug 4035713

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I5e0bea5ce6e2370710c303a057773b3d7352d168
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2952086
(cherry picked from commit 74f3a2846e)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2933111
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-08-22 02:12:32 -07:00
Ashish Mhetre
42cad285fd overlay: Add mc-hwpm DT node
Add device tree node for mc-hwpm driver in T234 overlay files.

Bug 4235766

Change-Id: I7deb3278a8796e51ed35235ee5ac8ed2c45eec9b
Signed-off-by: Ashish Mhetre <amhetre@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2963152
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-08-20 17:44:02 -07:00
Ankur Pawar
fb00a2ea6e camera: include IMX219 and IMX477 camera sensor
Include IMX219 and IMX477 device tree in p3768 overlay.

Enable following nodes
tegra-hsp@b950000
nvjpg@15380000
nvjpg1@15540000
nvjpg@15540000

Bug 3583587

Change-Id: Iae8472d89cbb3efa3e78aed3a3056fd3698e4368
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2912259
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Anubhav Rai <arai@nvidia.com>
2023-08-20 08:24:23 -07:00
Yijun Zhou
18ccd16576 WAR: android: disable SE1 nvhost for concord
Disable SE1-nvhost on concord, which leads to cpu stall during init and
hurt boot time quite a lot.

Bug 4218838

Change-Id: I2401e8ea047e1a19456980e5d271bcd374d5120a
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2962361
Tested-by: Yijun Zhou <yijunz@nvidia.com>
Tested-by: Akshay Tigga <atigga@nvidia.com>
Reviewed-by: Akshay Tigga <atigga@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-08-18 11:04:05 -07:00
Anubhav Rai
8841f1e93a prometheus: add HDMI CSI bridge
add HDMI CSI bridge overlay

bug 4231431

Change-Id: Ie510275f5493d7cfb5113d4841d3e96ddd101e9d
Signed-off-by: Anubhav Rai <arai@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2954139
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-18 10:52:51 -07:00
Ankur Pawar
11e6f4528d concord: configure camera sensor using jetson-io
Add camera sensor overlay for auto detection
and selection using jetson-io tool.

Sensor enabled in this gerrit:
IMX274
IMX318
E3333
IMX185

Bug 4191790

Change-Id: I6b5aba39828d5bc3ffba216edc49370781def9c8
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2902663
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Shubham Chandra <shubhamc@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-18 10:44:32 -07:00
Yi-Wei Wang
8ed4b46476 overlay: header: Copy thermal.h DT binding header
Copy thermal.h DT binding header file from core kernel which is needed
for the thermal overlay.

Bug 4035713

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I596e182bb1bb94bc90a9a2812dafafe6f1c4fbf3
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2952085
(cherry picked from commit 2f4bb5bc45)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2933110
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-16 18:32:15 -07:00
Yijun Zhou
a0e2238921 WAR: android: disable all se node for concord
On concord, tegra_se_nvhost has keyslot issue and leads to OOM
when cryptofs.
Disabled se node in concord dts

Bug 4097192

Change-Id: I82ae26bfe5f4ff04aec26bff9e0aeefbeefe3cc7
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2953390
Tested-by: Yijun Zhou <yijunz@nvidia.com>
Reviewed-by: Byungkuk Seo <bseo@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-08-16 06:41:57 -07:00
Yi-Wei Wang
007c60a4db t23x: overlay: Disable rail-gating for safety IGX
This change disables GPU rail-gating as it's not a mandatory feature for
safety IGX. The ideal approach for disabling GPU rail-gating should be
deleting the `power-domains` property in GPU node. But the
/delete-property/ is not a valid syntax in the device tree overlay, the
`nvidia,tegra-joint_xpu_rail` is specified to achieve the same as an
alternative.

Bug 4084478

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: Ia186cc0bc18f5d1a216a511af3e5cc4588c07b21
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2946710
(cherry picked from commit 6c69a54be5)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2953502
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2023-08-13 00:37:46 -07:00
Johnny Liu
ad7a616489 t234: overlay: add actmon clock and reg
To enable actmon infrastructure, we need to add actmon reg and clock
handle information in the dtb file.

Bug 4231068

Signed-off-by: Johnny Liu <johnliu@nvidia.com>
Change-Id: Ic177b13d66e96b5da22e2c45ffc075cddbff6455
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2953481
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-13 00:36:47 -07:00
Sameer Pujar
2c1a3120cd tegra234: overlay: Make sound upstream compatible
It is nice to have downstream DTB working well with upstream kernel
drivers. This gives a flexibile option for users to choose between
out-of-tree and upstream audio drivers by selectively adding either
of these to deny list.

However, this does not work today because of following reasons:
  - The compatible property is overridden to work only with
    downstream machine driver. Thus upstream machine driver
    doesn't get probed and downstream machine driver cannot
    work with upstream AHUB drivers.

  - The downstream machine driver uses 'pll_a_out0' as clock
    name for PLLA_OUT0. Where as upstream uses 'plla_out0'.
    This causes probe failure in upstream machine driver with
    downstream DTB.

To fix above issues following changes are made in the overlay:
  - Extend compatible property in the overlay rather than
    overriding. This means include compatibles for both upstream
    and downstream machine drivers.

  - Align with upstream compatible clock name.

Bug 4119612

Change-Id: Iad2adbf1a391f99c5102b0c7e49391e6c5f39942
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2948459
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-08-10 00:33:10 -07:00
Brad Griffis
53cd13710e t23x: overlay: add fusb301 to p3768
The carrier board of the Orin Nano Dev Kit uses the fusb301
for determining which mode to set the USB.  Add the necessary
device tree entries to enable this IC.

Bug 4119758

Change-Id: I1915487bc9fd259118c6e785da4014424e5837fc
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2938182
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-08-10 00:26:13 -07:00
Yi-Wei Wang
ec77d845b5 t23x: overlay: Overwrite compatible for safety IGX
Correctly overwrite the compatible string for safety IGX so that the
userspace application can learn whether it's safety platform or not.
In addition, split "nvidia,p3740-0002+p3701-0008-safety" into
"nvidia,p3740-0002+p3701-0008" and "safety" which is platform agnostic.

Bug 4084478

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: Ibf701149c9b498a47e964082d999707b4f3475ac
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2942616
(cherry picked from commit cf3129d52e)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2943443
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-08 06:37:56 -07:00
Laxman Dewangan
2cf1cedaa4 tegra234: p3737-0000: Move audio codec to base from overlay
The audio codec and sound nodes are added into the base DTS
file in mainline. Hence, to align the base DTB with mainline,
move the audio codec from overlay file to the base file.

Cherry picked from commit f3e2de01530fdeb1317d7680740f0b5894ffd607
Change: Partial integration limited to codec only. Rest of changes
        are already integrated.

Bug 4037899

Change-Id: I0d4835b2d1503610261dacc3049d61514592fea2
Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2949578
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-08-06 05:02:34 -07:00
Laxman Dewangan
f0a23e3a6e tegra234: Add ethernet node properties in base file
Add properties of ethernet node which are missing
from mainline 6.5-rc2.

The properties which are used for downstream are
applied via overlay.

Bug 4037899

Change-Id: I76bba693844b6c16f4e915b9c55c152e22824117
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2949571
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-05 13:11:49 -07:00
Laxman Dewangan
2bfd356c6d tegra234: Avoid new label of node which is already labeled
The i2s4 endpoint node is already labeled as i2s4_dap

bus@0->aconnect@2900000->ahub@2900800->i2s@2901300->ports->port@1->endpoint.
So avoid relabeling again of same node, use the existing label.

This will help matching the file with kernel 6.5.rc2

Bug 4037899

Change-Id: I7206510f6556406bb4fb5b311a5832b79118aa0f
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2948445
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Sheetal . <sheetal@nvidia.com>
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-04 14:11:52 -07:00
Laxman Dewangan
8e955b03dd tegra234: Set audio-hub clock parent as PLLP
Set the audio-bub parent clock as PLLP instead of PLLA
to align the configuration to mainline 6.5.rc2.

Bug 4037899

Change-Id: Icbbcb7e22a5ef63701b507ad53bd53f83f063fed
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2948444
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-04 14:11:47 -07:00
Laxman Dewangan
6e96c24966 tegra234: Add bootargs in base DTB tegra234-p3737-0000+p3701-0000
Add bootargs matching with mainline for the platform
tegra234-p3737-0000+p3701-0000 as
	bootargs = "console=ttyTCU0,115200n8"

Bug 4037899

Change-Id: I8123348fd8b5b6ed344a6955e7294f77612511f4
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2948332
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-04 14:11:31 -07:00
Vidya Sagar
3a45ac52bd arm64: tegra: Fix non-prefetchable aperture of PCIe C3 controller
Fix the starting address of the non-prefetchable aperture of PCIe C3
controller.

Fixes: ec142c44b026 ("arm64: tegra: Add P2U and PCIe controller nodes to Tegra234 DT")

Cherry picked from 47a2f35d9ea76d92aa2385671f527b75aa9dfe45

Change-Id: I77dd2e744c11ab657719e2ec6c8357883967e6bc
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2947578
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-03 20:40:46 -07:00
Laxman Dewangan
377744a854 tegra234: Move boot argument from base to overlay
The property "bootargs" is not available in base file
available in mainline. Hence, move this to overlay file.

Bug 4037899

Change-Id: I3065495c1d7e3e6f67f456fe0359c355cb024aff
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2947548
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-03 20:40:30 -07:00
Laxman Dewangan
15a33e8a70 tegra234: Do not use spaces for alignment
The device tree files are aligned with tabs. Replace
8 spaces with tabs to align with the coding of device tree.

Bug 4037899

Change-Id: Ia7de29a6061d749e1ea45109b48b5bc1194a6c11
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2946066
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-08-02 14:27:01 -07:00
Thierry Reding
d3aa3fafe2 arm64: tegra: Add 35°C trip point for Jetson Orin NX/Nano
It turns out that these devices can get quite hot to the touch with the
standard cooling configuration, so add another trip point at 35°C along
with a cooling map to help keep the system reasonably cool at very low
system load.

Cherry picked from commit 22237440d89c870ec3f905a59f469998233718ec
Bug 4204722

Change-Id: I7eb212241600f945173f4702fa2f9d09a6daf232
Reviewed-by: Yi-Wei Wang <yiweiw@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2946052
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-08-02 14:26:50 -07:00
Laxman Dewangan
9912826b40 tegra234: Align serial, usb and regulator nodes with 6.5.rc2
Do the multiple minor alignment with mainline DTS/DTSI file
as follows:
- Rearranged the clock speed of serial port based on mainline.
- Corrected the pci3v3 regualotr GPIO on P3701-0000.
- Corrected usb phy-names on Pp3768-0000.

Bug 4037899

Change-Id: Ie39ede2eaed8f7eb0a2cbee6cdde47205a358c19
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2945863
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-08-02 14:24:41 -07:00
Sheetal
cd12a9cdad t23x: concord: Split pins into AON and MAIN nodes
- Pinmux driver split the AON and MAIN GPIO pins into
  2 nodes. It requires the change in audio headers.
- Defined new fragment for AON GPIO pins.

Bug 3960866
Bug 3950014

Change-Id: I74153b8c0cbb4e1d9986142f32af814f5cb5625f
Signed-off-by: Sheetal <sheetal@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2943593
(cherry picked from commit 865ce043f6)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2943062
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-02 14:06:08 -07:00
Sheetal
9ca36435b2 t23x: p3768: Split pins into AON and MAIN nodes
- Pinmux driver split the AON and MAIN GPIO pins into
  2 nodes. It requires the change in audio headers.
- Defined new fragment for AON GPIO pins.

Bug 3960866
Bug 3950014

Change-Id: Ic8c841a9422b5b684d9fed41e77a07551db2d732
Signed-off-by: Sheetal <sheetal@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2943594
(cherry picked from commit b2ecb56725)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2943061
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-02 14:06:03 -07:00
Laxman Dewangan
133a575efc tegra234: overlay: Make hardware-timestamp node disabled by default
The node of "hardware-timestamp" is added in the base file but
there is no status property. Add status property and make as
disabled. The plafrom who needs these node will enable in their
respective DTS file.

Bug 4037899

Change-Id: I960eb024978aa4d424568b785433d2b295fb4f70
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2945730
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-02 13:50:02 -07:00
Dipen Patel
d7506e9d3a [UPSTREAM V6.4]arm64: tegra: Add Tegra234 GTE nodes
Add GTE LIC and AON GPIO nodes for the tegra234 SoC.

Bug 3961133


Change-Id: I7cd2cea078aa48f8a36b73238f2e714165f5a406
Signed-off-by: Dipen Patel <dipenp@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2913469
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-08-02 13:49:57 -07:00