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" 1344d8047fSTodd 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 23*3ad20fe3SChristian Braunerconfig ANDROID_BINDERFS 24*3ad20fe3SChristian Brauner bool "Android Binderfs filesystem" 25*3ad20fe3SChristian Brauner depends on ANDROID_BINDER_IPC 26*3ad20fe3SChristian Brauner default n 27*3ad20fe3SChristian Brauner ---help--- 28*3ad20fe3SChristian Brauner Binderfs is a pseudo-filesystem for the Android Binder IPC driver 29*3ad20fe3SChristian Brauner which can be mounted per-ipc namespace allowing to run multiple 30*3ad20fe3SChristian Brauner instances of Android. 31*3ad20fe3SChristian Brauner Each binderfs mount initially only contains a binder-control device. 32*3ad20fe3SChristian Brauner It can be used to dynamically allocate new binder IPC devices via 33*3ad20fe3SChristian Brauner ioctls. 34*3ad20fe3SChristian Brauner 35ac4812c5SMartijn Coenenconfig ANDROID_BINDER_DEVICES 36ac4812c5SMartijn Coenen string "Android Binder devices" 37ac4812c5SMartijn Coenen depends on ANDROID_BINDER_IPC 389e18d0c8SMartijn Coenen default "binder,hwbinder,vndbinder" 39ac4812c5SMartijn Coenen ---help--- 40ac4812c5SMartijn Coenen Default value for the binder.devices parameter. 41ac4812c5SMartijn Coenen 42ac4812c5SMartijn Coenen The binder.devices parameter is a comma-separated list of strings 43ac4812c5SMartijn Coenen that specifies the names of the binder device nodes that will be 44ac4812c5SMartijn Coenen created. Each binder device has its own context manager, and is 45ac4812c5SMartijn Coenen therefore logically separated from the other devices. 46ac4812c5SMartijn Coenen 474175e2b4SSherry Yangconfig ANDROID_BINDER_IPC_SELFTEST 484175e2b4SSherry Yang bool "Android Binder IPC Driver Selftest" 494175e2b4SSherry Yang depends on ANDROID_BINDER_IPC 504175e2b4SSherry Yang ---help--- 514175e2b4SSherry Yang This feature allows binder selftest to run. 524175e2b4SSherry Yang 534175e2b4SSherry Yang Binder selftest checks the allocation and free of binder buffers 544175e2b4SSherry Yang exhaustively with combinations of various buffer sizes and 554175e2b4SSherry Yang alignments. 564175e2b4SSherry Yang 57777783e0SGreg Kroah-Hartmanendif # if ANDROID 58777783e0SGreg Kroah-Hartman 59777783e0SGreg Kroah-Hartmanendmenu 60