Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pmdomain: ti: Select PM_GENERIC_DOMAINS

Select PM_GENERIC_DOMAINS instead of depending on it to ensure
it is always enabled when TI_SCI_PM_DOMAINS is selected.
Since PM_GENERIC_DOMAINS is an implicit symbol, it can only be enabled
through 'select' and cannot be explicitly enabled in configuration.
This simplifies the dependency chain and prevents build issues

Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
Reviewed-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20250715-depspmdomain-v2-1-6f0eda3ce824@baylibre.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Guillaume La Roque and committed by
Ulf Hansson
fcddcb7e 73254f49

+1 -1
+1 -1
drivers/pmdomain/ti/Kconfig
··· 10 10 config TI_SCI_PM_DOMAINS 11 11 tristate "TI SCI PM Domains Driver" 12 12 depends on TI_SCI_PROTOCOL 13 - depends on PM_GENERIC_DOMAINS 13 + select PM_GENERIC_DOMAINS if PM 14 14 help 15 15 Generic power domain implementation for TI device implementing 16 16 the TI SCI protocol.