Home
last modified time | relevance | path

Searched refs:keypad (Results 1 – 110 of 110) sorted by relevance

/linux-4.1.27/drivers/input/keyboard/
Dep93xx_keypad.c86 struct ep93xx_keypad *keypad = dev_id; in ep93xx_keypad_irq_handler() local
87 struct input_dev *input_dev = keypad->input_dev; in ep93xx_keypad_irq_handler()
91 status = __raw_readl(keypad->mmio_base + KEY_REG); in ep93xx_keypad_irq_handler()
94 key1 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler()
97 key2 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler()
100 if (keypad->key1 && key1 != keypad->key1 && key2 != keypad->key1) in ep93xx_keypad_irq_handler()
101 input_report_key(input_dev, keypad->key1, 0); in ep93xx_keypad_irq_handler()
103 if (keypad->key2 && key1 != keypad->key2 && key2 != keypad->key2) in ep93xx_keypad_irq_handler()
104 input_report_key(input_dev, keypad->key2, 0); in ep93xx_keypad_irq_handler()
109 keypad->key1 = key1; in ep93xx_keypad_irq_handler()
[all …]
Dimx_keypad.c84 static void imx_keypad_scan_matrix(struct imx_keypad *keypad, in imx_keypad_scan_matrix() argument
91 if ((keypad->cols_en_mask & (1 << col)) == 0) in imx_keypad_scan_matrix()
99 reg_val = readw(keypad->mmio_base + KPDR); in imx_keypad_scan_matrix()
101 writew(reg_val, keypad->mmio_base + KPDR); in imx_keypad_scan_matrix()
103 reg_val = readw(keypad->mmio_base + KPCR); in imx_keypad_scan_matrix()
104 reg_val &= ~((keypad->cols_en_mask & 0xff) << 8); in imx_keypad_scan_matrix()
105 writew(reg_val, keypad->mmio_base + KPCR); in imx_keypad_scan_matrix()
109 reg_val = readw(keypad->mmio_base + KPCR); in imx_keypad_scan_matrix()
110 reg_val |= (keypad->cols_en_mask & 0xff) << 8; in imx_keypad_scan_matrix()
111 writew(reg_val, keypad->mmio_base + KPCR); in imx_keypad_scan_matrix()
[all …]
Dsamsung-keypad.c83 static void samsung_keypad_scan(struct samsung_keypad *keypad, in samsung_keypad_scan() argument
89 for (col = 0; col < keypad->cols; col++) { in samsung_keypad_scan()
90 if (keypad->type == KEYPAD_TYPE_S5PV210) { in samsung_keypad_scan()
98 writel(val, keypad->base + SAMSUNG_KEYIFCOL); in samsung_keypad_scan()
101 val = readl(keypad->base + SAMSUNG_KEYIFROW); in samsung_keypad_scan()
102 row_state[col] = ~val & ((1 << keypad->rows) - 1); in samsung_keypad_scan()
106 writel(0, keypad->base + SAMSUNG_KEYIFCOL); in samsung_keypad_scan()
109 static bool samsung_keypad_report(struct samsung_keypad *keypad, in samsung_keypad_report() argument
112 struct input_dev *input_dev = keypad->input_dev; in samsung_keypad_report()
119 for (col = 0; col < keypad->cols; col++) { in samsung_keypad_report()
[all …]
Dnomadik-ske-keypad.c74 static void ske_keypad_set_bits(struct ske_keypad *keypad, u16 addr, in ske_keypad_set_bits() argument
79 spin_lock(&keypad->ske_keypad_lock); in ske_keypad_set_bits()
81 ret = readl(keypad->reg_base + addr); in ske_keypad_set_bits()
84 writel(ret, keypad->reg_base + addr); in ske_keypad_set_bits()
86 spin_unlock(&keypad->ske_keypad_lock); in ske_keypad_set_bits()
94 static int __init ske_keypad_chip_init(struct ske_keypad *keypad) in ske_keypad_chip_init() argument
97 int timeout = keypad->board->debounce_ms; in ske_keypad_chip_init()
100 while ((readl(keypad->reg_base + SKE_RIS) != 0x00000000) && timeout--) in ske_keypad_chip_init()
111 spin_lock(&keypad->ske_keypad_lock); in ske_keypad_chip_init()
112 value = readl(keypad->reg_base + SKE_DBCR); in ske_keypad_chip_init()
[all …]
Dpxa27x_keypad.c93 #define keypad_readl(off) __raw_readl(keypad->mmio_base + (off))
94 #define keypad_writel(off, v) __raw_writel((v), keypad->mmio_base + (off))
121 static int pxa27x_keypad_matrix_key_parse_dt(struct pxa27x_keypad *keypad, in pxa27x_keypad_matrix_key_parse_dt() argument
124 struct input_dev *input_dev = keypad->input_dev; in pxa27x_keypad_matrix_key_parse_dt()
144 keypad->keycodes, input_dev); in pxa27x_keypad_matrix_key_parse_dt()
151 static int pxa27x_keypad_direct_key_parse_dt(struct pxa27x_keypad *keypad, in pxa27x_keypad_direct_key_parse_dt() argument
154 struct input_dev *input_dev = keypad->input_dev; in pxa27x_keypad_direct_key_parse_dt()
204 keypad->keycodes[MAX_MATRIX_KEY_NUM + i] = code; in pxa27x_keypad_direct_key_parse_dt()
211 static int pxa27x_keypad_rotary_parse_dt(struct pxa27x_keypad *keypad, in pxa27x_keypad_rotary_parse_dt() argument
220 struct input_dev *input_dev = keypad->input_dev; in pxa27x_keypad_rotary_parse_dt()
[all …]
Dnspire-keypad.c55 struct nspire_keypad *keypad = dev_id; in nspire_keypad_irq() local
56 struct input_dev *input = keypad->input; in nspire_keypad_irq()
64 int_sts = readl(keypad->reg_base + KEYPAD_INT) & keypad->int_mask; in nspire_keypad_irq()
68 memcpy_fromio(state, keypad->reg_base + KEYPAD_DATA, sizeof(state)); in nspire_keypad_irq()
72 if (keypad->active_low) in nspire_keypad_irq()
75 changed = bits ^ keypad->state[row]; in nspire_keypad_irq()
79 keypad->state[row] = bits; in nspire_keypad_irq()
85 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in nspire_keypad_irq()
94 writel(0x3, keypad->reg_base + KEYPAD_INT); in nspire_keypad_irq()
99 static int nspire_keypad_chip_init(struct nspire_keypad *keypad) in nspire_keypad_chip_init() argument
[all …]
Dmatrix_keypad.c87 static void enable_row_irqs(struct matrix_keypad *keypad) in enable_row_irqs() argument
89 const struct matrix_keypad_platform_data *pdata = keypad->pdata; in enable_row_irqs()
100 static void disable_row_irqs(struct matrix_keypad *keypad) in disable_row_irqs() argument
102 const struct matrix_keypad_platform_data *pdata = keypad->pdata; in disable_row_irqs()
118 struct matrix_keypad *keypad = in matrix_keypad_scan() local
120 struct input_dev *input_dev = keypad->input_dev; in matrix_keypad_scan()
122 const struct matrix_keypad_platform_data *pdata = keypad->pdata; in matrix_keypad_scan()
146 bits_changed = keypad->last_key_state[col] ^ new_state[col]; in matrix_keypad_scan()
154 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in matrix_keypad_scan()
163 memcpy(keypad->last_key_state, new_state, sizeof(new_state)); in matrix_keypad_scan()
[all …]
Dw90p910_keypad.c57 static void w90p910_keypad_scan_matrix(struct w90p910_keypad *keypad, in w90p910_keypad_scan_matrix() argument
60 struct input_dev *input_dev = keypad->input_dev; in w90p910_keypad_scan_matrix()
64 unsigned int key = keypad->keymap[code]; in w90p910_keypad_scan_matrix()
77 struct w90p910_keypad *keypad = dev_id; in w90p910_keypad_irq_handler() local
80 kstatus = __raw_readl(keypad->mmio_base + KPI_STATUS); in w90p910_keypad_irq_handler()
85 w90p910_keypad_scan_matrix(keypad, kstatus); in w90p910_keypad_irq_handler()
92 struct w90p910_keypad *keypad = input_get_drvdata(dev); in w90p910_keypad_open() local
93 const struct w90p910_keypad_platform_data *pdata = keypad->pdata; in w90p910_keypad_open()
97 clk_enable(keypad->clk); in w90p910_keypad_open()
99 val = __raw_readl(keypad->mmio_base + KPI_CONF); in w90p910_keypad_open()
[all …]
Dstmpe-keypad.c132 static int stmpe_keypad_read_data(struct stmpe_keypad *keypad, u8 *data) in stmpe_keypad_read_data() argument
134 const struct stmpe_keypad_variant *variant = keypad->variant; in stmpe_keypad_read_data()
135 struct stmpe *stmpe = keypad->stmpe; in stmpe_keypad_read_data()
156 struct stmpe_keypad *keypad = dev; in stmpe_keypad_irq() local
157 struct input_dev *input = keypad->input; in stmpe_keypad_irq()
158 const struct stmpe_keypad_variant *variant = keypad->variant; in stmpe_keypad_irq()
163 ret = stmpe_keypad_read_data(keypad, fifo); in stmpe_keypad_irq()
179 input_report_key(input, keypad->keymap[code], !up); in stmpe_keypad_irq()
186 static int stmpe_keypad_altfunc_init(struct stmpe_keypad *keypad) in stmpe_keypad_altfunc_init() argument
188 const struct stmpe_keypad_variant *variant = keypad->variant; in stmpe_keypad_altfunc_init()
[all …]
Dst-keyscan.c44 struct st_keyscan *keypad = dev_id; in keyscan_isr() local
45 unsigned short *keycode = keypad->input_dev->keycode; in keyscan_isr()
49 state = readl(keypad->base + KEYSCAN_MATRIX_STATE_OFF) & 0xffff; in keyscan_isr()
50 change = keypad->last_state ^ state; in keyscan_isr()
51 keypad->last_state = state; in keyscan_isr()
54 input_report_key(keypad->input_dev, in keyscan_isr()
57 input_sync(keypad->input_dev); in keyscan_isr()
62 static int keyscan_start(struct st_keyscan *keypad) in keyscan_start() argument
66 error = clk_enable(keypad->clk); in keyscan_start()
70 writel(keypad->debounce_us * (clk_get_rate(keypad->clk) / 1000000), in keyscan_start()
[all …]
Dtc3589x-keypad.c114 static int tc3589x_keypad_init_key_hardware(struct tc_keypad *keypad) in tc3589x_keypad_init_key_hardware() argument
117 struct tc3589x *tc3589x = keypad->tc3589x; in tc3589x_keypad_init_key_hardware()
118 const struct tc3589x_keypad_platform_data *board = keypad->board; in tc3589x_keypad_init_key_hardware()
191 struct tc_keypad *keypad = dev; in tc3589x_keypad_irq() local
192 struct tc3589x *tc3589x = keypad->tc3589x; in tc3589x_keypad_irq()
211 input_event(keypad->input, EV_MSC, MSC_SCAN, code); in tc3589x_keypad_irq()
212 input_report_key(keypad->input, keypad->keymap[code], !up); in tc3589x_keypad_irq()
213 input_sync(keypad->input); in tc3589x_keypad_irq()
226 static int tc3589x_keypad_enable(struct tc_keypad *keypad) in tc3589x_keypad_enable() argument
228 struct tc3589x *tc3589x = keypad->tc3589x; in tc3589x_keypad_enable()
[all …]
Dmax7359_keypad.c87 static void max7359_build_keycode(struct max7359_keypad *keypad, in max7359_build_keycode() argument
90 struct input_dev *input_dev = keypad->input_dev; in max7359_build_keycode()
101 keypad->keycodes[scancode] = keycode; in max7359_build_keycode()
110 struct max7359_keypad *keypad = dev_id; in max7359_interrupt() local
111 struct input_dev *input_dev = keypad->input_dev; in max7359_interrupt()
114 val = max7359_read_reg(keypad->client, MAX7359_REG_KEYFIFO); in max7359_interrupt()
121 dev_dbg(&keypad->client->dev, in max7359_interrupt()
125 input_report_key(input_dev, keypad->keycodes[code], !release); in max7359_interrupt()
152 struct max7359_keypad *keypad = input_get_drvdata(dev); in max7359_open() local
154 max7359_take_catnap(keypad->client); in max7359_open()
[all …]
DMakefile13 obj-$(CONFIG_KEYBOARD_BCM) += bcm-keypad.o
16 obj-$(CONFIG_KEYBOARD_CLPS711X) += clps711x-keypad.o
23 obj-$(CONFIG_KEYBOARD_TCA6416) += tca6416-keypad.o
42 obj-$(CONFIG_KEYBOARD_NOMADIK) += nomadik-ske-keypad.o
43 obj-$(CONFIG_KEYBOARD_NSPIRE) += nspire-keypad.o
44 obj-$(CONFIG_KEYBOARD_OMAP) += omap-keypad.o
45 obj-$(CONFIG_KEYBOARD_OMAP4) += omap4-keypad.o
47 obj-$(CONFIG_KEYBOARD_PMIC8XXX) += pmic8xxx-keypad.o
52 obj-$(CONFIG_KEYBOARD_SAMSUNG) += samsung-keypad.o
55 obj-$(CONFIG_KEYBOARD_STMPE) += stmpe-keypad.o
[all …]
DKconfig19 This option enables support for the keypad scan matrix
146 tristate "Blackfin BF54x keypad support"
149 Say Y here if you want to use the BF54x keypad.
160 Say Y here to enable the matrix keypad on the Cirrus Logic
164 module will be called clps711x-keypad.
183 Say Y here to enable the matrix keypad on the Cirrus EP93XX.
223 This driver implements basic keypad functionality
229 are used for keypad).
242 This driver implements basic keypad functionality
243 for keys connected through TCA8418 keypad decoder.
[all …]
/linux-4.1.27/arch/arm/boot/dts/
Dexynos4412-smdk4412.dts36 keypad_rows: keypad-rows {
43 keypad_cols: keypad-cols {
52 keypad@100A0000 {
53 samsung,keypad-num-rows = <3>;
54 samsung,keypad-num-columns = <8>;
55 linux,keypad-no-autorepeat;
56 linux,keypad-wakeup;
62 keypad,row = <1>;
63 keypad,column = <3>;
68 keypad,row = <1>;
[all …]
Dexynos4210-smdkv310.dts67 keypad_rows: keypad-rows {
74 keypad_cols: keypad-cols {
83 keypad@100A0000 {
84 samsung,keypad-num-rows = <2>;
85 samsung,keypad-num-columns = <8>;
86 linux,keypad-no-autorepeat;
87 linux,keypad-wakeup;
93 keypad,row = <0>;
94 keypad,column = <3>;
99 keypad,row = <0>;
[all …]
Ds5pv210-smdkv210.dts60 &keypad {
63 samsung,keypad-num-rows = <8>;
64 samsung,keypad-num-columns = <8>;
75 keypad,row = <0>;
76 keypad,column = <3>;
81 keypad,row = <0>;
82 keypad,column = <4>;
87 keypad,row = <0>;
88 keypad,column = <5>;
93 keypad,row = <0>;
[all …]
Ds3c64xx-pinctrl.dtsi453 keypad_col0_0: keypad-col0-0 {
459 keypad_col1_0: keypad-col1-0 {
465 keypad_col2_0: keypad-col2-0 {
471 keypad_col3_0: keypad-col3-0 {
477 keypad_col4_0: keypad-col4-0 {
483 keypad_col5_0: keypad-col5-0 {
489 keypad_col6_0: keypad-col6-0 {
495 keypad_col7_0: keypad-col7-0 {
501 keypad_col0_1: keypad-col0-1 {
507 keypad_col1_1: keypad-col1-1 {
[all …]
Ds5pv210-aquila.dts269 &keypad {
272 samsung,keypad-num-rows = <3>;
273 samsung,keypad-num-columns = <3>;
280 keypad,row = <0>;
281 keypad,column = <1>;
286 keypad,row = <0>;
287 keypad,column = <2>;
292 keypad,row = <1>;
293 keypad,column = <1>;
298 keypad,row = <1>;
[all …]
Dexynos4412-origen.dts62 keypad_rows: keypad-rows {
69 keypad_cols: keypad-cols {
77 keypad@100A0000 {
78 samsung,keypad-num-rows = <3>;
79 samsung,keypad-num-columns = <2>;
80 linux,keypad-no-autorepeat;
81 linux,keypad-wakeup;
87 keypad,row = <0>;
88 keypad,column = <0>;
93 keypad,row = <0>;
[all …]
Ds5pv210-goni.dts251 &keypad {
254 samsung,keypad-num-rows = <3>;
255 samsung,keypad-num-columns = <3>;
262 keypad,row = <0>;
263 keypad,column = <1>;
268 keypad,row = <0>;
269 keypad,column = <2>;
274 keypad,row = <1>;
275 keypad,column = <1>;
280 keypad,row = <1>;
[all …]
Dqcom-msm8960-cdp.dts33 keypad@148 {
40 keypad,num-rows = <1>;
41 keypad,num-columns = <5>;
Dqcom-msm8660-surf.dts33 keypad@148 {
55 keypad,num-rows = <6>;
56 keypad,num-columns = <5>;
Ds5pv210-pinctrl.dtsi460 keypad_row0: keypad-row-0 {
467 keypad_row1: keypad-row-1 {
474 keypad_row2: keypad-row-2 {
481 keypad_row3: keypad-row-3 {
488 keypad_row4: keypad-row-4 {
495 keypad_row5: keypad-row-5 {
502 keypad_row6: keypad-row-6 {
509 keypad_row7: keypad-row-7 {
516 keypad_col0: keypad-col-0 {
523 keypad_col1: keypad-col-1 {
[all …]
Dtwl4030.dtsi149 twl_keypad: keypad {
150 compatible = "ti,twl4030-keypad";
152 keypad,num-rows = <8>;
153 keypad,num-columns = <8>;
Dste-href-tvk1281618.dtsi40 /* Add Synaptics touch screen, TC35893 keypad etc here */
63 compatible = "toshiba,tc3589x-keypad";
66 keypad,num-columns = <8>;
67 keypad,num-rows = <8>;
Dste-nomadik-nhk15.dts95 compatible = "st,stmpe-keypad";
99 keypad,num-rows = <8>;
100 keypad,num-columns = <8>;
Dstih41x-b2000.dtsi74 keypad,num-rows = <4>;
75 keypad,num-columns = <4>;
Dimx53-voipac-bsb.dts151 keypad,num-rows = <8>;
152 keypad,num-columns = <1>;
Dnspire.dtsi176 keypad: input@900E0000 { label
177 compatible = "ti,nspire-keypad";
Dcros-ec-keyboard.dtsi16 keypad,num-rows = <8>;
17 keypad,num-columns = <13>;
Dphy3250.dts180 keypad,num-rows = <1>;
181 keypad,num-columns = <1>;
Dqcom-msm8660.dtsi129 keypad@148 {
130 compatible = "qcom,pm8058-keypad";
Dnspire-tp.dts15 &keypad {
Dnspire-clp.dts15 &keypad {
Dnspire-classic.dtsi41 &keypad {
Dqcom-msm8960.dtsi176 keypad@148 {
177 compatible = "qcom,pm8921-keypad";
Domap4-sdp.dts92 label = "omap4::keypad";
511 &keypad {
512 keypad,num-rows = <8>;
513 keypad,num-columns = <8>;
Ds5pv210.dtsi193 keypad: keypad@e1600000 { label
194 compatible = "samsung,s5pv210-keypad";
199 clock-names = "keypad";
Dste-href-stuib.dtsi52 compatible = "st,stmpe-keypad";
Dnspire-cx.dts46 &keypad {
Dexynos4.dtsi279 keypad@100A0000 {
280 compatible = "samsung,s5pv210-keypad";
284 clock-names = "keypad";
Dimx28-tx28.dts175 matrix_keypad: matrix-keypad@0 {
176 compatible = "gpio-matrix-keypad";
Domap3-pandora-common.dtsi346 keypad,num-rows = <8>;
347 keypad,num-columns = <6>;
Domap4.dtsi656 keypad: keypad@4a31c000 { label
657 compatible = "ti,omap4-keypad";
Domap4-var-som-om44.dtsi321 &keypad {
Domap5.dtsi626 keypad: keypad@4ae1c000 { label
627 compatible = "ti,omap4-keypad";
Dam335x-evm.dts42 compatible = "gpio-matrix-keypad";
Dam437x-sk-evm.dts46 compatible = "gpio-matrix-keypad";
Dam437x-gp-evm.dts53 compatible = "gpio-matrix-keypad";
Dam43x-epos-evm.dts73 compatible = "gpio-matrix-keypad";
/linux-4.1.27/Documentation/devicetree/bindings/input/
Dsamsung-keypad.txt4 keypad device. The keypad controller supports multiple row and column lines.
6 The keypad controller can sense a key-press and key-release and report the
11 - "samsung,s3c6410-keypad": For controllers compatible with s3c6410 keypad
13 - "samsung,s5pv210-keypad": For controllers compatible with s5pv210 keypad
22 - samsung,keypad-num-rows: Number of row lines connected to the keypad
25 - samsung,keypad-num-columns: Number of column lines connected to the
26 keypad controller.
28 - Keys represented as child nodes: Each key connected to the keypad
29 controller is represented as a child node to the keypad controller
31 - keypad,row: the row number to which the key is connected.
[all …]
Domap-keypad.txt4 keypad device. The keypad controller supports multiple row and column lines.
6 The keypad controller can sense a key-press and key-release and report the
12 keypad,num-rows and keypad,num-columns are required.
16 - "ti,omap4-keypad": For controllers compatible with omap4 keypad
20 - linux,keypad-no-autorepeat: do no enable autorepeat feature.
23 keypad@4ae1c000{
24 compatible = "ti,omap4-keypad";
25 keypad,num-rows = <2>;
26 keypad,num-columns = <8>;
27 linux,keypad-no-autorepeat;
Dtwl4030-keypad.txt4 keypad device. The keypad controller supports multiple row and column lines.
6 The keypad controller can sense a key-press and key-release and report the
12 * keypad,num-rows and keypad,num-columns are required.
16 - "ti,twl4030-keypad": For controllers compatible with twl4030 keypad
19 - <1>: For controllers compatible with twl4030 keypad controller.
22 twl_keypad: keypad {
23 compatible = "ti,twl4030-keypad";
25 keypad,num-rows = <8>;
26 keypad,num-columns = <8>;
Dbrcm,bcm-keypad.txt4 keypad device. The keypad controller supports multiple row and column lines.
6 The keypad controller can sense a key-press and key-release and report the
12 keypad,num-rows and keypad,num-columns are required.
15 - compatible: should be "brcm,bcm-keypad"
23 - keypad,num-rows: Number of row lines connected to the keypad
26 - keypad,num-columns: Number of column lines connected to the
27 keypad controller.
56 If specified implies the keypad scan pull-up has been enabled.
68 keypad: keypad@180ac000 {
70 compatible = "brcm,bcm-keypad";
[all …]
Dqcom,pm8xxx-keypad.txt9 "qcom,pm8058-keypad"
10 "qcom,pm8921-keypad"
15 Definition: address of keypad control register
31 - linux,keypad-no-autorepeat:
36 - linux,keypad-wakeup:
39 Definition: use any event on keypad as wakeup event.
41 - keypad,num-rows:
47 - keypad,num-columns:
73 keypad@148 {
74 compatible = "qcom,pm8921-keypad";
[all …]
Dgpio-matrix-keypad.txt1 * GPIO driven matrix keypad device tree bindings
3 GPIO driven matrix keypad is used to interface a SoC with a matrix keypad.
4 The matrix keypad supports multiple row and column lines, a key can be
6 keypad can sense a key-press and key-release by means of GPIO lines and
10 - compatible: Should be "gpio-matrix-keypad"
22 - linux,wakeup: use any event on keypad as wakeup event.
25 before we can scan keypad after activating column gpio
28 matrix-keypad {
29 compatible = "gpio-matrix-keypad";
Dclps711x-keypad.txt1 * Cirrus Logic CLPS711X matrix keypad device tree bindings
4 - compatible: Shall contain "cirrus,clps711x-keypad".
14 keypad {
15 compatible = "cirrus,ep7312-keypad", "cirrus,clps711x-keypad";
Dmatrix-keymap.txt14 - keypad,num-rows: Number of row lines connected to the keypad controller.
15 - keypad,num-columns: Number of column lines connected to the keypad
26 keypad,num-rows = <2>;
27 keypad,num-columns = <8>;
Dst-keyscan.txt22 - keypad,num-rows: Number of row lines connected to the keypad controller.
24 - keypad,num-columns: Number of column lines connected to the keypad
40 keypad,num-rows = <4>;
41 keypad,num-columns = <4>;
Dstmpe-keypad.txt4 - compatible : "st,stmpe-keypad"
11 - keypad,num-rows : See ./matrix-keymap.txt
12 - keypad,num-columns : See ./matrix-keymap.txt
17 compatible = "st,stmpe-keypad";
Dtca8418_keypad.txt4 keypad,num-rows and keypad,num-columns are required.
10 - linux,keymap: Keys definitions, see keypad-matrix.
Dlpc32xx-key.txt17 Note: keypad,num-rows and keypad,num-columns are required, and must be equal
26 keypad,num-rows = <1>;
27 keypad,num-columns = <1>;
Dpxa27x-keypad.txt4 - compatible : should be "marvell,pxa27x-keypad"
6 - interrupts : The interrupt for the keypad controller
38 keypad: keypad@d4012000 {
39 keypad,num-rows = <3>;
40 keypad,num-columns = <5>;
Dti,nspire-keypad.txt4 - compatible: Compatible property value should be "ti,nspire-keypad".
22 - active-low: Specify that the keypad is active low (i.e. logical low signifies
28 compatible = "ti,nspire-keypad";
Dimx-keypad.txt3 The KPP is designed to interface with a keypad matrix with 2-point contact
5 of scanning a keypad matrix. The KPP is capable of detecting, debouncing,
6 and decoding one or multiple keys pressed simultaneously on a keypad.
Dcros-ec-keyb.txt23 keypad,num-rows = <8>;
24 keypad,num-columns = <13>;
Dnvidia,tegra20-kbc.txt2 The key controller has maximum 24 pins to make matrix keypad. Any pin
/linux-4.1.27/Documentation/devicetree/bindings/mfd/
Dtc3589x.txt4 following built-in devices: gpio, keypad, rotator (vibrator), PWM (for
46 This keypad is the same on all variants, supporting up to 96 different
49 - compatible : must be "toshiba,tc3589x-keypad"
51 - keypad,num-rows : number of rows in the matrix, see
53 - keypad,num-columns : number of columns in the matrix, see
58 - linux,wakeup: use any event on keypad as wakeup event.
81 compatible = "toshiba,tc3589x-keypad";
84 keypad,num-columns = <8>;
85 keypad,num-rows = <8>;
Dstmpe.txt4 keypad, touchscreen, adc, pwm, rotator.
/linux-4.1.27/drivers/staging/panel/
DKconfig8 keypad through /dev/keypad (10, 185). Both require misc device to be
20 driver instance only supports one parallel port, so if your keypad
37 1 = 2x16 parallel LCD, old keypad
38 2 = 2x16 serial LCD (KS-0074), new keypad
39 3 = 2x16 parallel LCD (Hantronix), no keypad
40 4 = 2x16 parallel LCD (Nexcom NSA1045) with Nexcom's keypad
41 5 = 2x40 parallel LCD (old one), with old keypad
53 This enables and configures a keypad connected to the parallel port.
57 1 : old 6 keys keypad
58 2 : new 6 keys keypad, as used on the server at www.ant-computing.com
[all …]
Dpanel.c241 } keypad; variable
1974 if (keypad.enabled && keypad_initialized) { in panel_scan_timer()
2227 if (keypad.enabled) { in panel_attach()
2256 if (keypad.enabled && keypad_initialized) { in panel_detach()
2331 keypad.enabled = (selected_keypad_type > 0); in panel_init_module()
2377 if (!lcd.enabled && !keypad.enabled) { in panel_init_module()
2406 if (keypad.enabled) { in panel_cleanup_module()
/linux-4.1.27/drivers/staging/speakup/
Dspkguide.txt118 Note: In this guide I will refer to the numeric keypad as the keypad.
120 manual uses the term keypad instead of numeric keypad. Also I'm lazy
121 and would rather only type one word. So keypad it is. Got it? Good.
123 Most of the Speakup review keys are located on the keypad at the far
125 to work. If you toggle the numlock on, the keypad will produce numbers,
139 bootup messages, just press the keypad enter key. This key is located
140 in the bottom right corner of the keypad. Speakup will shut up and stay
144 key on the keypad, which reads the current line. This also has the
145 effect of starting Speakup talking again, so you can press keypad enter
162 the speech with keypad enter, or use any of the Speakup review keys.
[all …]
DDefaultKeyAssignments6 We have remapped the insert or zero key on the keypad to act as a
9 hit the keypad period.
/linux-4.1.27/include/linux/platform_data/
Dkeypad-omap.h12 #warning Please update the board to use matrix-keypad driver
/linux-4.1.27/Documentation/devicetree/bindings/gpio/
Dgpio-stmpe.txt9 due to different usage (e.g. touch, keypad)
/linux-4.1.27/drivers/leds/trigger/
DKconfig79 from there. One use case is n810's keypad LEDs that could
81 keypad.
/linux-4.1.27/arch/arm/mach-imx/devices/
DMakefile14 obj-$(CONFIG_IMX_HAVE_PLATFORM_IMX_KEYPAD) += platform-imx-keypad.o
/linux-4.1.27/arch/arm/mach-s3c64xx/
DMakefile38 obj-$(CONFIG_S3C64XX_SETUP_KEYPAD) += setup-keypad.o
/linux-4.1.27/arch/arm/mach-mmp/
Dclock-pxa168.c55 static APBC_CLK(keypad, KPC, 0, 32000);
Dpxa168.c111 PXA168_DEVICE(keypad, "pxa27x-keypad", -1, KEYPAD, 0xd4012000, 0x4c);
/linux-4.1.27/scripts/kconfig/lxdialog/
Dyesno.c60 keypad(dialog, TRUE); in dialog_yesno()
Dtextbox.c107 keypad(dialog, TRUE); in dialog_textbox()
116 keypad(box, TRUE); in dialog_textbox()
Dchecklist.c149 keypad(dialog, TRUE); in dialog_checklist()
173 keypad(list, TRUE); in dialog_checklist()
Dmenubox.c212 keypad(dialog, TRUE); in dialog_menu()
236 keypad(menu, TRUE); in dialog_menu()
Dutil.c333 keypad(stdscr, TRUE); in init_dialog()
567 keypad(win, FALSE); in on_key_esc()
574 keypad(win, TRUE); in on_key_esc()
Dinputbox.c71 keypad(dialog, TRUE); in dialog_inputbox()
/linux-4.1.27/Documentation/devicetree/bindings/leds/
Dleds-pwm.txt40 label = "omap4::keypad";
/linux-4.1.27/scripts/kconfig/
Dnconf.gui.c290 keypad(win, TRUE); in btn_dialog()
399 keypad(form_win, TRUE); in dialog_inputbox()
584 keypad(win, TRUE); in show_scroll_win()
Dnconf.c979 keypad(menu_window, TRUE); in show_menu()
1090 keypad((menu_win(curses_menu)), TRUE); in conf()
1468 keypad(main_window, TRUE); in setup_windows()
1506 keypad(stdscr, TRUE); in main()
/linux-4.1.27/tools/thermal/tmon/
Dtui.c367 keypad(stdscr, TRUE); /* enable keyboard mapping */ in initialize_curses()
423 keypad(w, TRUE); in handle_input_val()
479 keypad(cooling_device_window, TRUE); in handle_tui_events()
Dtmon.c98 keypad(stdscr, FALSE); in tmon_cleanup()
/linux-4.1.27/drivers/mfd/
Dtwl-core.c737 if (IS_ENABLED(CONFIG_KEYBOARD_TWL4030) && pdata->keypad) { in add_children()
739 pdata->keypad, sizeof(*pdata->keypad), in add_children()
DKconfig912 Keypad: stmpe-keypad
1179 boards, providing power management, RTC, GPIO, keypad, a
/linux-4.1.27/Documentation/arm/SA1100/
DGraphicsMaster30 - Smart I/O (ADC, keypad, digital inputs, etc)
DGraphicsClient73 - Smart I/O (ADC, keypad, digital inputs, etc)
/linux-4.1.27/arch/arm/mach-omap2/
Dboard-ldp.c330 .keypad = &ldp_kp_twl4030_data,
Dboard-omap3pandora.c489 .keypad = &pandora_kp_data,
Dboard-cm-t35.c483 .keypad = &cm_t35_kp_data,
Dboard-rx51-peripherals.c963 .keypad = &rx51_kp_data,
/linux-4.1.27/include/linux/i2c/
Dtwl.h711 struct twl4030_keypad_data *keypad; member
/linux-4.1.27/drivers/isdn/i4l/
DKconfig115 countries. The keypad protocol is still not implemented. CD should
/linux-4.1.27/arch/powerpc/boot/dts/
Dac14xx.dts358 compatible = "gpio-matrix-keypad";
/linux-4.1.27/Documentation/input/
Dyealink.txt39 Q: Phone is working now (displays version and accepts keypad input) but I can't
/linux-4.1.27/drivers/isdn/hisax/
DKconfig58 bool "Disable keypad protocol option"
62 using the keypad protocol, select this option.
/linux-4.1.27/Documentation/isdn/
DREADME.diversion83 keypad protocol for activating static diversions (like the netherlands) are
DINTERFACE537 The keypad support now is included in the dial command.
/linux-4.1.27/arch/arm/plat-samsung/
DKconfig212 Compile in platform device definitions for keypad
/linux-4.1.27/Documentation/arm/pxa/
Dmfp.txt135 WAKEUP_ON_LEVEL_HIGH - specifically for enabling of keypad GPIOs,
/linux-4.1.27/drivers/input/misc/
DKconfig553 Say Y here if you want to support a keypad connected via I2C