Commit Graph

571 Commits

Author SHA1 Message Date
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
Laxman Dewangan
b1ab4a9440 t23x: nv-public: remove duplicate kernel headers
Remove duplicate headers from t23x/nv-public/include/kernel
which are already there in tegra common as
tegra/nv-public/include/kernel.

Jira ESQCD60-9998

Change-Id: Ib978c3b71e728d4da2c2b201ad7ea044b3b123a7
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3175905
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-07-18 01:43:18 -07:00
Laxman Dewangan
cb120b13e3 t23x: nv-public: remove duplicate headers
Remvoe duplicate headers from t23x/nv-public/include/nvidia-oot/dt-bindings
which are already there in tegra comon as
tegra/nv-public/include/nvidia-oot/dt-bindings.

Jira ESQCD60-9998

Change-Id: I44a364ae62d9fcdb92a2b08cd99224228e49502b
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3174579
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-07-18 01:37:39 -07:00
Akihiro Mizusawa
6b6fd866f3 dt: t23x: Add tegra-capture-isp node
Add the tegra-capture-isp node to enable the
common ISP driver that can handle multiple instances
of ISP

Jira CT26X-1602

Change-Id: I6e25d8cc836965461b229b81709f9d4c6367818b
Signed-off-by: Akihiro Mizusawa <amizusawa@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3137896
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2024-07-16 02:04:56 -07:00
Praveen AC
545db72095 tegra234-camera: Update DT property for VI HW.
Update DT property for VI from "non-coherent" to "dma-noncoherent"
to adopt to the latest upstream kernel change which intrun fixes
the RAW image corruption.

Bug 4640366

Change-Id: Ib49d5d69fb144a0ec87683b6c650507373be5579
Signed-off-by: Praveen AC <pac@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3172588
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
2024-07-14 21:29:17 -07:00
ruppala
b0a87160ca t23x: nv-soc: Disable nvidia,macsec-enable
Disable macsec for nvethernet in L4T platforms

Bug 4640382

Change-Id: Ie2203015008b3972499602557edd296461ae6c58
Signed-off-by: ruppala <ruppala@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3166951
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Sanath Kumar Gampa <sgampa@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
2024-07-11 16:06:56 -07:00
Yi-Wei Wang
ba17dd5afe nv-platform: Update thermal settings for tmp451
This change adds hot trip point temperatures for tmp451 sensors as per
//hw/ar/doc/t23x/sysarch/power/global_functions/thermal_management/
T234_Thermal_Settings.xlsx#31.

The polling interval is set to 0 since no periodic thermal management is
required from thermal framework.

Bug 4139424
Bug 4635474

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I6b9d9e77a34475e02cf1b4a63f4a35a1dd731b2e
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3143159
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
2024-07-03 14:02:19 -07:00
Joseph Yoon
7def907479 nv-public: t234: Apply HSP 128bit flag for QNX
Apply HSP 128bit flag for QNX only
to differentiate from Linux

Bug 4270996

Change-Id: Icd933bf5341413bbfc9ecb1172f5d4a42f25810c
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3164375
Reviewed-by: Kartik Rajput <kkartik@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Joseph Yoon <tyoon@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Joseph Yoon <tyoon@nvidia.com>
2024-07-02 05:22:42 -07:00
Evgeny Kornev
d7ce420bbc dt: soc: t234: add iommu mappings for vi&isp units
Access the syncpoint shim and gos (if any) via SMMU.

Bug 4152947

Signed-off-by: Evgeny Kornev <ekornev@nvidia.com>
Change-Id: Id78bd8615587691f548b7ec2628d6ffc049053b6
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3099100
Tested-by: Pratik Prajapati <pratikp@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2024-06-29 04:59:19 -07:00
Joseph Yoon
377286e967 t234: nv-public: Add HSP shared IRQ decl macro
Add HSP shared IRQ declaration macro

Jira ESQCD60-9998

