Commit Graph

393 Commits

Author SHA1 Message Date
Sheetal
d9dc5daa02 kernel-dts: audio: Update dais and endpoints
To have similar dais like upstream kernel, new dais
are added for Mixer, ASRC, MVC, OPE and SFC. Due to
that,

- Updated dai macros for Mixer and ASRC output.
  Defined dai-links and endpoints for them.

- Updated dai macros for MVC, OPE and SFC output. But
  didn't define any dai-link or endpoints for output,
  because as per current code design there will be routing issue
  if different DAIs are used for input and output.

Kernel OOT requires support for Tegra234 and later. Hence relevant
changes are partially cherry picked.

Bug 3592105
Bug 3896761

Signed-off-by: Sheetal <sheetal@nvidia.com>
Change-Id: I06f86d5570de6ed814d1e4c11df0eb8fb6b25910
(partially cherry picked from commit bd5a8c9a96e77b071c4aba5ee4c1562bfd631d58)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/tegra/common/+/2835315
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2856571
Tested-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:19:37 +00:00
Sameer Pujar
adff93822f generic-dts: overlay: explicit enable of audio modules
DT is now decoupled from kernel source and in doing so latest version
of tegra234.dtsi file is copied to SoC base generic-dts path. This has
latest upstream devices for Audio and these are in disabled state.
The existing platform overlay did not explicitly enable these devices
because, overlay was based on the older snapshot of tegra234.dtsi file
and overlay had new device nodes without 'status' property (by default
device node status is 'okay' unless explicitly overridden). Now since
the newer snapshot of tegra234.dtsi had these devices disabled, the
APE sound card did not work as expected.

Fix this by explicitly enabling the devices in overlay file.

Bug 3973681

Change-Id: I5a80171fa943adca84daa28d220418e83cc38df8
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2856499
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-04-19 18:19:37 +00:00
Akhil R
7848e867d0 t23x: overlay: Correct watchdog interrupts property
Correct the interrupts property in watchdog DT node to use 3 cells

Bug 3971873

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Change-Id: I635db5b0e465b7dbe8f8fc79331ac7ec9f6bbbd8
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2855760
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-04-19 18:19:37 +00:00
Revanth Kumar Uppala
7dba78d931 nvethernet: Move nvidia,vm-irq-config to overlay
Move nvidia,vm-irq-config to overlay from Base
DT to overlay DT

Bug 3956724

Change-Id: Ib6c8f1af7aa5ccb6de8c19c1ae721d2ccd79f01e
Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2855643
Reviewed-by: Bhadram Varka <vbhadram@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:19:37 +00:00
Abhilash G
a03f88c36e generic-dts: base: Support tinylinux oot image on orin-slt
Add soc overlay file to update required clocks and resets
for tinylinux oot boot. The overlay file added has the same
programming as we have have in K510 tinylinux overlay file.

Bug 3832193

Change-Id: Ic1028b6d73dad88e2bf6769afd49e8c256724f73
Signed-off-by: Abhilash G <abhilashg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2836567
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:19:37 +00:00
Revanth Kumar Uppala
534a12c1b9 soc: t23x-generic-dts: Add nvidia,vm-irq-config
Add nvidia,vm-irq-config DT parameter in new
base dts file.

Bug 3960809

Change-Id: Ia21ef6daadcca20ebbaa4009f667942a5f4ab3ba
Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2851012
Reviewed-by: Bhadram Varka <vbhadram@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:19:37 +00:00
Prathamesh Shete
9440b5131f Revert "t23x: overlay: Bump #address-cells and #size-cells"
Use 32 bit register address.
kstable and mainline uses 32 bit approach hence stick to it.

This reverts commit 4df2ad0bb01e3fe2c83463d8e02d77da38990453.
Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
Change-Id: I2dfa7640934460ac6dcb33a8aca2b1074e9484df
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2847387
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:19:37 +00:00
Ashish Mhetre
2c77d9943f t23x: overlay: Bump #address-cells and #size-cells
The #address-cells and #size-cells properties for the top-level bus were
set to 1 because that was enough to represent the register ranges of all
the IP blocks on that bus. However, most of these devices can do DMA to
a larger address space, so translation of DMA addresses needs to happen
in a 64-bit address space.

