Message ID | 20230915092003.658361-13-ulf.hansson@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | pmdomain: Move Kconfig options/files to the pmdomain subsystem | expand |
diff --git a/drivers/pmdomain/Kconfig b/drivers/pmdomain/Kconfig index 4a411e0985c3..08f8a3aa9805 100644 --- a/drivers/pmdomain/Kconfig +++ b/drivers/pmdomain/Kconfig @@ -11,5 +11,6 @@ source "drivers/pmdomain/qcom/Kconfig" source "drivers/pmdomain/renesas/Kconfig" source "drivers/pmdomain/rockchip/Kconfig" source "drivers/pmdomain/samsung/Kconfig" +source "drivers/pmdomain/st/Kconfig" endmenu diff --git a/drivers/pmdomain/st/Kconfig b/drivers/pmdomain/st/Kconfig new file mode 100644 index 000000000000..a77a70211f61 --- /dev/null +++ b/drivers/pmdomain/st/Kconfig @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only +config UX500_PM_DOMAIN + bool "ST-Ericsson ux500 Power Domain" + depends on ARCH_U8500 || COMPILE_TEST + default ARCH_U8500 diff --git a/drivers/pmdomain/st/Makefile b/drivers/pmdomain/st/Makefile index 8fa5f9855460..6d8b617eb834 100644 --- a/drivers/pmdomain/st/Makefile +++ b/drivers/pmdomain/st/Makefile @@ -1,2 +1,2 @@ # SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_ARCH_U8500) += ste-ux500-pm-domain.o +obj-$(CONFIG_UX500_PM_DOMAIN) += ste-ux500-pm-domain.o