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