Partially this was already done by the memory controller increasing that
address space by setting #address-cells and #size-cells to 2, but a full
DMA address translation would still cause truncation when traversing to
the top-level bus.

Fix this by setting #address-cells = <2> and #size-cells = <2> on the
top-level bus and adjusting all "reg" and "ranges" properties of its
children.

As kstable(K6.0) and OOT(K5.15) are using same overlay files, add kernel
version check to update only for OOT.

Bug 3719994

Change-Id: I39f3864aaddd071289b5bbfaac2c12c31b9367a8
Signed-off-by: Ashish Mhetre <amhetre@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2822420
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:19:37 +00:00
Prathamesh Shete
bbcca366ca nvidia-oot: dts: fix sequence of compatible string for SDMMC1
Fix sequence of compatible string for SDMMC1.
Replace the current sequence with t234 compatible first
followed by t194 compatible.

Bug 3888793

Change-Id: I7303a7375299140695ecaf4848468e95acf4323f
Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2838768
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:19:37 +00:00
Matti Ryttylainen
618f8988e7 DT: nvidia: Use iommu-address property in rtcpu
Use new iommu-addresses property to set iova address ranges
for rtcpu

Bug 3719994

Change-Id: Ib54d053711a01783c23971c80dee1237a2107fb2
Signed-off-by: Matti Ryttylainen <mryttylainen@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2819826
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Ashish Mhetre <amhetre@nvidia.com>
Reviewed-by: Kalle Jokiniemi <kjokiniemi@nvidia.com>
Reviewed-by: Pekka Pessi <ppessi@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:19:37 +00:00
Abhilash G
12d16d1e9e generic-dts: base: Support kernel-oot image on orin-slt
Disable no-memory-wc in sram to fix bpmp clock
issue seen while boot of kernel-oot image on orin-slt.

Bug 3832193
Bug 3735097

Change-Id: I90c6c147f386e217a42ecedb3797d0626fce4e6b
Signed-off-by: Abhilash G <abhilashg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2830618
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:19:37 +00:00
Sameer Pujar
08cf513861 nvidia-oot: dts: Add pinmux symbol
Jetson-IO tool expects "pinmux" symbol to be available and
this is not available with Kernel OOT Thus the tool fails to
launch. Add the symbol to pinmux device to fix it.

Bug 3847762

Change-Id: Ia18efcc5fd493c55e00117b16335ec1510867f38
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2821525
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Sheetal . <sheetal@nvidia.com>
Reviewed-by: Akhil R <akhilrajeev@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Sheetal . <sheetal@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:19:37 +00:00
Ankur Pawar
562ce6ff71 DT: nvidia: add camera dtsi and dependencies
Add camera DT overlay with camera related nodes

Change-Id: I38594946027bf973b7cc787393c99a64e01e067d
Signed-off-by: Matti Ryttylainen <mryttylainen@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2811146
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:19:37 +00:00
Sameer Pujar
208e45479f nvidia-oot: dts: Cleanup DSPK2 DAI link
As part of multi codec DAI support dummy codec subnodes were cleaned
up from DSPK DAI links. The driver does not skip such nodes now, so
DT cleanup is necessary. However the DSPK2 link still has dummy codec
subnode. This pressently causes sound card registration failure with
Kernel OOT. Fix this by removing dummy subnode.

Bug 3772918

Change-Id: Iee9a899c5f637ed4e87742e8a13d29f91c7cf493
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2826411
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Mohan Kumar D <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>
2023-04-19 18:19:37 +00:00
Mohan Kumar D
d012385350 Revert "Revert "overlay: clean up dspk codec dais""
This reverts commit 7adafaa03fd2ffe86c570a51a3f216350549a124.

Reason for revert: Fixed the build issue on sidecar branch

Bug 3772918

Change-Id: Ib91b8b82d54fb0944a4ecf04e3332a443bfc2ffe
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2819605
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Tested-by: Mohan Kumar D <mkumard@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:19:37 +00:00
Mikko Perttunen
a67e103a3e tegra234-soc-overlay: Host1x multimedia engines
Add entries for Host1x-related multimedia engines, copied over from
Sidecar overlay.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Change-Id: Iea7060ab50833e90aefa96f19e5f4c247d25e812
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2818468
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-04-19 18:19:37 +00:00
Armandeep Singh
bf883f2569 Revert "overlay: clean up dspk codec dais"
This reverts commit a8f28ea2df948783ce763452e2c9169469466e97.

