8 Commits

Author SHA1 Message Date
Akshay Tigga
75b97da7e0 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>
2023-06-03 19:16:38 -07:00
Laxman Dewangan
b022df552b device-tree: legacy-dts: ignore graph port and endpoint warning
The legacy DTS is intentionally written to have macro in unit
address in the name of the node. This is creating the warning
for graph_port and graph_endpoint.

Ignore the warning for legacy DT build.

Bug 4037171

Change-Id: I57a869a2e69dcb7934fa6650edbd7d15b8e5f784
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2874128
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-03-21 09:49:02 -07:00
Laxman Dewangan
17a785e632 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>
2023-03-10 14:04:32 -08:00
Laxman Dewangan
79cd1e31b1 device-tree: Makefile: Exclude DTS file from protected SOCs
For few kernel variant, it is not required to build DT
for private SoCs. The list of protected SoCs is passed
from parent makefile.

Parse the list and exclude the DTS from that SOC's platform.

Change-Id: If29cdc3e1279b929b5c8f90151dd86245c387075
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2863623
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-03-01 10:30:14 -08:00
Laxman Dewangan
8ea6700062 device-tree: legacy-dts: Build all SoC legacy DTS
Build legacy DTS from all SoCs which are having required
files for OOT build.

Bug 3965392

Change-Id: I348ae27edfabc157fd54788e0a821792c44870b0
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2852800
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-02-04 01:05:28 -08:00
Mikko Perttunen
f1ef7ee317 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>
2022-12-12 15:01:29 -08:00
Laxman Dewangan
e4f3b51112 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>
2022-11-12 16:34:35 -08:00
Laxman Dewangan
f31946e09e device-tree: Keep legacy hardware/nvidia DTS file to legacy-dts
Move makefile which make the downstream dts from
hardware/nvidia/platform to the legacy-dts folder.

There will be another DTS build rule for making the generic-dts
files which are mainline compliant.

Bug 3860258

Change-Id: I94fea353112482274478178f9f42db9bb5292430
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2804232
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-11-09 11:29:15 -08:00