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