Change-Id: Ibc98e89d018bb62d0c04c18b221978b8480e0e0b
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3157444
Tested-by: Jinyoung Park <jinyoungp@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Joseph Yoon <tyoon@nvidia.com>
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Joseph Yoon <tyoon@nvidia.com>
2024-06-26 22:45:48 -07:00
Shubhi Garg
eea0eeefbf nv-public: p3740: fix cvb eeprom bus id
Since IGX CVM eeprom uses different I2C controller than CVB, bus id
in eeprom manager should be different. Currently, CVM and CVB has bus@0,
which brings CVB eeprom inside wrong i2c controller. Fixes it by differentiating
bus ids. Now, bus@0 has CVM and bus@1 has CVB eeprom.

Bug 4625456

Change-Id: Ied4cd3c66bf0c1122bce9899b3fa749c4ff38d26
Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3135834
(cherry picked from commit aa281b277b)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3141028
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2024-05-22 23:25:36 -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
Satish Seelamsetti
fc94e1b837 dt: t23x: missing soc nodes/defines in generic-dt 23x
missing nodes are Tachometer, Timer, tegra-hsp.

Change-Id: I6df54183f003a87ff0d3328620e07947621e2983
Signed-off-by: Satish Seelamsetti <sseelamsetti@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3130375
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2024-05-10 15:54:55 -07:00
Yi-Wei Wang
491bdcad0e nv-platform: Add critical trip for tmp451 sensors
This change adds critical trip point temperatures for tmp451 sensors
as per //hw/ar/doc/t23x/sysarch/power/global_functions/
thermal_management/T234_Thermal_Settings.xlsx.

Bug 4139424
Bug 4635474

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I09b2dae33d177ed5efa85299a6b0a6241e94fc52
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3130038
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2024-05-09 03:18:27 -07:00
Ninad Malwade
e8a7981f6c t23x: nv-public: Add high low sku kernel dts
Adding kernel dts for the taylor high and low sku

Bug 4404298

Change-Id: Ibd8c620dfab376a41678b9b2d3239b1c3c4b9c8a
Signed-off-by: Ninad Malwade <nmalwade@nvidia.com>
(cherry picked from commit 6b52bea6a0)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3132066
Reviewed-by: Yi-Wei Wang <yiweiw@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
2024-05-08 04:18:19 -07:00
Jason Mei
a5d4283b10 t23x: nv-public: add host1x handle in PCIe EP
Some EPF function, such as tvnet need host1x support.
This involves adding the handle of host1x in PCIe EP.

Bug 4456727
Bug 4451567

Change-Id: I398c8041f652fa84b555e228f06c0ca4a066ed31
Signed-off-by: Jason Mei <jianjunm@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3081924
(cherry picked from commit a5388aba8b)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3084979
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
2024-05-07 02:15:13 -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
Yi-Wei Wang
c6d054a4d1 nv-platform: add support for p3767 0000 PX1
This change adds kernel device tree support for p3767 0000 PX1 platform.

Bug 4477796
Bug 4558654
Bug 4571535

Change-Id: I6874406fc5b73c1e108c37526845bf19be4c3472
Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3125972
(cherry picked from commit 9394fdfa56)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3128078
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-05-03 15:12:34 -07:00
haotienh
ac9e946992 [UPSTREAM PENDING] soc: tegra234: Enable USB remote wakeup support
Add SC7 wake support:
- wake 76 for SS port 0
- wake 77 for SS port 1
- wake 78 for SS port 2 and SS port 3
- wake 79 for USB2 port 0
- wake 80 for USB2 port 1
- wake 81 for USB2 port 2
- wake 82 for USB2 port 3

Bug 4166189

Change-Id: Idee1a303eac14c13823ea706dd8425288d395b59
Signed-off-by: Henry Lin <henryl@nvidia.com>
Signed-off-by: Wayne Chang <waynec@nvidia.com>
Signed-off-by: Haotien Hsu <haotienh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3122972
Reviewed-by: Jim Lin <jilin@nvidia.com>
Reviewed-by: WK Tsai <wtsai@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-05-03 15:02:18 -07:00
Hyong Bin Kim
05d25c7dcd nv-public: dts: Add missing kernel include file
Add missing include file for automotive DTB.

Bug 4355701

Change-Id: I26436ec9b6c39283752bb9f7ba1ac31c11847c54
Signed-off-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3122877
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Suresh Venkatachalam <skathirampat@nvidia.com>
2024-05-03 14:52:13 -07:00
Yi-Wei Wang
cfa24fd5ab nv-public: enable hot surface alert for safety IGX
Previously hot surface alert was disabled for safety IGX, but
it makes more sense to enable it to warn the user not to touch
the surface.

