Jian-Min Liu
d488feae65
kleaf: Adjust dts file path to align with kleaf
...
There is path difference between kleaf build environment and the existing environment, Use the condition CONFIG_TEGRA_KLEAF_BUILD to adjust the relative path.
Bug 4344670
Change-Id: I4fe35944467cd3ed76e111c9c3588bcb9032511f
Reviewed-on: https://git-master.nvidia.com/r/c/linux/kernel-devicetree/+/3171629
Reviewed-by: svcacv <svcacv@nvidia.com >
Tested-by: Jian-Min Liu <jianminl@nvidia.com >
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
2025-07-16 16:41:46 +00:00
Laxman Dewangan
cd1c454299
generic-dt: Include the dt binding headers from tegra
...
Include the dt binding headers from common location for all
SOCs. The common dt-binding headers are at
hardware/nvidia/tegra/nv-public/include
Bug 4734150
Change-Id: I12fa9364612e1634c2cbc6209b18ff5ed711185a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux/kernel-devicetree/+/3168951
2025-07-16 16:41:39 +00:00
Sandipan Patra
a34574ecc9
device-tree: generic: Pickup DTB makefile from hardware/nvidia/t264
...
The path for the t264 DTS repo are hardware/nvidia/t264
Pickup the Makefiles from this new path for building
DTB.
Bug 4459750
Change-Id: I4d799241ab6479c7999a4dd77523d842ac6550f4
Signed-off-by: Sandipan Patra <spatra@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3089965
Tested-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux/kernel-devicetree/+/3164879
2025-07-16 16:41:24 +00:00
Laxman Dewangan
5fc4366307
device-tree: Add OS_LINUX as the DTC flag
...
Add device tree compiler flag as OS_LINUX for building the
DT for linux.
Bug 3081230
Change-Id: I7b5efc8840988f7afb9bcd2ee7c1c0997d4f8c3a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3089477
Reviewed-on: https://git-master.nvidia.com/r/c/linux/kernel-devicetree/+/3164878
2025-07-16 16:40:45 +00:00
Paritosh Dixit
823381077e
device-tree: generic: Fix issue in use of objtree
...
Fix issue in building the DTBs when KERNEL_OUTPUT and KERNEL_HEADERS
are specified as different directories in the OOT modules' Makefile.
In that case, srctree is set to KERNEL_HEADERS and objtree is set to
KERNEL_OUTPUT, and device-tree Makefile should be able to handle the
case when srctree and objtree are specified as different directories.
Bug 4295120
Change-Id: I164288e957f791d8e8072926743d0a80e23da9cb
Signed-off-by: Paritosh Dixit <paritoshd@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3033099
Reviewed-by: svc-sw-mobile-l4t <svc-sw-mobile-l4t@nvidia.com >
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com >
Reviewed-by: Brad Griffis <bgriffis@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2025-07-16 16:40:38 +00:00
Sameer Pujar
cae046f8ff
device-tree: generic: Add include path for Jetson-IO overlays
...
There are platform specific overlays that can be applied by Jetson-IO
tool. Basically these overlays bring up additional functionality on a
given GPIO expansion header on the platform. These platform specific
overlays in turn depend on some of the common overlays and dt-binding
headers. Add these paths to enable build of Jetson-IO overlays.
Bug 4161664
Change-Id: Ia69df6e7e2c9555b151520ddec5ec9c75e6c1cb2
Signed-off-by: Sameer Pujar <spujar@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2924006
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
2025-07-16 15:59:41 +00:00
Akshay Tigga
439b3bb090
Set correct path for tegra-dtstree in ACK builds
...
Bug 3974840
Change-Id: I1d5b96e07396071e1d267ae4f5d767aab32b675d
Signed-off-by: Bruce Xu <brucex@nvidia.com >
(cherry picked from commit de06f79e350dbe169aaecdcac1a562838cd8ca92)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2910052
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Ankita Garg <ankitag@nvidia.com >
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
Tested-by: Ankita Garg <ankitag@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2025-07-16 15:59:33 +00:00
Laxman Dewangan
7c2b56d612
device-tree: generic: Pickup DTB/DTBO makefile from hardware/nvidia/t23x
...
As part of the optimizing the DTS repo count, it merged few
repos in single repo for keeping minium number of repo.
The path for the new DTS repo are hardware/nvidia/t23x.
Pickup the Makefiles from this new path for building
DTB and DTBO.
Bug 4078385
Change-Id: I89f18e283c5b367219623d47298536c594c108e6
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2892469
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2025-07-16 15:59:14 +00:00
Laxman Dewangan
fb61f96359
device-tree: Makefile: Make the LINUX VERSION to 6.00
...
Make the Linux kernel version to the 600 as default for
building generic and legacy DTS from nvidia-oot.
There is no case handled for the <515 on the DTS for OOT
architecture.
Change-Id: I8129c9ead5515a460c9c2dbae9d4f18de9fb7a61
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2868347
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
Reviewed-by: Ashish Mhetre <amhetre@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2025-07-16 15:55:11 +00:00
Ashish Mhetre
3052d420c3
device-tree: generic-dts: Set correct LINUX_VERSION
...
For generic-dts, LINUX_VERSION is hardcoded to be 5.15. This is used by
kstable as well where kernel version is 6.0.
Fix this by setting appropriate LINUX_VERSION based on kernel build
options.
Bug 3931063
Change-Id: I478ce03b40ff57b9839ae9d3168825b3c917196b
Signed-off-by: Ashish Mhetre <amhetre@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2840518
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
Reviewed-by: Sachin Nikam <snikam@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2024-05-29 18:53:06 +00:00
Mikko Perttunen
07e4219bab
device-tree: Use Host1x DT version 2 on nvidia-oot platforms
...
Use DT version 2, or upstream(ish) version on nvidia-oot platforms
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com >
Change-Id: I90f6e63286ba20d1215710f9607c9b27a0349b17
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2808735
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2024-05-29 18:53:06 +00:00
Laxman Dewangan
4b7aad64c2
device-tree: Use TEGRA_TOP for hardware DT source
...
Use the TEGRA_TOP environment variable for getting the
path of hardware DT source. If it is not available then
use the TOP.
If TEGRA_TOP and TOP is not exported then report compilation
error.
Bug 3860258
Change-Id: I5c31f8861f795cec3b3bddb01621e3413d044454
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2807613
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
Reviewed-by: svcacv <svcacv@nvidia.com >
Tested-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2024-05-29 18:53:06 +00:00
Laxman Dewangan
6f5185fab4
device-tree: Add makefile for making generic-dts
...
Add Makefile to make generic DTS files which are available
at hardware/nvidia/platform/*/generic-dts. These DTS are
mainline compliance.
Bug 3860258
Change-Id: I5e8218f7ee7f2ba192fe130ee983480b3c8ea413
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2804233
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
2024-05-29 18:53:06 +00:00