aboutsummaryrefslogtreecommitdiff
path: root/drivers/pmdomain
diff options
context:
space:
mode:
authorGravatar Ulf Hansson <ulf.hansson@linaro.org> 2023-09-12 14:16:49 +0200
committerGravatar Ulf Hansson <ulf.hansson@linaro.org> 2023-10-04 23:41:56 +0200
commitf28cd697505d4d4d83fcb0d132d042551056ee13 (patch)
treeb83b0d599f1fd67f684afcb9c6211eb54b58ec3b /drivers/pmdomain
parentpmdomain: sunxi: Move Kconfig option to the pmdomain subsystem (diff)
downloadlinux-f28cd697505d4d4d83fcb0d132d042551056ee13.tar.gz
linux-f28cd697505d4d4d83fcb0d132d042551056ee13.tar.bz2
linux-f28cd697505d4d4d83fcb0d132d042551056ee13.zip
pmdomain: tegra: Move Kconfig option to the pmdomain subsystem
The Kconfig option belongs closer to the corresponding implementation, hence let's move it from the soc subsystem to the pmdomain subsystem. Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Jonathan Hunter <jonathanh@nvidia.com> Cc: Mikko Perttunen <mperttunen@nvidia.com> Cc: <linux-tegra@vger.kernel.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/pmdomain')
-rw-r--r--drivers/pmdomain/Kconfig1
-rw-r--r--drivers/pmdomain/tegra/Kconfig6
2 files changed, 7 insertions, 0 deletions
diff --git a/drivers/pmdomain/Kconfig b/drivers/pmdomain/Kconfig
index 10c3bc2e2444..98e04589bef4 100644
--- a/drivers/pmdomain/Kconfig
+++ b/drivers/pmdomain/Kconfig
@@ -14,5 +14,6 @@ source "drivers/pmdomain/samsung/Kconfig"
source "drivers/pmdomain/st/Kconfig"
source "drivers/pmdomain/starfive/Kconfig"
source "drivers/pmdomain/sunxi/Kconfig"
+source "drivers/pmdomain/tegra/Kconfig"
endmenu
diff --git a/drivers/pmdomain/tegra/Kconfig b/drivers/pmdomain/tegra/Kconfig
new file mode 100644
index 000000000000..13ade6d84696
--- /dev/null
+++ b/drivers/pmdomain/tegra/Kconfig
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+config SOC_TEGRA_POWERGATE_BPMP
+ def_bool y
+ depends on PM_GENERIC_DOMAINS
+ depends on TEGRA_BPMP