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