162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Allwinner sunXi SoC drivers
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig SUNXI_MBUS
762306a36Sopenharmony_ci	bool
862306a36Sopenharmony_ci	default ARCH_SUNXI
962306a36Sopenharmony_ci	depends on ARM || ARM64
1062306a36Sopenharmony_ci	help
1162306a36Sopenharmony_ci	  Say y to enable the fixups needed to support the Allwinner
1262306a36Sopenharmony_ci	  MBUS DMA quirks.
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciconfig SUNXI_SRAM
1562306a36Sopenharmony_ci	bool
1662306a36Sopenharmony_ci	default ARCH_SUNXI
1762306a36Sopenharmony_ci	select REGMAP_MMIO
1862306a36Sopenharmony_ci	help
1962306a36Sopenharmony_ci	  Say y here to enable the SRAM controller support. This
2062306a36Sopenharmony_ci	  device is responsible on mapping the SRAM in the sunXi SoCs
2162306a36Sopenharmony_ci	  whether to the CPU/DMA, or to the devices.
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ciconfig SUN20I_PPU
2462306a36Sopenharmony_ci	bool "Allwinner D1 PPU power domain driver"
2562306a36Sopenharmony_ci	depends on ARCH_SUNXI || COMPILE_TEST
2662306a36Sopenharmony_ci	depends on PM
2762306a36Sopenharmony_ci	select PM_GENERIC_DOMAINS
2862306a36Sopenharmony_ci	help
2962306a36Sopenharmony_ci	  Say y to enable the PPU power domain driver. This saves power
3062306a36Sopenharmony_ci	  when certain peripherals, such as the video engine, are idle.
31