162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ciif ARCH_ROCKCHIP || COMPILE_TEST
362306a36Sopenharmony_ci
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci# Rockchip Soc drivers
662306a36Sopenharmony_ci#
762306a36Sopenharmony_ci
862306a36Sopenharmony_ciconfig ROCKCHIP_GRF
962306a36Sopenharmony_ci	bool "Rockchip General Register Files support" if COMPILE_TEST
1062306a36Sopenharmony_ci	default y if ARCH_ROCKCHIP
1162306a36Sopenharmony_ci	help
1262306a36Sopenharmony_ci	  The General Register Files are a central component providing
1362306a36Sopenharmony_ci	  special additional settings registers for a lot of soc-components.
1462306a36Sopenharmony_ci	  In a lot of cases there also need to be default settings initialized
1562306a36Sopenharmony_ci	  to make some of them conform to expectations of the kernel.
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ciconfig ROCKCHIP_IODOMAIN
1862306a36Sopenharmony_ci	tristate "Rockchip IO domain support"
1962306a36Sopenharmony_ci	depends on OF
2062306a36Sopenharmony_ci	help
2162306a36Sopenharmony_ci	  Say y here to enable support io domains on Rockchip SoCs. It is
2262306a36Sopenharmony_ci	  necessary for the io domain setting of the SoC to match the
2362306a36Sopenharmony_ci	  voltage supplied by the regulators.
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ciconfig ROCKCHIP_PM_DOMAINS
2662306a36Sopenharmony_ci	bool "Rockchip generic power domain"
2762306a36Sopenharmony_ci	depends on PM
2862306a36Sopenharmony_ci	select PM_GENERIC_DOMAINS
2962306a36Sopenharmony_ci	help
3062306a36Sopenharmony_ci	  Say y here to enable power domain support.
3162306a36Sopenharmony_ci	  In order to meet high performance and low power requirements, a power
3262306a36Sopenharmony_ci	  management unit is designed or saving power when RK3288 in low power
3362306a36Sopenharmony_ci	  mode. The RK3288 PMU is dedicated for managing the power of the whole chip.
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ci	  If unsure, say N.
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ciconfig ROCKCHIP_DTPM
3862306a36Sopenharmony_ci	tristate "Rockchip DTPM hierarchy"
3962306a36Sopenharmony_ci	depends on DTPM && m
4062306a36Sopenharmony_ci	help
4162306a36Sopenharmony_ci	  Describe the hierarchy for the Dynamic Thermal Power Management tree
4262306a36Sopenharmony_ci	  on this platform. That will create all the power capping capable
4362306a36Sopenharmony_ci	  devices.
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ciendif
46