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