162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciconfig VIDEO_SUN8I_ROTATE
462306a36Sopenharmony_ci	tristate "Allwinner DE2 rotation driver"
562306a36Sopenharmony_ci	depends on V4L_MEM2MEM_DRIVERS
662306a36Sopenharmony_ci	depends on VIDEO_DEV
762306a36Sopenharmony_ci	depends on ARCH_SUNXI || COMPILE_TEST
862306a36Sopenharmony_ci	depends on COMMON_CLK && RESET_CONTROLLER && OF
962306a36Sopenharmony_ci	depends on PM
1062306a36Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
1162306a36Sopenharmony_ci	select V4L2_MEM2MEM_DEV
1262306a36Sopenharmony_ci	help
1362306a36Sopenharmony_ci	   Support for the Allwinner DE2 rotation unit.
1462306a36Sopenharmony_ci	   To compile this driver as a module choose m here.
15