1*4882a593Smuzhiyunconfig INPUT 2*4882a593Smuzhiyun bool "Enable input subsystem" 3*4882a593Smuzhiyun depends on DM 4*4882a593Smuzhiyun default y 5*4882a593Smuzhiyun 6*4882a593Smuzhiyunconfig SPL_INPUT 7*4882a593Smuzhiyun bool "Enable input subsystem for SPL" 8*4882a593Smuzhiyun depends on SPL_DM 9*4882a593Smuzhiyun 10*4882a593Smuzhiyunconfig TPL_INPUT 11*4882a593Smuzhiyun bool "Enable input subsystem for TPL" 12*4882a593Smuzhiyun depends on TPL_DM 13*4882a593Smuzhiyun 14*4882a593Smuzhiyunconfig DM_KEYBOARD 15*4882a593Smuzhiyun bool "Enable driver model keyboard support" 16*4882a593Smuzhiyun depends on DM 17*4882a593Smuzhiyun help 18*4882a593Smuzhiyun This adds a uclass for keyboards and implements keyboard support 19*4882a593Smuzhiyun using driver model. The API is implemented by keyboard.h and 20*4882a593Smuzhiyun includes methods to start/stop the device, check for available 21*4882a593Smuzhiyun input and update LEDs if the keyboard has them. 22*4882a593Smuzhiyun 23*4882a593Smuzhiyunconfig DM_KEY 24*4882a593Smuzhiyun bool "Enable driver model key support" 25*4882a593Smuzhiyun depends on DM 26*4882a593Smuzhiyun help 27*4882a593Smuzhiyun This adds a simple uclass for key. 28*4882a593Smuzhiyun 29*4882a593Smuzhiyunconfig DM_RC 30*4882a593Smuzhiyun bool "Enable driver model Remote Controller support" 31*4882a593Smuzhiyun depends on DM 32*4882a593Smuzhiyun help 33*4882a593Smuzhiyun This adds a uclass for Remote Controllers. This is needed 34*4882a593Smuzhiyun in order to support standalone IR receivers. 35*4882a593Smuzhiyun 36*4882a593Smuzhiyunconfig RK_IR 37*4882a593Smuzhiyun bool "Enable rk ir support" 38*4882a593Smuzhiyun depends on DM_RC 39*4882a593Smuzhiyun select BITREVERSE 40*4882a593Smuzhiyun help 41*4882a593Smuzhiyun This adds a driver for the rockchip IR controller. 42*4882a593Smuzhiyun 43*4882a593Smuzhiyunconfig SPL_DM_KEYBOARD 44*4882a593Smuzhiyun bool "Enable driver model keyboard support" 45*4882a593Smuzhiyun depends on SPL_DM 46*4882a593Smuzhiyun help 47*4882a593Smuzhiyun This adds a uclass for keyboards and implements keyboard support 48*4882a593Smuzhiyun using driver model. The API is implemented by keyboard.h and 49*4882a593Smuzhiyun includes methods to start/stop the device, check for available 50*4882a593Smuzhiyun input and update LEDs if the keyboard has them. 51*4882a593Smuzhiyun 52*4882a593Smuzhiyunconfig TPL_DM_KEYBOARD 53*4882a593Smuzhiyun bool "Enable driver model keyboard support" 54*4882a593Smuzhiyun depends on TPL_DM 55*4882a593Smuzhiyun help 56*4882a593Smuzhiyun This adds a uclass for keyboards and implements keyboard support 57*4882a593Smuzhiyun using driver model. The API is implemented by keyboard.h and 58*4882a593Smuzhiyun includes methods to start/stop the device, check for available 59*4882a593Smuzhiyun input and update LEDs if the keyboard has them. 60*4882a593Smuzhiyun 61*4882a593Smuzhiyunconfig CROS_EC_KEYB 62*4882a593Smuzhiyun bool "Enable Chrome OS EC keyboard support" 63*4882a593Smuzhiyun depends on INPUT 64*4882a593Smuzhiyun help 65*4882a593Smuzhiyun Most ARM Chromebooks use an EC to provide access to the keyboard. 66*4882a593Smuzhiyun Messages are used to request key scans from the EC and these are 67*4882a593Smuzhiyun then decoded into keys by this driver. 68*4882a593Smuzhiyun 69*4882a593Smuzhiyunconfig SPL_CROS_EC_KEYB 70*4882a593Smuzhiyun bool "Enable Chrome OS EC keyboard support in SPL" 71*4882a593Smuzhiyun depends on SPL_INPUT 72*4882a593Smuzhiyun help 73*4882a593Smuzhiyun Most ARM Chromebooks use an EC to provide access to the keyboard. 74*4882a593Smuzhiyun Messages are used to request key scans from the EC and these are 75*4882a593Smuzhiyun then decoded into keys by this driver. 76*4882a593Smuzhiyun 77*4882a593Smuzhiyunconfig TPL_CROS_EC_KEYB 78*4882a593Smuzhiyun bool "Enable Chrome OS EC keyboard support in TPL" 79*4882a593Smuzhiyun depends on TPL_INPUT 80*4882a593Smuzhiyun help 81*4882a593Smuzhiyun Most ARM Chromebooks use an EC to provide access to the keyboard. 82*4882a593Smuzhiyun Messages are used to request key scans from the EC and these are 83*4882a593Smuzhiyun then decoded into keys by this driver. 84*4882a593Smuzhiyun 85*4882a593Smuzhiyunconfig I8042_KEYB 86*4882a593Smuzhiyun bool "Enable Intel i8042 keyboard support" 87*4882a593Smuzhiyun depends on DM_KEYBOARD 88*4882a593Smuzhiyun default X86 89*4882a593Smuzhiyun help 90*4882a593Smuzhiyun This adds a driver for the i8042 keyboard controller, allowing the 91*4882a593Smuzhiyun keyboard to be used on devices which support this controller. The 92*4882a593Smuzhiyun driver handles English and German keyboards - set the environment 93*4882a593Smuzhiyun variable 'keymap' to "de" to select German. Keyboard repeat is 94*4882a593Smuzhiyun handled by the keyboard itself. 95*4882a593Smuzhiyun 96*4882a593Smuzhiyunconfig RK8XX_PWRKEY 97*4882a593Smuzhiyun bool "Enable RK805/rk806/816/817 pwrkey support" 98*4882a593Smuzhiyun depends on DM_KEY && (PMIC_RK8XX || PMIC_SPI_RK8XX) && IRQ 99*4882a593Smuzhiyun help 100*4882a593Smuzhiyun This adds a driver for the RK805/816/817 pwrkey support. 101*4882a593Smuzhiyun 102*4882a593Smuzhiyunconfig ADC_KEY 103*4882a593Smuzhiyun bool "Enable adc keys support" 104*4882a593Smuzhiyun depends on DM_KEY 105*4882a593Smuzhiyun help 106*4882a593Smuzhiyun This adds a driver for the adc keys support. 107*4882a593Smuzhiyun 108*4882a593Smuzhiyunconfig SPL_ADC_KEY 109*4882a593Smuzhiyun bool "Enable SPL adc keys support without DM" 110*4882a593Smuzhiyun depends on SPL_INPUT 111*4882a593Smuzhiyun help 112*4882a593Smuzhiyun This adds a driver for the SPL adc keys support 113*4882a593Smuzhiyun 114*4882a593Smuzhiyunconfig GPIO_KEY 115*4882a593Smuzhiyun bool "Enable gpio keys support" 116*4882a593Smuzhiyun depends on DM_KEY 117*4882a593Smuzhiyun help 118*4882a593Smuzhiyun This adds a driver for the gpio keys support. 119*4882a593Smuzhiyun 120*4882a593Smuzhiyunconfig RK_KEY 121*4882a593Smuzhiyun bool "Enable rk keys support" 122*4882a593Smuzhiyun depends on DM_KEY 123*4882a593Smuzhiyun help 124*4882a593Smuzhiyun This adds a driver for the rk keys support. 125*4882a593Smuzhiyun 126*4882a593Smuzhiyunconfig PWRKEY_DNL_TRIGGER_NUM 127*4882a593Smuzhiyun int "Enter download mode by pwrkey trigger count" 128*4882a593Smuzhiyun default 0 129*4882a593Smuzhiyun depends on DM_KEY && IRQ 130*4882a593Smuzhiyun help 131*4882a593Smuzhiyun This support enter download mode by press and release pwrkey for times 132*4882a593Smuzhiyun over the trigger count. The default value 0 means disabled. 133