xref: /openbmc/linux/drivers/android/Kconfig (revision 44d8047f1d87adc2fd7eccc88533794f6d88c15e)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2777783e0SGreg Kroah-Hartmanmenu "Android"
3777783e0SGreg Kroah-Hartman
4777783e0SGreg Kroah-Hartmanconfig ANDROID
5777783e0SGreg Kroah-Hartman	bool "Android Drivers"
6777783e0SGreg Kroah-Hartman	---help---
7777783e0SGreg Kroah-Hartman	  Enable support for various drivers needed on the Android platform
8777783e0SGreg Kroah-Hartman
9777783e0SGreg Kroah-Hartmanif ANDROID
10777783e0SGreg Kroah-Hartman
11777783e0SGreg Kroah-Hartmanconfig ANDROID_BINDER_IPC
12777783e0SGreg Kroah-Hartman	bool "Android Binder IPC Driver"
13*44d8047fSTodd Kjos	depends on MMU && !CPU_CACHE_VIVT
14777783e0SGreg Kroah-Hartman	default n
15777783e0SGreg Kroah-Hartman	---help---
16777783e0SGreg Kroah-Hartman	  Binder is used in Android for both communication between processes,
17777783e0SGreg Kroah-Hartman	  and remote method invocation.
18777783e0SGreg Kroah-Hartman
19777783e0SGreg Kroah-Hartman	  This means one Android process can call a method/routine in another
20777783e0SGreg Kroah-Hartman	  Android process, using Binder to identify, invoke and pass arguments
21777783e0SGreg Kroah-Hartman	  between said processes.
22777783e0SGreg Kroah-Hartman
23ac4812c5SMartijn Coenenconfig ANDROID_BINDER_DEVICES
24ac4812c5SMartijn Coenen	string "Android Binder devices"
25ac4812c5SMartijn Coenen	depends on ANDROID_BINDER_IPC
269e18d0c8SMartijn Coenen	default "binder,hwbinder,vndbinder"
27ac4812c5SMartijn Coenen	---help---
28ac4812c5SMartijn Coenen	  Default value for the binder.devices parameter.
29ac4812c5SMartijn Coenen
30ac4812c5SMartijn Coenen	  The binder.devices parameter is a comma-separated list of strings
31ac4812c5SMartijn Coenen	  that specifies the names of the binder device nodes that will be
32ac4812c5SMartijn Coenen	  created. Each binder device has its own context manager, and is
33ac4812c5SMartijn Coenen	  therefore logically separated from the other devices.
34ac4812c5SMartijn Coenen
354175e2b4SSherry Yangconfig ANDROID_BINDER_IPC_SELFTEST
364175e2b4SSherry Yang	bool "Android Binder IPC Driver Selftest"
374175e2b4SSherry Yang	depends on ANDROID_BINDER_IPC
384175e2b4SSherry Yang	---help---
394175e2b4SSherry Yang	  This feature allows binder selftest to run.
404175e2b4SSherry Yang
414175e2b4SSherry Yang	  Binder selftest checks the allocation and free of binder buffers
424175e2b4SSherry Yang	  exhaustively with combinations of various buffer sizes and
434175e2b4SSherry Yang	  alignments.
444175e2b4SSherry Yang
45777783e0SGreg Kroah-Hartmanendif # if ANDROID
46777783e0SGreg Kroah-Hartman
47777783e0SGreg Kroah-Hartmanendmenu
48