]> git.karo-electronics.de Git - karo-tx-linux.git/blob - drivers/staging/android/Kconfig
Merge branch 'sched-idle-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.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 ANDROID_BINDER_IPC
12         bool "Android Binder IPC Driver"
13         depends on MMU
14         default n
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.
22
23 config ANDROID_BINDER_IPC_32BIT
24         bool
25         depends on !64BIT && ANDROID_BINDER_IPC
26         default y
27         ---help---
28           The Binder API has been changed to support both 32 and 64bit
29           applications in a mixed environment.
30
31           Enable this to support an old 32-bit Android user-space (v4.4 and
32           earlier).
33
34           Note that enabling this will break newer Android user-space.
35
36 config ASHMEM
37         bool "Enable the Anonymous Shared Memory Subsystem"
38         default n
39         depends on SHMEM
40         ---help---
41           The ashmem subsystem is a new shared memory allocator, similar to
42           POSIX SHM but with different behavior and sporting a simpler
43           file-based API.
44
45           It is, in theory, a good memory allocator for low-memory devices,
46           because it can discard shared memory units when under memory pressure.
47
48 config ANDROID_LOGGER
49         tristate "Android log driver"
50         default n
51         ---help---
52           This adds support for system-wide logging using four log buffers.
53
54           These are:
55
56               1: main
57               2: events
58               3: radio
59               4: system
60
61           Log reading and writing is performed via normal Linux reads and
62           optimized writes. This optimization avoids logging having too
63           much overhead in the system.
64
65 config ANDROID_TIMED_OUTPUT
66         bool "Timed output class driver"
67         default y
68
69 config ANDROID_TIMED_GPIO
70         tristate "Android timed gpio driver"
71         depends on GPIOLIB && ANDROID_TIMED_OUTPUT
72         default n
73
74 config ANDROID_LOW_MEMORY_KILLER
75         bool "Android Low Memory Killer"
76         default N
77         ---help---
78           Registers processes to be killed when memory is low
79
80 config ANDROID_INTF_ALARM_DEV
81         bool "Android alarm driver"
82         depends on RTC_CLASS
83         default n
84         ---help---
85           Provides non-wakeup and rtc backed wakeup alarms based on rtc or
86           elapsed realtime, and a non-wakeup alarm on the monotonic clock.
87           Also exports the alarm interface to user-space.
88
89 config SYNC
90         bool "Synchronization framework"
91         default n
92         select ANON_INODES
93         ---help---
94           This option enables the framework for synchronization between multiple
95           drivers.  Sync implementations can take advantage of hardware
96           synchronization built into devices like GPUs.
97
98 config SW_SYNC
99         bool "Software synchronization objects"
100         default n
101         depends on SYNC
102         ---help---
103           A sync object driver that uses a 32bit counter to coordinate
104           syncrhronization.  Useful when there is no hardware primitive backing
105           the synchronization.
106
107 config SW_SYNC_USER
108         bool "Userspace API for SW_SYNC"
109         default n
110         depends on SW_SYNC
111         ---help---
112           Provides a user space API to the sw sync object.
113           *WARNING* improper use of this can result in deadlocking kernel
114           drivers from userspace.
115
116 source "drivers/staging/android/ion/Kconfig"
117
118 endif # if ANDROID
119
120 endmenu