a817875bbf850bb2044b40f302ac6cf5ae9007f0
[firefly-linux-kernel-4.4.55.git] / drivers / staging / android / Kconfig
1 menu "Android"
2
3 config ANDROID
4         bool "Android Drivers"
5         default N
6         ---help---
7           Enable support for various drivers needed on the Android platform
8
9 if ANDROID
10
11 config ASHMEM
12         bool "Enable the Anonymous Shared Memory Subsystem"
13         default n
14         depends on SHMEM
15         ---help---
16           The ashmem subsystem is a new shared memory allocator, similar to
17           POSIX SHM but with different behavior and sporting a simpler
18           file-based API.
19
20           It is, in theory, a good memory allocator for low-memory devices,
21           because it can discard shared memory units when under memory pressure.
22
23 config ANDROID_LOGGER
24         tristate "Android log driver"
25         default n
26         ---help---
27           This adds support for system-wide logging using four log buffers.
28
29           These are:
30
31               1: main
32               2: events
33               3: radio
34               4: system
35
36           Log reading and writing is performed via normal Linux reads and
37           optimized writes. This optimization avoids logging having too
38           much overhead in the system.
39
40 config ANDROID_TIMED_OUTPUT
41         bool "Timed output class driver"
42         default y
43
44 config ANDROID_TIMED_GPIO
45         tristate "Android timed gpio driver"
46         depends on GPIOLIB && ANDROID_TIMED_OUTPUT
47         default n
48
49 config ANDROID_LOW_MEMORY_KILLER
50         bool "Android Low Memory Killer"
51         default N
52         ---help---
53           Registers processes to be killed when memory is low
54
55 config ANDROID_LOW_MEMORY_KILLER_AUTODETECT_OOM_ADJ_VALUES
56         bool "Android Low Memory Killer: detect oom_adj values"
57         depends on ANDROID_LOW_MEMORY_KILLER
58         default y
59         ---help---
60           Detect oom_adj values written to
61           /sys/module/lowmemorykiller/parameters/adj and convert them
62           to oom_score_adj values.
63
64 config ANDROID_INTF_ALARM_DEV
65         bool "Android alarm driver"
66         depends on RTC_CLASS
67         default n
68         ---help---
69           Provides non-wakeup and rtc backed wakeup alarms based on rtc or
70           elapsed realtime, and a non-wakeup alarm on the monotonic clock.
71           Also exports the alarm interface to user-space.
72
73 config SYNC
74         bool "Synchronization framework"
75         default n
76         select ANON_INODES
77         help
78           This option enables the framework for synchronization between multiple
79           drivers.  Sync implementations can take advantage of hardware
80           synchronization built into devices like GPUs.
81
82 config SW_SYNC
83         bool "Software synchronization objects"
84         default n
85         depends on SYNC
86         help
87           A sync object driver that uses a 32bit counter to coordinate
88           syncrhronization.  Useful when there is no hardware primitive backing
89           the synchronization.
90
91 config SW_SYNC_USER
92         bool "Userspace API for SW_SYNC"
93         default n
94         depends on SW_SYNC
95         help
96           Provides a user space API to the sw sync object.
97           *WARNING* improper use of this can result in deadlocking kernel
98           drivers from userspace.
99
100 source "drivers/staging/android/ion/Kconfig"
101
102 source "drivers/staging/android/fiq_debugger/Kconfig"
103
104 endif # if ANDROID
105
106 endmenu