blob: 1e9ab6dfc90d446f84fdec75891a30683bb13927 [file] [log] [blame]
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +09001menu "Android"
2
3config ANDROID
4 bool "Android Drivers"
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +09005 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"
Chen Gang31507f72013-09-02 17:11:57 +080013 depends on MMU
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +090014 default n
Cruz Julian Bishopd7f97292012-12-22 09:00:46 +100015 ---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.
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +090022
Robert Love11980c22011-12-20 16:49:48 -080023config ASHMEM
24 bool "Enable the Anonymous Shared Memory Subsystem"
25 default n
Paul Bolle2c0fb1c2013-03-14 10:41:39 +010026 depends on SHMEM
Cruz Julian Bishopd7f97292012-12-22 09:00:46 +100027 ---help---
Robert Love11980c22011-12-20 16:49:48 -080028 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
Cruz Julian Bishopd7f97292012-12-22 09:00:46 +100032 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
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +090035config ANDROID_LOGGER
36 tristate "Android log driver"
37 default n
Cruz Julian Bishopd7f97292012-12-22 09:00:46 +100038 ---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.
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +090051
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +090052config ANDROID_TIMED_OUTPUT
53 bool "Timed output class driver"
54 default y
55
56config ANDROID_TIMED_GPIO
57 tristate "Android timed gpio driver"
Alexandre Courbot76ec9d12013-03-28 04:34:56 -070058 depends on GPIOLIB && ANDROID_TIMED_OUTPUT
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +090059 default n
60
61config ANDROID_LOW_MEMORY_KILLER
62 bool "Android Low Memory Killer"
63 default N
64 ---help---
Cruz Julian Bishopd7f97292012-12-22 09:00:46 +100065 Registers processes to be killed when memory is low
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +090066
John Stultzef2353d2012-04-20 12:31:47 -070067config ANDROID_INTF_ALARM_DEV
John Stultzfe8d2722012-02-09 14:24:36 -080068 bool "Android alarm driver"
69 depends on RTC_CLASS
Praneeth Kumar Bajjuri58a38ff2012-02-09 14:24:37 -080070 default n
Cruz Julian Bishopd7f97292012-12-22 09:00:46 +100071 ---help---
John Stultzfe8d2722012-02-09 14:24:36 -080072 Provides non-wakeup and rtc backed wakeup alarms based on rtc or
73 elapsed realtime, and a non-wakeup alarm on the monotonic clock.
John Stultzef2353d2012-04-20 12:31:47 -070074 Also exports the alarm interface to user-space.
John Stultzfe8d2722012-02-09 14:24:36 -080075
Erik Gilling7ad530b2013-02-28 16:42:57 -080076config SYNC
77 bool "Synchronization framework"
78 default n
79 select ANON_INODES
Cruz Julian Bishopfb51b502013-09-03 22:05:05 +100080 ---help---
Erik Gilling7ad530b2013-02-28 16:42:57 -080081 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
Erik Gilling9d1906e2013-02-28 16:42:58 -080085config SW_SYNC
86 bool "Software synchronization objects"
87 default n
88 depends on SYNC
Cruz Julian Bishopfb51b502013-09-03 22:05:05 +100089 ---help---
Erik Gilling9d1906e2013-02-28 16:42:58 -080090 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
Cruz Julian Bishopfb51b502013-09-03 22:05:05 +100098 ---help---
Erik Gilling9d1906e2013-02-28 16:42:58 -080099 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
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +0900103endif # if ANDROID
104
105endmenu