# SPDX-License-Identifier: GPL-2.0

config PMU_RTC_READCOUNT
    bool "Set the interface pmu_rtc_readcount exposed"
    default n
    help
          If you say yes here, the system time (wall clock) will be set using
          the value read from a specified RTC device. This is useful to avoid
          unnecessary fsck runs at boot time, and to network better.

config RTC_DRV_PMIC_SPMI
	tristate "PMIC RTC SPMI"
	depends on SPMI_PLATFORM
	help
	  If you say yes here you get support for PMIC
	  RTC functions. If an interrupt is associated with the device,
	  the alarm functionality is supported.

	  This driver can also be built as a module. If so, the module
	  will be called rtc-pmic-spmi.

config RTC_LOG
	tristate "PMIC RTC LOG"
	depends on RTC_DRV_PMIC_SPMI
	help
	  add logs.

config RTC_V500
	tristate "RTC V500"
	depends on RTC_DRV_PMIC_SPMI
	help
	  rtc v500 driver.

config RTC_SECURE_FEATURE
	tristate "PMIC RTC SECURE FEATURE"
	depends on RTC_DRV_PMIC_SPMI
	help
	  pmu rtc secure feature.

config RTC_DISABLE_POWEROFF_ALARM
	tristate "DISABLE POWEROFF ALARM"
	depends on RTC_DRV_PMIC_SPMI
	help
	  pmu rtc poweroff alarm feature.

config RTC_TEST
        tristate "PMIC RTC TEST FEATURE"
        depends on RTC_DRV_PMIC_SPMI
        help
          pmu rtc test feature

config VM_TIME_SYNC
	tristate "rtc virtual access"
	help
	  If you say yes here, You can synchronize time .
	  from the non-rda domain to the rda domain.

config PLATFORM_RTC
	tristate "platform rtc for non-rda"
	help
	  add platform device non-rda RTC for CDC.
