1# SPDX-License-Identifier: GPL-2.0-only 2 3menu "RTC Drivers" 4 depends on AW_BSP 5 6config AW_RTC 7 tristate "RTC Support for Allwinner SoCs" 8 depends on AW_BSP 9 select RTC_CLASS 10 help 11 If you say Y here, you will get support for the RTC found on 12 Allwinner SoCs. 13 14config AW_RTC_REBOOT_FLAG 15 depends on AW_RTC 16 bool "Enable RTC General Registers for Reboot Flag" 17 help 18 Allow reboot app in userspace (such as Android reboot) to save 19 a flag in the RTC General Purpose Register. The flag could be read 20 by u-boot, kernel or user app after rebooting. 21 22config AW_RTC_POWEROFF_ALARM 23 depends on AW_RTC 24 bool "Enable RTC Alarm in Power-Off State" 25 help 26 Support RTC alarm when the system is Powered-Off. 27 28endmenu 29 30