Reason for revert: Causing GVS build failure

Change-Id: Ia5e7dee61e4a7a6b938726ce11bae71cb724b1b6
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2819361
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Armandeep Singh <armandeeps@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Armandeep Singh <armandeeps@nvidia.com>
2023-04-19 18:19:37 +00:00
Laxman Dewangan
7586e0e3e7 t23x: soc-overlay: Fix overlay comment
The overlay dtsi file tegra234-soc-overlay.dtsi is generic
overlay file for the Tegra234. Remove board specific comment.

Change-Id: I06d3920894b7fc4a47c57a32a1e3421b8eb4eac5
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2817586
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:19:37 +00:00
Mohan Kumar
53c3859075 overlay: clean up dspk codec dais
Remove the dummy codec dai entries from the dspk dai link

Bug 3772918

Change-Id: I94eaff6eba18a0fbba4d46750a19481283f0f53e
Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2815789
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:19:37 +00:00
Amit Sharma
bfe6e7320c nvidia-oot: dts: add DT nodes for DLA
- add and enable DLA and its context devices

Jira DLA-6400

Change-Id: Ie1629f709bd440a037bd13a6e8a8977534049f18
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2812000
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Arvind M <am@nvidia.com>
Reviewed-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com>
2023-04-19 18:19:37 +00:00
Revanth Kumar Uppala
031fd11ce2 nvethernet: Add base DT node for ethernet
Bug 3793131

Change-Id: I5c79bc11d1b170a98c7d414acf3996d53d79ff37
Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2809190
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:19:37 +00:00
Akhil R
4f247c85c0 arm64: tegra: Add aliases for I2C controllers
Add aliases for I2C controllers so that the hardware instance
number matches with the software.

Bug 3583581

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Change-Id: I75d939e0ccaf2339f951b28017b46d416d3adfac
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2806745
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2807834
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
2023-04-19 18:19:37 +00:00
omar nemri
3df7f10716 nvidia-oot: dts: add DT nodes for PVA
add and enable PVA and its context devices

Bug 3583639

Change-Id: I1d7cb3b57f4bac133239d21854de9563143c4a9e
Signed-off-by: omar nemri <onemri@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2793135
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2807833
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
2023-04-19 18:19:37 +00:00
Prathamesh Shete
f61fa332c2 nvidia-oot: dts: add DT node for SDMMC1 instance
Add and enable SDMMC1 DT node for T234

Change-Id: I802ed58a858a1540c81fe27968b0be78daec7618
Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2805053
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2807832
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
2023-04-19 18:19:37 +00:00
Laxman Dewangan
6b47302579 overlay: Copy overlay DTSI files from nvidia-oot
Overlay DTSI files contains the overlay DT nodes to
create the overlay DTB files for the platform.

The overlay DTS files are used by non-linux client also and
doest not have access to nvidia-oot path.

Copy all overlay DTSI files for the SOC so client can refer these
overlay files.

These files are copied only without any edit.
Files are synced from the nvidia-oot/archarm64/boot/dts/nvidia
Change list from folder nvidia-oot/archarm64/boot/dts/nvidia is:
	af9627e nvidia-oot: dts: pinmux: Add pinmux DT node for T234
	2af0e64 arm64: dts: Add smmu_test node
	7ca4e62 arm64: tegra: Remove GPCDMA driver from OOT
	b068fae t23x: concord: dts: enable cpu core power gating
	f23cc48 dtb: disp: Add display node to concord overlay dtb
	994623c nvidia-oot: add soc-hwpm device node
	6d2a57d nvidia-oot: add tsec driver as oot module
	9bc606c arm64: tegra: Enable RT5640 codec support
	a765a2e arm64: tegra: Add overlay dts for t234 carveouts
	f8c472c dts: pwm-fan: Add Tegra234 PWM FAN
	bfea978 arm64: tegra: Add assigned-clocks binding for AHUB
	bbde9d8 dts: pwm: Add Tegra234 PWM controller
	6799b30 dts: Add linux-cma node with 256MB for GPU requirements
	9fa1d2a DTB: DCE : Add dce node to t234 soc overlay
	943cc4d arm64: tegra: Enable APE sound card
	55220a5 arm64: tegra: Correct the compatible for SE4
	b0746ed arch: arm64: add gpu node in OOT