Bug 4084478
Bug 4561083

Change-Id: Ica725828f31c7e0336aea2376c7721130d675d96
Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3112109
(cherry picked from commit fc80e50350)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3112518
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-04-26 02:34:30 -07:00
Mark Zhang
e5c2fd4172 dts: optee: Add fTPM nodes
This patch adds several fTPM device tree nodes. These nodes are to pass
4 things from MB2 to OP-TEE:
- fTPM Seed
- Silicon identity public key
- MB2 event log signature
- TOS event log signature

Bug 3960022
Bug 200771475

This patch is a squash of 2 rel-36 patches listed below.

Change-Id: I37199bd901c43224fd820ae0f4c41597739625f1
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2978522
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3103570
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3116741
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Tested-by: Mark Zhang <markz@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-04-24 17:34:01 -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
Hiteshkumar Patel
5c8338bf44 nv-platform: Enable nvpps driver on AGX Orin
Enable nvpps driver so it can be tested.

AGX Orin has ethernet connected on mgbe0 emac so passing primary emac
mgbe0.

Bug 4489344

Change-Id: I8cbe61557364ae92c2428ec4f5db999f4c1bfe83
Signed-off-by: Hiteshkumar Patel <hiteshkumarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3075387
(cherry picked from edea2581e4)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3097857
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-04-02 08:02:07 -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
5866feb369 nv-platform: UARTA and UARTE for Orin NX and Nano
Enable UARTA and UARTE for Orin NX and Nano devices.

- UARTA is accessible via the 40-pin header with pin 8 and 10 (TX/RX)
- UARTE utilizes the M2.E connector

Bug 4502469

Change-Id: Ia4705ad8153a128d1a2a694abdc51e6483cf4e7d
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3097782
(cherry picked from commit 1d5af222e5)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3102090
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-03-22 13:06:34 -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
sheetal
11c5935bc2 [UPSTREAM] arm64: tegra: Remove Jetson Orin NX and Jetson Orin Nano DTSI
Jetson Orin NX and Jetson Orin Nano DTSI files just define the HDA label
and it is already added as part of base DTS files.
Hence, removing these files.

Upstream commit ID: cc36acb8a67ddfe4bc7bc722748f6c1b72eed5ed

Bug 4429992
TAS-2240

Change-Id: I07450f4165905393728224d412462a2835e30abc
Signed-off-by: sheetal <sheetal@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3086461
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Mohan kumar <mkumard@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-03-13 05:18:03 -07:00
sheetal
36c8e53545 [UPSTREAM] arm64: tegra: Add audio support for Jetson Orin NX and Jetson Orin Nano
Add audio support for the NVIDIA Jetson Orin NX (p3767, SKU0) module and
Jetson Orin Nano (p3767, SKU5) module Developer Kit with P3768 carrier
board.

APE and HDA sound cards are enabled.

Supported IO interfaces: I2S2 and I2S4.

Upstream commit ID: 5f360dbc22f17bb0f850039e955656528c6e8772

Bug 4429992
TAS-2240

Change-Id: I81f2086c7131a51ae8023ae82194e239008d55dc
Signed-off-by: sheetal <sheetal@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3086460
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Mohan kumar <mkumard@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-03-13 05:17:59 -07:00
sheetal
e3664fd0c9 [UPSTREAM] arm64: tegra: Define missing IO ports
I2S3, I2S5, DMIC1, DMIC2, DMIC4, DSPK1 and DSPK2 IO ports are not
defined. Those are not defined earlier because it was inside platform
DT and defined only for supported IOs by the platform.
Now these are part of SoC DTSI, all IOs ports are defined
so that all the ports are available to be used by platforms.

Upstream commit ID: f5c8e31e71711061338b572c26f456bf5acdf6a0

Bug 4429992
TAS-2240

Change-Id: I6367806291d7e7685087710f646c412c8194b263
Signed-off-by: sheetal <sheetal@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3086459
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2024-03-13 05:17:55 -07:00
sheetal
6790d74964 [UPSTREAM] arm64: tegra: Move AHUB ports to SoC DTSI
AHUB and its child nodes ports are part of platform DTS and with new
platform support these entries need to be defined again.
As they are common across the platforms, moving them to SoC
DTSI to avoid code duplicacy.

