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