Bug 3860258

Change-Id: I291021cbcf7be7abbf67c7178d7788029e1592d4
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2807225
Reviewed-by: svcacv <svcacv@nvidia.com>
2023-04-19 18:19:37 +00:00
Laxman Dewangan
536a4d174f dts: Copy tegra234.dtsi from kernel
Copy tegra234.dtsi from kernel to make available to
create top level DTS files for the platforms which are
not upstreamed yet.

This file is copied only without any editing.

DTSI is synced from the
      git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

      Tag: Linux 6.1-rc4v6.1-rc4

Change list from top for arch/arm64/boot/dts/nvidia$ are:
	8e4428051df1 arm64: tegra: Add GPCDMA support for Tegra I2C
	af4c27738c92 arm64: tegra: Add iommus for HDA on Tegra234
	0a4fa2504217 arm64: tegra: Enable HDA node for Jetson AGX Orin
	b35f5b53a87b arm64: tegra: Add context isolation domains on Tegra234
	b0c1a994f660 arm64: tegra: Fixup iommu-map property formatting
	a1e3de6ea519 arm64: dts: tegra: smaug: Add Wi-Fi node
	a63c0cd83720 arm64: dts: tegra: smaug: Add Bluetooth node
	8aec2c17b95e arm64: tegra: Enable MGBE on Jetson AGX Orin Developer Kit

Bug 3860258

Change-Id: I4ff9a00d7c310fc58609b72ea488df023cee67e0
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x-generic-dts/+/2807224
Reviewed-by: svcacv <svcacv@nvidia.com>
2023-04-19 18:19:37 +00:00
Sheetal
ed2b622140 generic-dts: Add SFC, AMX and ADX nodes overlay
- To verify SFC, AMX and ADX modules requires some endpoint
  properties.

- Added all SFC instances overrides along with I2S4 rate override
  to test the module.

- Added AMX1 and ADX1 overrides along with I2S6 dai-format and
  channel overrides to test the module.

Bug 3896803

Change-Id: I4d41fda0542f4ef9df4b2330bac58470778ebb75
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2878139
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Sheetal . <sheetal@nvidia.com>
2023-04-19 18:17:43 +00:00
Jon Hunter
b499b23097 arm64: tegra: Enable VRS11 regulators for Jetson Orin
Populate the VRS11 regulators for the Jetson AGX Orin platform.

Bug 4006278

Change-Id: Iebabec8b19ae0ea2e17d76e87d3767644f85eb9d
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2866540
(cherry picked from commit 78c48e3d6a33c679cde287d3e41027ad75ff168c)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2867063
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-04-19 18:17:43 +00:00
Yi-Wei Wang
c1452105bb overlay: status: Enable overcurrent event node
Enable the soctherm-oc-event so that the user can learn the information
regarding the overcurrent enable state and the event count via the hwmon
sysfs interface.

Bug 3571683

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: Ie4242e39d58c4a31dfcd21ebdd807c795cb42eed
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2862041
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:17:43 +00:00
Yi-Wei Wang
7aa08cce39 overlay: status: Enable nvpmodel node
Enable nvpmodel for AGX Orin devkit for capping the max freq of the
specified clocks.

Bug 3997304
Bug 3972888

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: Id7475532046800f4c6e700f7f80829ad7faffde1
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2878607
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:17:43 +00:00
Laxman Dewangan
28f66f6528 concord: base: multiple configuration change as per mainline v6.3-rc5
Changes are:
- Remove enable-active-low property from fixed regulator.
- set mmc bus width to 4.
- Set assigned clocks for pwm
- Set cooling trip point for pwm fan.

Bug 4057304

Change-Id: I74287e0987c3d53f35a5f59c75f096fcff1de001
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2888503
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:17:43 +00:00
Ninad Malwade
bf05cc6ff2 concord: dts: exclude SYS_5V from summation channel
The Concord ina3221@40 summation channel should exclude Channel@2
i.e. SYS_5V rail to set OC limit only for CPU_GPU_CV_SOC combined
power.

