xref: /openbmc/linux/drivers/soc/sunxi/Kconfig (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
24af34b57SMaxime Ripard#
34af34b57SMaxime Ripard# Allwinner sunXi SoC drivers
44af34b57SMaxime Ripard#
5b4bdc4fbSMaxime Ripard
6b4bdc4fbSMaxime Ripardconfig SUNXI_MBUS
7b4bdc4fbSMaxime Ripard	bool
8b4bdc4fbSMaxime Ripard	default ARCH_SUNXI
9db1bfbd6SSamuel Holland	depends on ARM || ARM64
10b4bdc4fbSMaxime Ripard	help
11b4bdc4fbSMaxime Ripard	  Say y to enable the fixups needed to support the Allwinner
12b4bdc4fbSMaxime Ripard	  MBUS DMA quirks.
13b4bdc4fbSMaxime Ripard
144af34b57SMaxime Ripardconfig SUNXI_SRAM
154af34b57SMaxime Ripard	bool
164af34b57SMaxime Ripard	default ARCH_SUNXI
17a84014e1SSamuel Holland	select REGMAP_MMIO
184af34b57SMaxime Ripard	help
194af34b57SMaxime Ripard	  Say y here to enable the SRAM controller support. This
204af34b57SMaxime Ripard	  device is responsible on mapping the SRAM in the sunXi SoCs
214af34b57SMaxime Ripard	  whether to the CPU/DMA, or to the devices.
220e30ca5aSSamuel Holland
230e30ca5aSSamuel Hollandconfig SUN20I_PPU
240e30ca5aSSamuel Holland	bool "Allwinner D1 PPU power domain driver"
250e30ca5aSSamuel Holland	depends on ARCH_SUNXI || COMPILE_TEST
26*4a54ecf3SRandy Dunlap	depends on PM
270e30ca5aSSamuel Holland	select PM_GENERIC_DOMAINS
280e30ca5aSSamuel Holland	help
290e30ca5aSSamuel Holland	  Say y to enable the PPU power domain driver. This saves power
300e30ca5aSSamuel Holland	  when certain peripherals, such as the video engine, are idle.
31