AHUB HW accelerators are used for audio processing and typically all of
these are made available. Platforms can enable all of these just by
enabling the AHUB parent device. However IO interfaces (which are also
children of AHUB) are selectively enabled based on what the platform
actually exposes for interaction with external world.

Upstream commit ID: 71a3b9b17537a114705d2d01d227e19fd7353bff

Bug 4429992
TAS-2240

Change-Id: I3c148efaa5ea7ca1ac2063e3425fa54172aff346
Signed-off-by: sheetal <sheetal@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3086458
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2024-03-13 05:17:45 -07:00
Sheetal
fb98e4d8ba nv-public: p3767: Remove change from mainline DT
- While enabling audio for Orin NX and Nano maniline DT are modified
  Removed the change from mainline DT and required nodes which will
  not be defined in mainline DT is added to nv-platform DT file.
- Audio related changes for Orin NX and Nano are now in mainline.
  Those will be taken while backporting.

Bug 4429992
TAS-2240

Change-Id: Ic93aabedd7b478e1b1c28e132139857e814b1c98
Signed-off-by: Sheetal <sheetal@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3082469
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Sandipan Patra <spatra@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Mohan kumar <mkumard@nvidia.com>
2024-03-13 05:17:35 -07:00
Vishwaroop A
7577f8b531 nv-soc: qspi: set qspi parent and frequency
Configure the QSPI controller parent clock
to PLLC and set the required frequency.

Bug 4509953
Bug 4474594

Signed-off-by: Vishwaroop A <va@nvidia.com>
Change-Id: I9d258778e8ee7932d2bcbd5b3c8b648d9b339624
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3089397
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
2024-03-12 13:29:00 -07:00
Gautham Srinivasan
4d11ffa2b4 nv-platform: remove num-slices field for hardware-timestamp
HTE driver is used now instead of GTE. Remove num-slices field as
HTE driver does not have it.

Bug 3961133

Change-Id: I57945bb2d7fad6721c9bef929f244ead41f5c30e
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3091164
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
2024-03-11 08:08:21 -07:00
Ian Stewart
0847104654 t23x: igx: Resize 64-bit aperture of PCIe C5
Resize 64-bit aperture of PCIe C5 controller to accommodate
endpoints with bigger BARs.

Bug 4309882

Change-Id: I8ae999df42974e5ce1144896b6d657604ce5d95c
Signed-off-by: Ian Stewart <istewart@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2987793
(cherry picked from commit 9a81385241)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3090784
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-03-09 13:02:30 -08:00
Joseph Lo
cc84293e18 t23x: optee-dts: Fix the TPM event log addr DT
After migrating OP-TEE DT memory to TZDRAM, we enabled
CFG_MAP_EXT_DT_SECURE in the OP-TEE OS that needs to use the property
name "tpm_event_log_addr" instead of "tpm_event_log_sm_addr" to make
it work correctly. So fix it accordingly.

Bug 4013192
Bug 3960022

Change-Id: I039011998b690f3ed057da13107744f0efeee48f
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x/+/2934220
(cherry picked from commit bf88598879d3f84fb6a98a4ea85e60ab35ec45dc)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3091331
Reviewed-by: Mark Zhang <markz@nvidia.com>
Reviewed-by: Joseph Lo <josephl@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Joseph Lo <josephl@nvidia.com>
2024-03-08 20:12:25 -08:00
Sameer Pujar
0c1f3d18c4 nv-soc: overlay: Add PCM override device
Add PCM override device as child of sound node. The override device
depends on the sound card and it registers the additional PCM override
mixer controls for the sound card.

Bug 4508166

Change-Id: I117150cfdbab5b9a8db328b1b7c27dfef96ebb0e
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3086600
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Mohan kumar <mkumard@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-03-07 21:47:35 -08:00
Sameer Pujar
549e8a4f12 Revert "Revert "nv-public: p3737: Allow upstream AHUB drivers usage""
This reverts commit f859916a03.
This is done to restore original commit of using upstream AHUB drivers
as GVS intermittency issue is now root caused.

