mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
![Jianxin Pan](/assets/img/avatar_default.png)
When MESON_SECURE_PM_DOMAINS & !MESON_SM, there will be compile failure:
.../meson-secure-pwrc.o: In function `meson_secure_pwrc_on':
.../meson-secure-pwrc.c:76: undefined reference to `meson_sm_call'
Fix this by adding depends on MESON_SM for MESON_SECURE_PM_DOMAINS.
Fixes: b3dde5013e
("soc: amlogic: Add support for Secure power domains controller")
Reported-by: Stephen Rothwell<sfr@canb.auug.org.au>
Reported-by: patchwork-bot+linux-amlogic<patchwork-bot+linux-amlogic@kernel.org>
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Tested-by: Stephen Rothwell<sfr@canb.auug.org.au>
Link: https://lore.kernel.org/r/1581955933-69832-1-git-send-email-jianxin.pan@amlogic.com
74 lines
2 KiB
Text
74 lines
2 KiB
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
menu "Amlogic SoC drivers"
|
|
|
|
config MESON_CANVAS
|
|
tristate "Amlogic Meson Canvas driver"
|
|
depends on ARCH_MESON || COMPILE_TEST
|
|
default n
|
|
help
|
|
Say yes to support the canvas IP for Amlogic SoCs.
|
|
|
|
config MESON_CLK_MEASURE
|
|
bool "Amlogic Meson SoC Clock Measure driver"
|
|
depends on ARCH_MESON || COMPILE_TEST
|
|
default ARCH_MESON
|
|
select REGMAP_MMIO
|
|
help
|
|
Say yes to support of Measuring a set of internal SoC clocks
|
|
from the debugfs interface.
|
|
|
|
config MESON_GX_SOCINFO
|
|
bool "Amlogic Meson GX SoC Information driver"
|
|
depends on ARCH_MESON || COMPILE_TEST
|
|
default ARCH_MESON
|
|
select SOC_BUS
|
|
help
|
|
Say yes to support decoding of Amlogic Meson GX SoC family
|
|
information about the type, package and version.
|
|
|
|
config MESON_GX_PM_DOMAINS
|
|
bool "Amlogic Meson GX Power Domains driver"
|
|
depends on ARCH_MESON || COMPILE_TEST
|
|
depends on PM && OF
|
|
default ARCH_MESON
|
|
select PM_GENERIC_DOMAINS
|
|
select PM_GENERIC_DOMAINS_OF
|
|
help
|
|
Say yes to expose Amlogic Meson GX Power Domains as
|
|
Generic Power Domains.
|
|
|
|
config MESON_EE_PM_DOMAINS
|
|
bool "Amlogic Meson Everything-Else Power Domains driver"
|
|
depends on ARCH_MESON || COMPILE_TEST
|
|
depends on PM && OF
|
|
default ARCH_MESON
|
|
select PM_GENERIC_DOMAINS
|
|
select PM_GENERIC_DOMAINS_OF
|
|
help
|
|
Say yes to expose Amlogic Meson Everything-Else Power Domains as
|
|
Generic Power Domains.
|
|
|
|
config MESON_SECURE_PM_DOMAINS
|
|
bool "Amlogic Meson Secure Power Domains driver"
|
|
depends on (ARCH_MESON || COMPILE_TEST) && MESON_SM
|
|
depends on PM && OF
|
|
depends on HAVE_ARM_SMCCC
|
|
default ARCH_MESON
|
|
select PM_GENERIC_DOMAINS
|
|
select PM_GENERIC_DOMAINS_OF
|
|
help
|
|
Support for the power controller on Amlogic A1/C1 series.
|
|
Say yes to expose Amlogic Meson Secure Power Domains as Generic
|
|
Power Domains.
|
|
|
|
config MESON_MX_SOCINFO
|
|
bool "Amlogic Meson MX SoC Information driver"
|
|
depends on ARCH_MESON || COMPILE_TEST
|
|
default ARCH_MESON
|
|
select SOC_BUS
|
|
help
|
|
Say yes to support decoding of Amlogic Meson6, Meson8,
|
|
Meson8b and Meson8m2 SoC family information about the type
|
|
and version.
|
|
|
|
endmenu
|