xref: /openbmc/linux/drivers/soc/rockchip/Kconfig (revision 9be1a999)
1# SPDX-License-Identifier: GPL-2.0-only
2if ARCH_ROCKCHIP || COMPILE_TEST
3
4#
5# Rockchip Soc drivers
6#
7
8config ROCKCHIP_GRF
9	bool "Rockchip General Register Files support" if COMPILE_TEST
10	default y if ARCH_ROCKCHIP
11	help
12	  The General Register Files are a central component providing
13	  special additional settings registers for a lot of soc-components.
14	  In a lot of cases there also need to be default settings initialized
15	  to make some of them conform to expectations of the kernel.
16
17config ROCKCHIP_IODOMAIN
18	tristate "Rockchip IO domain support"
19	depends on OF
20	help
21	  Say y here to enable support io domains on Rockchip SoCs. It is
22	  necessary for the io domain setting of the SoC to match the
23	  voltage supplied by the regulators.
24
25config ROCKCHIP_PM_DOMAINS
26	bool "Rockchip generic power domain"
27	depends on PM
28	select PM_GENERIC_DOMAINS
29	help
30	  Say y here to enable power domain support.
31	  In order to meet high performance and low power requirements, a power
32	  management unit is designed or saving power when RK3288 in low power
33	  mode. The RK3288 PMU is dedicated for managing the power of the whole chip.
34
35	  If unsure, say N.
36
37config ROCKCHIP_DTPM
38	tristate "Rockchip DTPM hierarchy"
39	depends on DTPM && m
40	help
41	  Describe the hierarchy for the Dynamic Thermal Power Management tree
42	  on this platform. That will create all the power capping capable
43	  devices.
44
45endif
46