^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) if ARCH_ROCKCHIP || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) source "drivers/soc/rockchip/Kconfig.cpu"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) # Rockchip Android Features
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) config NO_GKI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) bool "Disable Android GKI support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) default y if !GKI_HACKS_TO_FIX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Say y here to disable Android GKI support. Then
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) all the ABI compatibilities are not applicable.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) If unsure, say Y.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) # Rockchip Soc drivers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) config ROCKCHIP_AMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) tristate "Rockchip AMP support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Say y here to enable Rockchip AMP support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) This option protects resources used by AMP.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) config ROCKCHIP_CPUINFO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) tristate "Rockchip cpuinfo support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) depends on (ROCKCHIP_EFUSE || ROCKCHIP_OTP) && (ARM64 || ARM)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) Say y here to enable Rockchip cpuinfo support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Set system_serial_low/high from eFuse ID.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) Serial can read from /proc/cpuinfo.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) config ROCKCHIP_GRF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) tristate "Rockchip General Register Files support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) The General Register Files are a central component providing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) special additional settings registers for a lot of soc-components.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) In a lot of cases there also need to be default settings initialized
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) to make some of them conform to expectations of the kernel.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) config ROCKCHIP_HW_DECOMPRESS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) bool "Rockchip HardWare Decompress Support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) This driver support Decompress IP built-in Rockchip SoC, support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) LZ4, GZIP, ZLIB.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) config ROCKCHIP_HW_DECOMPRESS_USER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) tristate "Rockchip HardWare Decompress User Interface Support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) default n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) select ROCKCHIP_HW_DECOMPRESS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) This driver support user invokes the Decompress IP built-in Rockchip SoC, support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) LZ4, GZIP, ZLIB.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) config ROCKCHIP_IODOMAIN
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) tristate "Rockchip IO domain support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) Say y here to enable support io domains on Rockchip SoCs. It is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) necessary for the io domain setting of the SoC to match the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) voltage supplied by the regulators.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) config ROCKCHIP_IOMUX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) tristate "Rockchip IOMUX ioctl support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) depends on PINCTRL_ROCKCHIP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) This is the debug option for rockchip pinctrl driver by add a device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) /dev/iomux to set or get iomux.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) config ROCKCHIP_IPA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) tristate "Rockchip IPA support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) depends on THERMAL && OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) Say y here to enable rockchip IPA.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) Add a simple power model for ipa to calculate static power and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) dynamic power.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) config ROCKCHIP_OPP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) tristate "Rockchip OPP select support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) depends on PM_DEVFREQ
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) Say y here to enable rockchip OPP support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) config ROCKCHIP_OPTIMIZE_RT_PRIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) bool "Rockchip optimize prio for kernel RT thread and kworker"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) depends on NO_GKI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) In some cases, there are too much userspace high priority RT threads, which
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) cause kernel RT threads or kworkers block too long time. This config separate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) kernel and userspace RT threads into two priority regions, priority 0~49 for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) kernel and priority 50~99 for userspace, so that kernel RT threads is always
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) higher priority than userspace. This config also set RT policy for kworkers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) config ROCKCHIP_PERFORMANCE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) bool "Rockchip performance configuration support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) depends on NO_GKI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) This config aims to support different requests between power consumption
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) and performance.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) config ROCKCHIP_PERFORMANCE_LEVEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) int "Rockchip performance default level"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) depends on ROCKCHIP_PERFORMANCE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) range 0 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) default 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) Select default performance level:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) 0 for low-performance (powersave),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) 1 for normal performance,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) 2 for high-performance.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) This can also be changed at runtime (via the level module parameter).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) config ROCKCHIP_PM_DOMAINS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) tristate "Rockchip generic power domain"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) depends on PM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) select PM_GENERIC_DOMAINS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) Say y here to enable power domain support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) In order to meet high performance and low power requirements, a power
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) management unit is designed or saving power when RK3288 in low power
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) mode. The RK3288 PMU is dedicated for managing the power of the whole chip.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) config ROCKCHIP_PVTM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) tristate "Rockchip PVTM support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) Say y here to enable pvtm support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) The Process-Voltage-Temperature Monitor (PVTM) is used to monitor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) the chip performance variance caused by chip process, voltage and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) temperature.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) config ROCKCHIP_RAMDISK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) bool "Rockchip RAM disk support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) Saying Y here will allow you to use reserved RAM memory as a block
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) config ROCKCHIP_SUSPEND_MODE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) tristate "Rockchip suspend mode config"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) depends on ROCKCHIP_SIP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) Say Y here if you want to set the suspend mode to the ATF.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) config ROCKCHIP_SYSTEM_MONITOR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) tristate "Rockchip system monitor support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) Say y here to enable rockchip system monitor support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) config ROCKCHIP_VENDOR_STORAGE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) tristate "Rockchip vendor storage support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) Say y here to enable rockchip vendor storage support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) config ROCKCHIP_MMC_VENDOR_STORAGE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) tristate "Rockchip mmc vendor storage support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) depends on ROCKCHIP_VENDOR_STORAGE && MMC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) Say y here to enable rockchip mmc vendor storage support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) config ROCKCHIP_FLASH_VENDOR_STORAGE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) tristate "Rockchip flash vendor storage support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) depends on ROCKCHIP_VENDOR_STORAGE && RK_FLASH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) Say y here to enable rockchip flash vendor storage support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) config ROCKCHIP_MTD_VENDOR_STORAGE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) tristate "Rockchip mtd vendor storage support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) depends on ROCKCHIP_VENDOR_STORAGE && MTD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) Say y here to enable rockchip mtd vendor storage support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) config ROCKCHIP_VENDOR_STORAGE_UPDATE_LOADER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) bool "Rockchip vendor storage update loader support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) default n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) Say y here to enable rockchip vendor storage update loader support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) The /dev/vendor_storage must set root user access only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) config ROCKCHIP_FIQ_DEBUGGER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) tristate "Rockchip FIQ Debugger"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) depends on FIQ_DEBUGGER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) default FIQ_DEBUGGER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) Say y here to enable Rockchip FIQ Debugger platform driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) config ROCKCHIP_DEBUG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) tristate "Rockchip DEBUG"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) Print dbgpcsr for every cpu when panic.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) config ROCKCHIP_MINI_KERNEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) bool "Rockchip Mini Kernel support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) select NO_GKI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) default y if CPU_RV1106 || CPU_RV1126
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) Say y here to enable Rockchip mini kernel support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) This option make the kernel size smaller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) config ROCKCHIP_THUNDER_BOOT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) bool "Rockchip Thunder Boot support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) depends on NO_GKI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) Say y here to enable Rockchip thunder boot support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) This option make the kernel boot faster.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) config ROCKCHIP_THUNDER_BOOT_MMC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) bool "Rockchip Thunder Boot from MMC"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) depends on ROCKCHIP_THUNDER_BOOT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) Say y if boot from MMC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) config ROCKCHIP_THUNDER_BOOT_SFC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) bool "Rockchip Thunder Boot from SFC"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) depends on ROCKCHIP_THUNDER_BOOT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) Say y if boot from SPI Flash from SFC controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) config ROCKCHIP_THUNDER_BOOT_SERVICE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) bool "Rockchip Thunder Boot Service"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) depends on ROCKCHIP_THUNDER_BOOT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) depends on MAILBOX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) Say y if MCU need to notify AP.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238) config ROCKCHIP_NPOR_POWERGOOD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) bool "Rockchip NPOR Powergood"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241) Say y if SOC integrate ROCKCHIP NPOR Powergood.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) # Rockchip Procfs drivers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247) config RK_CMA_PROCFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248) tristate "CMA procfs interface"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249) depends on CMA && PROC_FS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251) Turns on the ProcFS interface for CMA, shows the bitmap in hex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252) format.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254) config RK_DMABUF_PROCFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255) tristate "DMABUF procfs support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256) depends on DMA_SHARED_BUFFER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257) depends on PROC_FS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 258) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 259) Turns on this to create a procfs debug interface for dma-buf, support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 260) get information from db_list by get_each_dmabuf.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 261)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 262) If unsure, say "N".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 263)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 264) config RK_MEMBLOCK_PROCFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 265) bool "Memblock procfs for reserved memory"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 266) depends on PROC_FS && ARCH_KEEP_MEMBLOCK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 267) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 268) Extend memblock procfs to show size of each memblock, and shows the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 269) result of total size by KiB format.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 270)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 271) endif