staging: android-alarm: Reenable android alarm driver
[firefly-linux-kernel-4.4.55.git] / drivers / staging / android / Kconfig
index becf711117efffb56afda428d38ed4dc5428c9df..2a2b3867a65650045e909c9db495892d2784b234 100644 (file)
@@ -105,6 +105,23 @@ config ANDROID_PMEM
 
 source "drivers/staging/android/switch/Kconfig"
 
+config ANDROID_INTF_ALARM
+       bool "Android alarm driver"
+       depends on RTC_CLASS
+       default y
+       help
+         Provides non-wakeup and rtc backed wakeup alarms based on rtc or
+         elapsed realtime, and a non-wakeup alarm on the monotonic clock.
+         Also provides an interface to set the wall time which must be used
+         for elapsed realtime to work.
+
+config ANDROID_INTF_ALARM_DEV
+       bool "Android alarm device"
+       depends on ANDROID_INTF_ALARM
+       default y
+       help
+         Exports the alarm interface to user-space.
+
 endif # if ANDROID
 
 endmenu