^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) menu "Amlogic SoC drivers"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) config MESON_CANVAS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) tristate "Amlogic Meson Canvas driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) depends on ARCH_MESON || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) default n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Say yes to support the canvas IP for Amlogic SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) config MESON_CLK_MEASURE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) tristate "Amlogic Meson SoC Clock Measure driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) depends on ARCH_MESON || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) default ARCH_MESON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) select REGMAP_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Say yes to support of Measuring a set of internal SoC clocks
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) from the debugfs interface.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) config MESON_GX_SOCINFO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) bool "Amlogic Meson GX SoC Information driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) depends on (ARM64 && ARCH_MESON) || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) default ARCH_MESON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) select SOC_BUS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Say yes to support decoding of Amlogic Meson GX SoC family
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) information about the type, package and version.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) config MESON_GX_PM_DOMAINS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) tristate "Amlogic Meson GX Power Domains driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) depends on ARCH_MESON || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) depends on PM && OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) default ARCH_MESON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) select PM_GENERIC_DOMAINS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) select PM_GENERIC_DOMAINS_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) Say yes to expose Amlogic Meson GX Power Domains as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) Generic Power Domains.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) config MESON_EE_PM_DOMAINS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) tristate "Amlogic Meson Everything-Else Power Domains driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) depends on ARCH_MESON || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) depends on PM && OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) default ARCH_MESON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) select PM_GENERIC_DOMAINS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) select PM_GENERIC_DOMAINS_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) Say yes to expose Amlogic Meson Everything-Else Power Domains as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) Generic Power Domains.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) config MESON_SECURE_PM_DOMAINS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) tristate "Amlogic Meson Secure Power Domains driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) depends on (ARCH_MESON || COMPILE_TEST) && MESON_SM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) depends on PM && OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) depends on HAVE_ARM_SMCCC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) default ARCH_MESON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) select PM_GENERIC_DOMAINS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) select PM_GENERIC_DOMAINS_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) Support for the power controller on Amlogic A1/C1 series.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) Say yes to expose Amlogic Meson Secure Power Domains as Generic
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) Power Domains.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) config MESON_MX_SOCINFO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) bool "Amlogic Meson MX SoC Information driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) depends on (ARM && ARCH_MESON) || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) default ARCH_MESON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) select SOC_BUS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) Say yes to support decoding of Amlogic Meson6, Meson8,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) Meson8b and Meson8m2 SoC family information about the type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) and version.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) endmenu