Bug 4068290

Change-Id: I10bbd8922a3405d7988559900608784306e2c01d
Signed-off-by: Ninad Malwade <nmalwade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2886788
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-04-19 18:17:43 +00:00
Addarsh Srivastava
63d822ca79 OOT DT: include e3333 device tree
Include e3333 dt in camera device tree.
Add ov5693 sensor device tree for L4T.

Bug 3583587
Bug 4045786

Change-Id: I4040bd22f8f9894a417a06768c68d1f5ef023898
Signed-off-by: Addarsh Srivastava <addarshs@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2882888
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
2023-04-19 18:17:43 +00:00
Ankur Pawar
aa34141d3e camera: include imx390 sensor in camera DT
Include imx390 dt in camera device tree.
Add imx390 sensor device tree for concord.

Bug 3583587

Change-Id: I5d2e152455f6837dd15a522bbcc5341372040298
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2877657
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Tested-by: Ankur Pawar <ankurp@nvidia.com>
2023-04-19 18:17:43 +00:00
Ankur Pawar
8d6b133d87 camera: include imx318 sensor in camera DT
Include imx318 dt in camera device tree.
Add imx318 sensor device tree for concord.

Bug 3583587

Change-Id: Iaf5fe12bc1c63d37950f3a9037b2f2dd858e0718
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2870786
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Tested-by: Ankur Pawar <ankurp@nvidia.com>
2023-04-19 18:17:43 +00:00
Ankur Pawar
eb0d191ec9 camera: add ar0234 camera sensor device tree
Add ar0234 camera sensor device tree for L4T.
Include ar0234 DT in camera device tree.

Bug 3583587

Change-Id: Ia95e47f34cd5402b8832528653316beb16669a6f
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2868277
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Tested-by: Ankur Pawar <ankurp@nvidia.com>
2023-04-19 18:17:43 +00:00
Bitan Biswas
1f0cdbfe3b platform: t23x: concord: generic-dts: eeprom-manager
Add eeprom-manager for concord generic-dts so
that UEFI can populate the chosen/ids
 - split the eeprom nodes between cvm(p3701), cvb(p3737)
   and camera .dtsi for concord
 - use same bus@0 for EEPROMs on concord cvb and cvm.
   Ensure that super-module name is not used. Fix
   patch to have distinct nodes under bus@0
   for eeproms on cvb and cvb.
 - cvm EEPROM i2c instance is gen1_i2c

bug 4062003
bug 4063694

Change-Id: I246c36537aed5d9bca84859033e9884dc69cb2da
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2884744
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:17:43 +00:00
Laxman Dewangan
9b8323a115 p3737+p3701: Add ports node for processing engine, asrc nodes
Add some more nodes for the port of the processing-engine
and asrc sound nodes.

This change is based on the change from mainline:
	commit 09614acd87e6b47253112f5d2d9603b878092c57
	Author: Sameer Pujar <spujar@nvidia.com>
    		arm64: tegra: APE sound card for Jetson AGX Orin

Bug 4057304

Change-Id: Ia356fe6fa81cb3a72e8c473d618a3f5114e0507e
Signed-off-by: Sameer Pujar <spujar@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/platform/t23x/concord-generic-dts/+/2885319
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:17:43 +00:00
Johnny Liu
04d2831976 dts: enable c7 cpu idle state
For platform-specific dts, it only need to enable the c7 cpu idle state
to enable the psci cpuidle driver. Other cpu idle states information and
configuration of cpu cores are specified in the soc overlay file.

Bug 3845478

Signed-off-by: Johnny Liu <johnliu@nvidia.com>
Change-Id: I8a84d3199d47cf4fcd32edf4d7f13272b7c7e4eb
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2871279
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:17:43 +00:00
Laxman Dewangan
1d6d671d5e overlay: status: enable hsp and aon node
Enable AON and hsp node for the concord platform.

Bug 4057304

Change-Id: I4974427741726cb33ca67925c2ed8d3d3e4978ac
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2884845
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2023-04-19 18:17:43 +00:00
Laxman Dewangan
2f15568b0f tegra234: sbsa-uart: Remove the overlay file
Remove the overlay file for sbsa uart as it is
not being used by any of platform.

