18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ciif ARCH_ROCKCHIP || COMPILE_TEST
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci# Rockchip Soc drivers
68c2ecf20Sopenharmony_ci#
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ciconfig ROCKCHIP_GRF
98c2ecf20Sopenharmony_ci	bool "Rockchip General Register Files support" if COMPILE_TEST
108c2ecf20Sopenharmony_ci	default y if ARCH_ROCKCHIP
118c2ecf20Sopenharmony_ci	help
128c2ecf20Sopenharmony_ci	  The General Register Files are a central component providing
138c2ecf20Sopenharmony_ci	  special additional settings registers for a lot of soc-components.
148c2ecf20Sopenharmony_ci	  In a lot of cases there also need to be default settings initialized
158c2ecf20Sopenharmony_ci	  to make some of them conform to expectations of the kernel.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciconfig ROCKCHIP_IODOMAIN
188c2ecf20Sopenharmony_ci	tristate "Rockchip IO domain support"
198c2ecf20Sopenharmony_ci	depends on OF
208c2ecf20Sopenharmony_ci	help
218c2ecf20Sopenharmony_ci	  Say y here to enable support io domains on Rockchip SoCs. It is
228c2ecf20Sopenharmony_ci	  necessary for the io domain setting of the SoC to match the
238c2ecf20Sopenharmony_ci	  voltage supplied by the regulators.
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciconfig ROCKCHIP_PM_DOMAINS
268c2ecf20Sopenharmony_ci        bool "Rockchip generic power domain"
278c2ecf20Sopenharmony_ci        depends on PM
288c2ecf20Sopenharmony_ci        select PM_GENERIC_DOMAINS
298c2ecf20Sopenharmony_ci        help
308c2ecf20Sopenharmony_ci          Say y here to enable power domain support.
318c2ecf20Sopenharmony_ci          In order to meet high performance and low power requirements, a power
328c2ecf20Sopenharmony_ci          management unit is designed or saving power when RK3288 in low power
338c2ecf20Sopenharmony_ci          mode. The RK3288 PMU is dedicated for managing the power of the whole chip.
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci          If unsure, say N.
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ciendif
38