drivers: Remove 'private' directories

Drivers in the NVIDIA OOT repository are public and so remove the
directories named 'private' to avoid any confusion once these sources
are released.

Bug 5054840

Change-Id: I9156e3b08df9ce3d90dc0a2b5e72416f28fac5f5
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3351272
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Ashish Mhetre <amhetre@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
This commit is contained in:
Jon Hunter
2025-04-25 13:50:11 +01:00
parent fe810a887f
commit cdef2b63f6
19 changed files with 29 additions and 65 deletions

View File

@@ -92,10 +92,10 @@ kernel_module(
"drivers/media/platform/tegra/isc/isc_mgr.ko", "drivers/media/platform/tegra/isc/isc_mgr.ko",
"drivers/media/platform/tegra/isc/isc_pwm.ko", "drivers/media/platform/tegra/isc/isc_pwm.ko",
"drivers/media/platform/tegra/v4l2loopback/v4l2loopback.ko", "drivers/media/platform/tegra/v4l2loopback/v4l2loopback.ko",
"drivers/memory/tegra/private-soc/mc-t26x.ko", "drivers/memory/tegra/mc-t26x.ko",
"drivers/memory/tegra/private-soc/mem-qual.ko", "drivers/memory/tegra/mem-qual.ko",
"drivers/memory/tegra/private-soc/smmu-hwpm.ko", "drivers/memory/tegra/smmu-hwpm.ko",
"drivers/memory/tegra/private-soc/tegra264-mc-hwpm.ko", "drivers/memory/tegra/tegra264-mc-hwpm.ko",
"drivers/mfd/max77851.ko", "drivers/mfd/max77851.ko",
"drivers/mfd/nvidia-vrs-pseq.ko", "drivers/mfd/nvidia-vrs-pseq.ko",
"drivers/misc/bluedroid_pm.ko", "drivers/misc/bluedroid_pm.ko",

View File

@@ -1,13 +1,5 @@
# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only
# # SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the terms and conditions of the GNU General Public License,
# version 2, as published by the Free Software Foundation.
#
# This program is distributed in the hope it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
# more details.
%YAML 1.2 %YAML 1.2
--- ---
@@ -22,7 +14,7 @@ maintainers:
description: | description: |
the compatability = nvidia,t264-smmu-hwpm is mentioned in the following drivers the compatability = nvidia,t264-smmu-hwpm is mentioned in the following drivers
- <TOP>/kernel/nvidia-oot/drivers/memory/tegra/private-soc/smmu-hwpm.c - <TOP>/kernel/nvidia-oot/drivers/memory/tegra/smmu-hwpm.c
The following nodes use this compatibility The following nodes use this compatibility
- /bus@0/smmu-hwpm@810aa30000 - /bus@0/smmu-hwpm@810aa30000

View File

@@ -1,13 +1,5 @@
# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only
# # SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the terms and conditions of the GNU General Public License,
# version 2, as published by the Free Software Foundation.
#
# This program is distributed in the hope it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
# more details.
%YAML 1.2 %YAML 1.2
--- ---
@@ -22,7 +14,7 @@ maintainers:
description: | description: |
the compatability = nvidia,tegra-t264-mc-hwpm is mentioned in the following drivers the compatability = nvidia,tegra-t264-mc-hwpm is mentioned in the following drivers
- <TOP>/kernel/nvidia-oot/drivers/memory/tegra/private-soc/tegra264-mc-hwpm.c - <TOP>/kernel/nvidia-oot/drivers/memory/tegra/tegra264-mc-hwpm.c
The following nodes use this compatibility The following nodes use this compatibility
- /bus@0/memory-controller-hwpm@8108020000 - /bus@0/memory-controller-hwpm@8108020000

View File

@@ -1,13 +1,5 @@
# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only
# # SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the terms and conditions of the GNU General Public License,
# version 2, as published by the Free Software Foundation.
#
# This program is distributed in the hope it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
# more details.
%YAML 1.2 %YAML 1.2
--- ---
@@ -21,7 +13,7 @@ maintainers:
description: | description: |
the compatability = nvidia,tegra-t264-mem-qual is mentioned in the following drivers the compatability = nvidia,tegra-t264-mem-qual is mentioned in the following drivers
- <TOP>/kernel/nvidia-oot/drivers/memory/tegra/private-soc/mem-qual.c - <TOP>/kernel/nvidia-oot/drivers/memory/tegra/mem-qual.c
The following nodes use this compatibility The following nodes use this compatibility
- /bus@0/memqual@f020000 - /bus@0/memqual@f020000

View File

@@ -1,13 +1,5 @@
# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only
# # SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the terms and conditions of the GNU General Public License,
# version 2, as published by the Free Software Foundation.
#
# This program is distributed in the hope it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
# more details.
%YAML 1.2 %YAML 1.2
--- ---
@@ -21,7 +13,7 @@ maintainers:
description: | description: |
the compatability = nvidia,tegra-t26x-mc is mentioned in the following drivers the compatability = nvidia,tegra-t26x-mc is mentioned in the following drivers
- <TOP>/kernel/nvidia-oot/drivers/memory/tegra/private-soc/mc-t26x.c - <TOP>/kernel/nvidia-oot/drivers/memory/tegra/mc-t26x.c
The following nodes use this compatibility The following nodes use this compatibility
- /bus@0/mc_carveout@8108020000 - /bus@0/mc_carveout@8108020000

View File

@@ -15,7 +15,7 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/version.h> #include <linux/version.h>
#include <drivers-private/devfreq/governor.h> #include <devfreq/governor.h>
#define DEFINE_ATTR_LOAD_STORE(name, limit) \ #define DEFINE_ATTR_LOAD_STORE(name, limit) \

View File

@@ -1,7 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only // SPDX-License-Identifier: GPL-2.0-only
/* // SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
* SPDX-FileCopyrightText: Copyright (c) 2023-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
*/
#include <nvidia/conftest.h> #include <nvidia/conftest.h>
@@ -15,7 +13,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/version.h> #include <linux/version.h>
#include <drivers-private/devfreq/governor.h> #include <devfreq/governor.h>
/** /**
* struct tegra_wmark_data - governor private data stored in struct devfreq * struct tegra_wmark_data - governor private data stored in struct devfreq

View File

@@ -1,4 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
obj-m += private-soc/ obj-m += mc-t26x.o
obj-m += tegra264-mc-hwpm.o
obj-m += smmu-hwpm.o
obj-m += mem-qual.o

View File

@@ -1,5 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
obj-m += mc-t26x.o
obj-m += tegra264-mc-hwpm.o
obj-m += smmu-hwpm.o
obj-m += mem-qual.o

View File

@@ -23,7 +23,7 @@
#include <sound/pcm_params.h> #include <sound/pcm_params.h>
#include <sound/soc.h> #include <sound/soc.h>
#include <drivers-private/sound/soc/tegra/tegra_cif.h> #include <sound/soc/tegra/tegra_cif.h>
#include "tegra186_arad.h" #include "tegra186_arad.h"

View File

@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only // SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2014-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. // SPDX-FileCopyrightText: Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// //
// tegra210_afc.c - Tegra210 AFC driver // tegra210_afc.c - Tegra210 AFC driver
@@ -19,7 +19,7 @@
#include <sound/pcm_params.h> #include <sound/pcm_params.h>
#include <sound/soc.h> #include <sound/soc.h>
#include <drivers-private/sound/soc/tegra/tegra_cif.h> #include <sound/soc/tegra/tegra_cif.h>
#include "tegra210_afc.h" #include "tegra210_afc.h"

View File

@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only // SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2014-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. // SPDX-FileCopyrightText: Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// //
// tegra210_iqc.c - Tegra210 IQC driver // tegra210_iqc.c - Tegra210 IQC driver
@@ -19,7 +19,7 @@
#include <sound/pcm_params.h> #include <sound/pcm_params.h>
#include <sound/soc.h> #include <sound/soc.h>
#include <drivers-private/sound/soc/tegra/tegra_cif.h> #include <sound/soc/tegra/tegra_cif.h>
#include "tegra210_iqc.h" #include "tegra210_iqc.h"