Bug 4057304

Change-Id: I7101bc643a79d71c53adab9fe368e773ed7e37f1
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2884803
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2023-04-19 18:17:43 +00:00
Laxman Dewangan
1e8573b7fb concord: Move PCIE nodes under bus@0
The bus@0 address size and cell size is set to 2 now and part
of this address/size bump-up, the PCIE nodes are moved to
bus@0.

Move the PCIE nodes from platform to the bus@0.

Bug 4057304

Change-Id: I16c984d99b2876ea2ddc430b687368ef1e2ea240
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2884733
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:17:43 +00:00
Laxman Dewangan
c9bb5a14d7 concord: p3737+p3701: Sync with mainline V6.3-rc5
Pull the nodes from overlay to base based on V6.3-rc5
p3737+p3701 files.

Bug 4057304

Change-Id: Iedaee4e13609a05145e6d4863c3b39e52fdfa8e6
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2884519
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:17:43 +00:00
Laxman Dewangan
a5e0e58cb5 concord: p3737: Sync with mainline V6.3-rc5
Pull the nodes from overlay to base based on V6.3-rc5
p3737 files.

Bug 4057304

Change-Id: I9557b58ad731e1a916cd6da2836a516c1c0a72c1
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2884501
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:17:43 +00:00
Laxman Dewangan
1312a1cc0c concord: p3701: Sync with mainline V6.3-rc5
Pull the nodes from overlay to base based on V6.3-rc5
p3701 files.

Bug 4057304

Change-Id: I703c45f40f0eb6a00cf6855f9b3c2ce86d319ba7
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2884404
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:17:43 +00:00
Laxman Dewangan
89fff638a2 concord: p3737+p3701: Resequence audio nodes
Resequence audio nodes matching with mainline v6.3-rc5
tegra234-p3737-0000+p3701-0000.dts.

This will help to integrate the changes from mainline without
showing too many differences.

Bug 4057304

Change-Id: Ie2af5bbdf7269ac5b21a292cf76d95dfb8058a01
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2883808
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:17:43 +00:00
Laxman Dewangan
bdf376813b concord: status-overlay: Move base nodes overlay to base fragment
Move the enabling of nodes pwm, padctl, usb etc from base DTSI
to the base fragment.

These nodes are moved to base from overlay.

Change-Id: I734105a48c178dcbcc11535c3db44f2f7da3021a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2882653
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:17:43 +00:00
Bitan Biswas
f223f4b2a5 TEMP: platform: t23x: concord: disable vrs@3c
Disable DT node vrs@3c as there is no handler
Proper fix for the issue pending.

Problem:
Sep  8 10:01:11 jetson kernel: [  209.803891] irq 240: nobody cared (try booting with the "irqpoll" option)
Sep  8 10:01:11 jetson kernel: [  209.803904] CPU: 0 PID: 450 Comm: irq/240-nvvrs-p Tainted: G           OE     5.15.78-tegra-g2223e9380f7f #1
Above kernel warning intermittently seen when running ap_cudnn test
on concord with k515.

bug 4037363

Change-Id: Id648fb403e62f9f40afea89cae448d8cf3b75aea
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2879820
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-04-19 18:17:43 +00:00
Ankur Pawar
5543907168 DT: remove the conflicting imx185 sensor DT
K5.15 is loading both IMX274 and IMX185 sensor DT,
which is causing issue in device probe and
creating video nodes on board with IMX274. For now
enable only IMX274.

Bug 3995570
Bug 4047918

Change-Id: I2a03d7030ea16a37f5ae6b586ba886490a6b713d
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2877172
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Frank Chen <frankc@nvidia.com>
Tested-by: Ankur Pawar <ankurp@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:17:43 +00:00
Laxman Dewangan
2dcd67643a p3737-0000+p3701: Merge all overrides into single fragment
Merge all overlays fragment into single fragment as this gives
the proper hierarchy of nodes with respect to base overlay.

Bug 4032485

Change-Id: Id9aa1895b00130f6b63cbdba5e56d6acf6ea6d22
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2877615
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
2023-04-19 18:17:43 +00:00