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