Commit Graph

20 Commits

Author SHA1 Message Date
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