Commit Graph

46 Commits

Author SHA1 Message Date
Jon Hunter
e4f4ae06b6 arm64: tegra: Update Jetson overlay for Linux v6.3
Commit 2838cfddbc1c ("arm64: tegra: Bump #address-cells and
#size-cells") updated the address-cells and size-cells for the bus@0
node to be 64-bits. Update the Tegra194 Jetson overlay to work with the
latest upstream device-tree.

Bug 4075345

Change-Id: Iabed119515adade6614ee80f74b42181e3af1729
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2920655
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-20 15:08:22 -07:00
Laxman Dewangan
a95aed75c9 dts: Remove tegra optee dt overlay file
Tegra OPTEE DT overlay file is moved to the
hardware/nvidia/t23x/nv-public. Removed this
duplicate file from nvidia-oot.

Bug 4131055

Change-Id: I17fa81fa97e46ff6d50120d44b24271b9bc91cc7
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2917195
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
2023-06-10 12:27:24 -07:00
Akhil R
185c92d6dd arm64: tegra: Add -@ to get __symbols__ node in DT
Add DT Flag '-@' to get __symbols__ node in device tree.
The symbols node is required when subsequent overlays are
applied.

Bug 3847762

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Change-Id: I549d509740b7c6d99b14f0f79e4648c496bc1852
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2819167
Tested-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-12-06 04:44:38 -08:00
Laxman Dewangan
7f81325068 t234: Move tegra234 DTS/DTSI files to hardware/nvidia
Move DTS and DTSI files of Tegra234 to the /hardware/nvidia
respective folders part of DTS/DTSI re-organisation and
independent of nvidia-oot.

Following are movement:
      hardware/nvidia/soc/generic-dts/t23x
		tegra234-soc-base.dtsi
		tegra234-soc-display-overlay.dtsi
		tegra234-soc-overlay.dtsi
		tegra234-audio-dai-links-overlay.dtsi

      hardware/nvidia/platform/t23x/concord/dts/generic-dts
		tegra234-carveouts.dts
		tegra234-jetson.dts
		tegra234-dcb-p3737-0000-p3701-0000.dtsi
		tegra234-p3701-0000-overlay.dtsi
		tegra234-p3737-0000+p3701-0000-overlay.dts
		tegra234-p3737-0000-overlay.dtsi
		tegra234-sbsa-uart.dts
      hardware/nvidia/platform/t23x/firespray/dts/generic-dts
		tegra234-p3710-0010-a01-linux-native.dts
		tegra234-p3710-0010-a04-linux-native.dts
		tegra234-p3710-0020-a01-linux-native.dts

Bug 3523182

Change-Id: Ibdecf2fee4a392d9f462405eb229f0984b82ad07
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2808093
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-11-15 11:27:57 -08:00
Akhil R
f6042cd2af 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
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2022-11-10 16:52:59 -08:00
omar nemri
31e0d65743 nvidia-oot: dts: add DT nodes for PVA
add and enable PVA and its context devices

Bug 3583639

Change-Id: I80ca263a6ecc62eab7ee5dbb4d67af463c56dd60
Signed-off-by: omar nemri <onemri@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2793135
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2022-11-10 11:51:08 -08:00
Prathamesh Shete
e6f189141d nvidia-oot: dts: add DT node for SDMMC1 instance
Add and enable SDMMC1 DT node for T234

Change-Id: Ib8be4fd8b7f0cad1d6f0fb69e86b443e3c1d470b
Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2805053
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2022-11-10 07:05:32 -08:00
Prathamesh Shete
af9627ed14 nvidia-oot: dts: pinmux: Add pinmux DT node for T234
Add and enable pinmux DT node for T234.

The tegra-audio-pinmux-testsuite.sh fails with error
saying "Pinmux sysfs path not found".
Above failure is seen as pinmux driver is not enabled on OOT.
This change adds required pinmux DT node and enables it.

Bug 3839203

Change-Id: If465054f20ddfef2d82eb547d08e69f55f06e311
Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2801702
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2022-11-02 12:21:48 -07:00
Ashish Mhetre
2af0e64649 arm64: dts: Add smmu_test node
Add DT node for smmu_test in T234 DT overlay file which is used by
iova_range_check and smmu_benchmark tests

Bug 3821422

Change-Id: I532276a8ba097447114ce0911b6dfb3059a02ea9
Signed-off-by: Ashish Mhetre <amhetre@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2801144
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2022-11-02 12:20:23 -07:00
Akhil R
7ca4e62987 arm64: tegra: Remove GPCDMA driver from OOT
Remove GPCDMA from OOT and merge the Linux mainline  changes in
kernel-oot

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Change-Id: I6370d80335fba306d1e202e72f9d8da33051d60f
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2792224
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2022-11-02 06:15:48 -07:00
Sanjay Chandrashekara
b068faea74 t23x: concord: dts: enable cpu core power gating
This patch enables cpu core power gating through cpuidle.

Bug 3583597

Change-Id: I93bff177a003a825b0297105e4c862f5b0d4c42f
Signed-off-by: Sanjay Chandrashekara <sanjayc@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2799745
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2022-11-01 05:43:46 -07:00
Mahesh Kumar
f23cc48733 dtb: disp: Add display node to concord overlay dtb
This CL creates a dtsi file for display related nodes (dce/display)
It also cretes a dtsi file for dcb display blob.

Bug 3713048

Signed-off-by: Mahesh Kumar <mahkumar@nvidia.com>
Change-Id: I549fd9d78cd4e771d6b8fd893a2d43f2cff83f75
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2795787
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-10-29 10:03:40 -07:00
Vedashree Vidwans
994623c5ea nvidia-oot: add soc-hwpm device node
Add tegra-soc-hwpm device node.

Bug 3583624

Change-Id: I7e2861689da8cad1481cfa6968ed4aec32e303d0
Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2785721
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Vasuki Shankar <vasukis@nvidia.com>
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
2022-10-27 02:41:36 -07:00
Nikesh Oswal
6d2a57d57b nvidia-oot: add tsec driver as oot module
1. Add tsec device entry in the DT overlay file
2. Copy over the existing tsec driver source code
   and compile it when building with oot kernel
3. Add a dummy tsec folder with an empty Makefile
   which conveys that common driver source is used
   from kernel/nvidia/drivers/video/tegra/tsec

Bug 3817626

Change-Id: I7b3064fc08bf7507b7660985564bc6bc8eba86eb
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2793265
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-10-26 12:08:52 -07:00
Sameer Pujar
9bc606c24d arm64: tegra: Enable RT5640 codec support
Add RT5640 device bindings and update respective sound DAI link.
This enables RT5640 codec path in APE sound card.

Bug 3583581

Change-Id: I92f57d7e92bea2c7579d0a46cda057f2db50086c
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2785794
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-10-26 12:08:05 -07:00
Ketan Patil
a765a2eed1 arm64: tegra: Add overlay dts for t234 carveouts
Add overlay dts file for tegra carveouts needed for t234.

Bug 3821422

Change-Id: I44666906a28d7ef89be1fb13aa46f9ae9a555cf4
Signed-off-by: Ketan Patil <ketanp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2795647
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-10-21 20:35:39 -07:00
Sandipan Patra
f8c472c7e1 dts: pwm-fan: Add Tegra234 PWM FAN
Add PWM FAN DT settings for Orin Dev-kit.
PWM controller instance: pwm@32a0000 (pwm3)

Bug 3771590

Change-Id: Id3d3c8b196b505d9a339de6d011c9301e4bd01be
Signed-off-by: Sandipan Patra <spatra@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2795502
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2022-10-21 20:34:46 -07:00
Sameer Pujar
bfea978c6c arm64: tegra: Add assigned-clocks binding for AHUB
The clock checks with tegra-audio-boot-sanity.sh test script fail
and it reports wrong parent and clock rate for AHUB. Fix this by
adding assigned-clocks binding in the overlay.

Bug 3839203

Change-Id: Iffbfa361df25ded2c42e8427a6ead6705c8e0dfe
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2795056
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2022-10-21 20:33:28 -07:00
Sandipan Patra
bbde9d8b23 dts: pwm: Add Tegra234 PWM controller
Tegra234 has eight single-channel PWM controllers, one of them in the
AON block.

Enable required PMW controllers (i.e. User pwm, PWM-FAN etc)
of Orin dev-kit.

Bug 3771588

Change-Id: I7a8e741d62fb190487df5586ce397c7a965dcd07
Signed-off-by: Sandipan Patra <spatra@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2795495
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-10-20 16:16:10 -07:00
Dinesh T
6799b30ec7 dts: Add linux-cma node with 256MB for GPU requirements
This is adding a linux-cma node for supporting compression
for NVGPU and other contiguous memory requirements.

Bug 3793199

Change-Id: I7116d61b3a7d8b19e9948410c25661e9f7ea9ea9
Signed-off-by: Dinesh T <dt@nvidia.com>
Signed-off-by: Sagar Kamble <skamble@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2784952
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Akhil R <akhilrajeev@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-10-18 20:35:44 -07:00
Mahesh Kumar
9fa1d2a6ee DTB: DCE : Add dce node to t234 soc overlay
This patch Adds DCE device-tree node to kernel overlay.

Bug 3583600

Signed-off-by: Mahesh Kumar <mahkumar@nvidia.com>
Change-Id: I406e749a1fc882772c32876de3085300dc20b4f9
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2780392
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Arun Swain <arswain@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-10-18 05:16:53 -07:00
Sameer Pujar
943cc4d854 arm64: tegra: Enable APE sound card
Enable APE sound card with following changes:

  - Add DAI link DTSI files and enable OOT machine driver.

  - Some of the AHUB drivers are present in v5.15, however
    these are not feature complete yet. Use OOT driver
    versions for now and enable these by using OOT specific
    compatibles.

  - ADSP is disabled for now as it is not required for L4T production
    releases. There are dependencies on AGIC and ADMA patches which
    are not yet upstreamed. This will be taken up when this becomes
    a requirement.

  - Add 'nvidia,ahub-i2s-id' property to I2S devices. Presently
    this is being used to identify I2S instances and thus add
    few mixer controls from machine driver.

Bug 3583581

Change-Id: I8ce7cab1997c6464d1b30fc19f840e11ed877b21
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2774943
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2022-10-05 20:00:42 -07:00
Akhil R
55220a53b2 arm64: tegra: Correct the compatible for SE4
Correct the compatible for SE4 to fix SHA, CMAC and HMAC algorithm
failures.

Fixes: e819643f9a ("arm64: tegra: Add Security Engine device trees node")
Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Change-Id: Idc189a7ab00a95e6b9fa97be78f98997a88e31a3
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2786119
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-10-04 13:30:48 -07:00
Sagar Kamble
b0746ed5ac arch: arm64: add gpu node in OOT
Add gpu device tree node for p3737 and p3701.

Bug 3812973

Change-Id: Ie52bf30b49f1d5aae67dba5b2c7357308e1d9ec2
Signed-off-by: Sagar Kamble <skamble@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2784071
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2022-09-29 19:41:25 -07:00
Akhil R
017e1b9cdf arm64: tegra: Enable all I2C nodes for Concord
Enable all I2C nodes in device tree for Concord as in downstream.

Bug 3583581

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Change-Id: I063326e3c0474f38a376a5ab5abc344d2351cf04
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2783540
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-09-29 19:41:11 -07:00
Eric Funsten
564dadea31 platform/tegra: Add in uncore_pmu module for oot
Ports over tegra23x_perf_uncore and mce modules for OOT.

Bug 3583633

Change-Id: I59999db51a7ef6b47f2e9929f28505fc78844825
Signed-off-by: Eric Funsten <efunsten@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2763940
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-09-29 19:38:17 -07:00
Sandipan Patra
0d01039657 arm64: dts: Add dt to enable tegra tachometer
Tegra234 tachometer supports FAN speed in rpm.
This change is added to enable tachometer module.

Bug 3771589

Change-Id: Iec98e32c50bb43f47eb64af41a8d25c6175f96f1
Signed-off-by: Sandipan Patra <spatra@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2775691
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-09-26 16:08:32 -07:00
Kartik
2584a3873b arm64: tegra: Enable Tegra RTC
Tegra234 soc provides RTC which serves as a wakeup source to recover the
system from SC7 state.

Enable Tegra RTC on Tegra234.

Bug 3796711

Change-Id: Ibd0e0091c890b482b1447d53a0faaeaed51a1c6a
Signed-off-by: Kartik <kkartik@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2778957
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2022-09-21 15:27:41 -07:00
Sanjay Chandrashekara
f019e670e0 t23x: dts: add dt bindings for ari driver
Bug 3680143

Change-Id: I70301e457109c5a7f30f26cfc9e5383946c22237
Signed-off-by: Sanjay Chandrashekara <sanjayc@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2774587
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2022-09-21 01:11:26 -07:00
Brad Griffis
c9759f1ef7 arm64: tegra: Update Tegra234 Jetson DT overlay
Add devices nodes for Multimedia, DLA, PVA and GPU devices.

Bug 3724727

Change-Id: Ica4821bb841b14cb85ce18e7c5fd5f3801295c41
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2771894
(cherry picked from commit 8024d27b5ac1771e818681d3387f7375cd93c876)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2757875
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-09-14 17:34:11 -07:00
Akhil R
17efb130a2 arch: arm64: add VRS dtb node in OOT
Add VRS device tree node to enable VRS for p3737 and p3701.

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Change-Id: I4974f26a3db3691e7654903f27508219fc5bfe3e
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2775729
Reviewed-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-09-14 09:50:50 -07:00
Jon Hunter
d56a2504ec arm64: tegra: Add more DT overlays
Add a new DT overlay for Tegra194 Jetson boards that populates the
necessary device-tree nodes for devices that use out-of-tree
drivers.

Add the DT overlays for OPTEE and the Tegra234 SBSA UART that have
been copied from the linux-stable branch. By adding them to this
repository we can remove from linux-stable branch because this branch
should only include changes from upstream.

Bug 3733730

Change-Id: I13172d6c6e9930c85f0126477668858dccbbf560
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2770883
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-09-08 21:10:19 -07:00
Sameer Pujar
dd168b1704 arm64: tegra: Overlay for HDA
Following are pending for HDA in upstream:
  - IOMMU property is not populated. This is presently causing probe
    failures when testing with Kernel OOT.
  - HDA device is not enabled.

Upstream patches for above will be pushed soon. But until the patches
get accepted and are back ported we can use the overlays to enable
HDA functionality.

Bug 3748244

Change-Id: I725533be019877c7e8746f0a257d7842795f5419
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2768716
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2022-09-08 21:07:05 -07:00
Abhilash G
25bad7376d scsi: ufs: add ufs-tegra DT
Add ufs-tegra in soc overlay DT and
enable ufs node in platform overlay DT.

Bug 3621817

Signed-off-by: Abhilash G <abhilashg@nvidia.com>
Change-Id: I76926fc367a0b244992fa34cc5a5abd02a584472
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2771540
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-09-07 12:19:53 -07:00
Brad Griffis
cd6fe5db1d arm64: tegra: Add DT overlay for Tegra234 Jetson
Add a new overlay for Tegra234 Jetson boards that populates the
necessary device-tree nodes for devices that use out-of-tree drivers.

Bug 3724727

Change-Id: I716079db288f424f2785d02c34236b8796ec099d
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2769629
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-09-02 22:12:18 -07:00
Kartik
417e8e2a69 arm64: dts: Add dt fragment to enable watchdog
Tegra234 TKE Timers supports WDT to allow system to recover from
hang/crash.

Add device-tree fragment to enable Tegra TKE WDT for Tegra234 chips.

Change-Id: I1ab265acbbf89832cf2132cda7c70ac428acbbb7
Signed-off-by: Kartik <kkartik@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2755818
Reviewed-by: Akhil R <akhilrajeev@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-08-31 20:25:00 -07:00
Kartik
dfefaaf4c3 arm64: tegra: Add DT fragment to enable UART-B
On Tegra234, Bluetooth requires UART-B to be enabled to function
properly.

Add device tree fragment to enable UART-B on Tegra234.

Change-Id: I1978d75ca2355623a3ef80dfe131efc7dde421f1
Signed-off-by: Kartik <kkartik@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2768869
Reviewed-by: Akhil R <akhilrajeev@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-08-31 20:24:54 -07:00
Akhil R
e819643f9a arm64: tegra: Add Security Engine device trees node
Add Security Engine device trees node as an overlay.

Bug 3583641

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Change-Id: Icc296944b0587226113be90ea94267bfac11b6b2
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2765833
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2022-08-29 05:12:19 -07:00
Akhil R
62c3768776 arm64: tegra: Add GPCDMA device tree node
Add GPCDMA device tree node as an overlay.

Bug 3631204

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Change-Id: I4ec8ef94f357890c7c938b7094610fcaa01f2920
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2758220
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2022-08-29 05:12:09 -07:00
Akhil R
3dbb1faa82 arm64: tegra: Restructure Overlay device trees
Restructure the overlay device trees to have seperate files for
SoC specific and board specific nodes/fragments.

Change-Id: I4159d1267ca23181961955196460ade1d83811af
Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2766083
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-08-29 05:11:59 -07:00
Akhil R
ad95189d09 arm64: tegra: Add dt-binding header files
Add clock, reset and stream-id header files and include them in
the overlay dts.

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Change-Id: I1835cff21c34b143e58ead405af7f64bd9a6cb89
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2763002
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-08-29 05:11:55 -07:00
Bitan Biswas
c10dad7d43 ARM64: DT: nvidia: add t234 p3710 dts
Reuse concord DT to add minimal boot
DT nodes for T234 firespray OOT build and boot
 - quickboot needs memory DT node before
   kernel boot can start
 - create initial firespray dts for below:
       tegra234-p3710-0010-a01-linux-native.dts
       tegra234-p3710-0010-a04-linux-native.dts
       tegra234-p3710-0020-a01-linux-native.dts

Bug 3523182

Change-Id: Id8ea6f2b3afa56345a7e1c3a41bee7390247e487
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2732635
GVS: Gerrit_Virtual_Submit
2022-07-31 01:10:39 -07:00
Ketan Patil
3d227e1933 arm64: tegra: Add overlay dts for carveout support
Add an overlay dts for oot kernel which contains tegra-carveout nodes.
The dtbo generated by compiling this overlay dts would be applied on top
of the main dtb during flash.

Bug 200722773

Change-Id: I885cb845c93282bf6f9701d10ed79ced74f6a817
Signed-off-by: Ketan Patil <ketanp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2752306
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Rohit Khanna <rokhanna@nvidia.com>
GVS: Gerrit_Virtual_Submit
2022-07-29 16:03:19 -07:00
Laxman Dewangan
a7fc1600d8 script: Add Makefile rule and library
Make the copy of Makefile.build and Makefile.lib from
kernel to modify them as per OOT DTBs compilation requirements.
This copy is done to avoid any change in the kernel repo.

bug 3680329

Change-Id: I782c6aae67c85b7d5363177014468b3b3744bfbb
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2734084
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit
2022-06-24 04:36:14 -07:00
Laxman Dewangan
e658a56460 DTS: Add empty overlay DTS file as placeholder
Add empty overlay DTS file as placeholder and enable
the build and flashing. The build will generate the
respective DTBO file and it is flashed into the DTBO
partition.

Bug 3614924

Change-Id: I01ab9ce90b24a78f25eb442a14166e9f272b070e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2702020
GVS: Gerrit_Virtual_Submit
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
2022-04-25 09:02:57 -07:00
Laxman Dewangan
6ed6c05da2 DTS: Add makefile to build DTB/DTBO
Add makefile support to build DTB and DTBO from the
arch/arm64/boot/dts.

This will help to add the DTB/DTBOs for the platform which
are not upstreamed yet.

Change-Id: I1c01de68fbfefb0f6328f3a6a9cc8ff9c8b587cd
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2700778
GVS: Gerrit_Virtual_Submit
2022-04-24 10:19:51 -07:00