xref: /openbmc/linux/drivers/soc/rockchip/Kconfig (revision b9d6c47a)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
20cc59891SThierry Redingif ARCH_ROCKCHIP || COMPILE_TEST
30cc59891SThierry Reding
47c696693SCaesar Wang#
57c696693SCaesar Wang# Rockchip Soc drivers
67c696693SCaesar Wang#
74c58063dSHeiko Stuebner
84c58063dSHeiko Stuebnerconfig ROCKCHIP_GRF
92a1c55d4SGeert Uytterhoeven	bool "Rockchip General Register Files support" if COMPILE_TEST
102a1c55d4SGeert Uytterhoeven	default y if ARCH_ROCKCHIP
114c58063dSHeiko Stuebner	help
124c58063dSHeiko Stuebner	  The General Register Files are a central component providing
134c58063dSHeiko Stuebner	  special additional settings registers for a lot of soc-components.
144c58063dSHeiko Stuebner	  In a lot of cases there also need to be default settings initialized
154c58063dSHeiko Stuebner	  to make some of them conform to expectations of the kernel.
164c58063dSHeiko Stuebner
17e943c43bSUlf Hanssonconfig ROCKCHIP_IODOMAIN
18e943c43bSUlf Hansson	tristate "Rockchip IO domain support"
19e943c43bSUlf Hansson	depends on OF
20e943c43bSUlf Hansson	help
21e943c43bSUlf Hansson	  Say y here to enable support io domains on Rockchip SoCs. It is
22e943c43bSUlf Hansson	  necessary for the io domain setting of the SoC to match the
23e943c43bSUlf Hansson	  voltage supplied by the regulators.
24e943c43bSUlf Hansson
257c696693SCaesar Wangconfig ROCKCHIP_PM_DOMAINS
267c696693SCaesar Wang        bool "Rockchip generic power domain"
277c696693SCaesar Wang        depends on PM
287c696693SCaesar Wang        select PM_GENERIC_DOMAINS
297c696693SCaesar Wang        help
307c696693SCaesar Wang          Say y here to enable power domain support.
317c696693SCaesar Wang          In order to meet high performance and low power requirements, a power
327c696693SCaesar Wang          management unit is designed or saving power when RK3288 in low power
337c696693SCaesar Wang          mode. The RK3288 PMU is dedicated for managing the power of the whole chip.
347c696693SCaesar Wang
357c696693SCaesar Wang          If unsure, say N.
360cc59891SThierry Reding
37*b9d6c47aSDaniel Lezcanoconfig ROCKCHIP_DTPM
38*b9d6c47aSDaniel Lezcano	tristate "Rockchip DTPM hierarchy"
39*b9d6c47aSDaniel Lezcano	depends on DTPM && m
40*b9d6c47aSDaniel Lezcano	help
41*b9d6c47aSDaniel Lezcano	 Describe the hierarchy for the Dynamic Thermal Power
42*b9d6c47aSDaniel Lezcano	 Management tree on this platform. That will create all the
43*b9d6c47aSDaniel Lezcano	 power capping capable devices.
44*b9d6c47aSDaniel Lezcano
450cc59891SThierry Redingendif
46