162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_cimenu "Amlogic SoC drivers"
362306a36Sopenharmony_ci
462306a36Sopenharmony_ciconfig MESON_CANVAS
562306a36Sopenharmony_ci	tristate "Amlogic Meson Canvas driver"
662306a36Sopenharmony_ci	depends on ARCH_MESON || COMPILE_TEST
762306a36Sopenharmony_ci	default n
862306a36Sopenharmony_ci	help
962306a36Sopenharmony_ci	  Say yes to support the canvas IP for Amlogic SoCs.
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciconfig MESON_CLK_MEASURE
1262306a36Sopenharmony_ci	tristate "Amlogic Meson SoC Clock Measure driver"
1362306a36Sopenharmony_ci	depends on ARCH_MESON || COMPILE_TEST
1462306a36Sopenharmony_ci	default ARCH_MESON
1562306a36Sopenharmony_ci	select REGMAP_MMIO
1662306a36Sopenharmony_ci	help
1762306a36Sopenharmony_ci	  Say yes to support of Measuring a set of internal SoC clocks
1862306a36Sopenharmony_ci	  from the debugfs interface.
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciconfig MESON_GX_SOCINFO
2162306a36Sopenharmony_ci	bool "Amlogic Meson GX SoC Information driver"
2262306a36Sopenharmony_ci	depends on (ARM64 && ARCH_MESON) || COMPILE_TEST
2362306a36Sopenharmony_ci	default ARCH_MESON
2462306a36Sopenharmony_ci	select SOC_BUS
2562306a36Sopenharmony_ci	help
2662306a36Sopenharmony_ci	  Say yes to support decoding of Amlogic Meson GX SoC family
2762306a36Sopenharmony_ci	  information about the type, package and version.
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ciconfig MESON_GX_PM_DOMAINS
3062306a36Sopenharmony_ci	tristate "Amlogic Meson GX Power Domains driver"
3162306a36Sopenharmony_ci	depends on ARCH_MESON || COMPILE_TEST
3262306a36Sopenharmony_ci	depends on PM && OF
3362306a36Sopenharmony_ci	default ARCH_MESON
3462306a36Sopenharmony_ci	select PM_GENERIC_DOMAINS
3562306a36Sopenharmony_ci	select PM_GENERIC_DOMAINS_OF
3662306a36Sopenharmony_ci	help
3762306a36Sopenharmony_ci	  Say yes to expose Amlogic Meson GX Power Domains as
3862306a36Sopenharmony_ci	  Generic Power Domains.
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_ciconfig MESON_EE_PM_DOMAINS
4162306a36Sopenharmony_ci	tristate "Amlogic Meson Everything-Else Power Domains driver"
4262306a36Sopenharmony_ci	depends on ARCH_MESON || COMPILE_TEST
4362306a36Sopenharmony_ci	depends on PM && OF
4462306a36Sopenharmony_ci	default ARCH_MESON
4562306a36Sopenharmony_ci	select PM_GENERIC_DOMAINS
4662306a36Sopenharmony_ci	select PM_GENERIC_DOMAINS_OF
4762306a36Sopenharmony_ci	help
4862306a36Sopenharmony_ci	  Say yes to expose Amlogic Meson Everything-Else Power Domains as
4962306a36Sopenharmony_ci	  Generic Power Domains.
5062306a36Sopenharmony_ci
5162306a36Sopenharmony_ciconfig MESON_SECURE_PM_DOMAINS
5262306a36Sopenharmony_ci	tristate "Amlogic Meson Secure Power Domains driver"
5362306a36Sopenharmony_ci	depends on (ARCH_MESON || COMPILE_TEST) && MESON_SM
5462306a36Sopenharmony_ci	depends on PM && OF
5562306a36Sopenharmony_ci	depends on HAVE_ARM_SMCCC
5662306a36Sopenharmony_ci	default ARCH_MESON
5762306a36Sopenharmony_ci	select PM_GENERIC_DOMAINS
5862306a36Sopenharmony_ci	select PM_GENERIC_DOMAINS_OF
5962306a36Sopenharmony_ci	help
6062306a36Sopenharmony_ci	  Support for the power controller on Amlogic A1/C1 series.
6162306a36Sopenharmony_ci	  Say yes to expose Amlogic Meson Secure Power Domains as Generic
6262306a36Sopenharmony_ci	  Power Domains.
6362306a36Sopenharmony_ci
6462306a36Sopenharmony_ciconfig MESON_MX_SOCINFO
6562306a36Sopenharmony_ci	bool "Amlogic Meson MX SoC Information driver"
6662306a36Sopenharmony_ci	depends on (ARM && ARCH_MESON) || COMPILE_TEST
6762306a36Sopenharmony_ci	default ARCH_MESON
6862306a36Sopenharmony_ci	select SOC_BUS
6962306a36Sopenharmony_ci	help
7062306a36Sopenharmony_ci	  Say yes to support decoding of Amlogic Meson6, Meson8,
7162306a36Sopenharmony_ci	  Meson8b and Meson8m2 SoC family information about the type
7262306a36Sopenharmony_ci	  and version.
7362306a36Sopenharmony_ci
7462306a36Sopenharmony_ciendmenu
75