forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/drivers/soc/amlogic/Kconfig
....@@ -1,8 +1,25 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 menu "Amlogic SoC drivers"
3
+
4
+config 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
+
11
+config 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.
219
320 config MESON_GX_SOCINFO
421 bool "Amlogic Meson GX SoC Information driver"
5
- depends on ARCH_MESON || COMPILE_TEST
22
+ depends on (ARM64 && ARCH_MESON) || COMPILE_TEST
623 default ARCH_MESON
724 select SOC_BUS
825 help
....@@ -10,7 +27,7 @@
1027 information about the type, package and version.
1128
1229 config MESON_GX_PM_DOMAINS
13
- bool "Amlogic Meson GX Power Domains driver"
30
+ tristate "Amlogic Meson GX Power Domains driver"
1431 depends on ARCH_MESON || COMPILE_TEST
1532 depends on PM && OF
1633 default ARCH_MESON
....@@ -20,9 +37,33 @@
2037 Say yes to expose Amlogic Meson GX Power Domains as
2138 Generic Power Domains.
2239
40
+config 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
+
51
+config 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
+
2364 config MESON_MX_SOCINFO
2465 bool "Amlogic Meson MX SoC Information driver"
25
- depends on ARCH_MESON || COMPILE_TEST
66
+ depends on (ARM && ARCH_MESON) || COMPILE_TEST
2667 default ARCH_MESON
2768 select SOC_BUS
2869 help