Bug 4508166

Change-Id: I23befe181f51d491b4230cd4668da4b0eab64f8b
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3083131
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Mohan kumar <mkumard@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Tested-by: Sameer Pujar <spujar@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-03-07 21:47:30 -08:00
Shubhi Garg
011a32fc0b nv-public: fix mttcan1 prod settings
For can1 controller, prod setting TDCR register address is wrong.
When we make can1 up on network with dbitrate configuration, it reads
TDCR register. Being wrong address, kernel throws cbb errors.

Bug 4504609

Change-Id: I5ee51e93d627c69c40b39e844fbfd495e5028010
Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3087390
(cherry picked from commit 6b483b3c28)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3089277
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-03-06 04:38:15 -08: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
Paritosh Dixit
10354e89f5 t23x: nv-public: Reorder ethernet@6800000 regs
Currently, with our downstream DT the onboard ethernet devices
enumerates as ethernet@6810000.  With the upstream DT, this device
enumerates as ethernet@6800000. Reorder registers under the
ethernet@6800000 node in the DT so that it enumerates as
ethernet@6800000 on the target.

Bug 4494706

Change-Id: I63851784d696a66bb0985b0f60b98f30809583d2
Signed-off-by: Paritosh Dixit <paritoshd@nvidia.com>
(cherry picked from commit 091037754c)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3085057
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-03-02 09:03:36 -08:00
Jon Hunter
4a727c972f t23x: nv-public: Remove duplicated MGBE properties
The 'phy-mode' and 'power-domains' properties for the MGBE ethernet
controller is present in the upstream SoC and platform files and so need
to duplicate these properties in the SoC and platform overlay files.

Bug 3820445
Bug 4293378

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Change-Id: Ibf99701be0796a1b84db439c262a3f718587ab7b
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3082847
(cherry picked from commit 4d2010af58)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3083876
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-02-27 06:55:07 -08:00
Jon Hunter
ffde65f9d3 UPSTREAM: arm64: tegra: Fix Tegra234 MGBE power-domains
The MGBE power-domains on Tegra234 are mapped to the MGBE controllers as
follows:

 MGBE0 (0x68000000) --> Power-Domain MGBEB
 MGBE1 (0x69000000) --> Power-Domain MGBEC
 MGBE2 (0x6a000000) --> Power-Domain MGBED

Update the device-tree nodes for Tegra234 to correct this.

Bug 3820445
Bug 4293378

Fixes: 610cdf3186bc ("arm64: tegra: Add MGBE nodes on Tegra234")
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Change-Id: I470a7128e2bc05c5c66539fab544d091b2f846a4
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3082846
(cherry picked from commit 0424f757a5)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3083875
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-02-27 06:54:59 -08:00
Thierry Reding
05079f35de UPSTREAM: arm64: tegra: Add AXI configuration for Tegra234 MGBE
The MGBE devices found on Tegra234 need their AXI interface configured
to operate at peak performance. Ideally we would do this in the driver
based off the compatible string, but the DT bindings already specify a
separate mechanism, so reuse that.

Bug 3820445
Bug 4293378

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Change-Id: I206b4f47b0243b21064df1dedcad05e9f316507f
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3082845
(cherry picked from commit e8a5ee3d34)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3083874
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-02-27 06:54:52 -08:00
Thierry Reding
17dccd57a1 UPSTREAM: arm64: tegra: Set the correct PHY mode for MGBE
The PHY is configured in 10GBASE-R, so make sure to reflect that in DT.

Bug 3820445
Bug 4293378

Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Change-Id: I36f54566fee253515546663a332f41cf66be90b0
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3082844
(cherry picked from commit 13afbb33f5)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3083873
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-02-27 06:54:45 -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
spatki
d9d893adc4 concord: add display hdcp property
HDCP is only supposed to be enabled on L4T and only on concord
and slt platforms. A property was added in dts files for both the
platforms for K5.10. Since migration to K6.1, location of dts files
have changed and thus broken the HDCP functionality on branches that
use K6.1. This change fixes the same.

Bug 4505086

Change-Id: I356bae35c442ad5f28f871a25f3d5524cbb4fc58
Signed-off-by: spatki <spatki@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3079401
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-02-26 00:41:17 -08:00