Searched refs:rotary (Results 1 – 6 of 6) sorted by relevance
/linux-4.1.27/drivers/input/misc/ |
D | bfin_rotary.c | 55 static void report_rotary_event(struct bfin_rot *rotary, int delta) in report_rotary_event() argument 57 struct input_dev *input = rotary->input; in report_rotary_event() 59 if (rotary->up_key) { in report_rotary_event() 61 delta > 0 ? rotary->up_key : rotary->down_key); in report_rotary_event() 63 input_report_rel(input, rotary->rel_code, delta); in report_rotary_event() 70 struct bfin_rot *rotary = dev_id; in bfin_rotary_isr() local 73 switch (readw(rotary->base + CNT_STATUS_OFF)) { in bfin_rotary_isr() 80 delta = readl(rotary->base + CNT_COUNTER_OFF); in bfin_rotary_isr() 82 report_rotary_event(rotary, delta); in bfin_rotary_isr() 86 report_key_event(rotary->input, rotary->button_key); in bfin_rotary_isr() [all …]
|
D | Kconfig | 574 Say Y here to add support for rotary encoders connected to GPIO lines. 575 Check file:Documentation/input/rotary-encoder.txt for more 631 module will be called bfin-rotary.
|
/linux-4.1.27/Documentation/devicetree/bindings/input/ |
D | rotary-encoder.txt | 7 - linux,axis: the input subsystem axis to map to this rotary encoder. 9 - rotary-encoder,steps: Number of steps in a full turnaround of the 12 - rotary-encoder,relative-axis: register a relative axis rather than an 15 - rotary-encoder,rollover: Automatic rollove when the rotary value becomes 17 - rotary-encoder,half-period: Makes the driver work on half-period mode. 19 See Documentation/input/rotary-encoder.txt for more information. 23 rotary@0 { 24 compatible = "rotary-encoder"; 27 rotary-encoder,relative-axis; 30 rotary@1 { [all …]
|
D | pxa27x-keypad.txt | 29 linux key-code for rotary up. Bit[15:0] is the linux key-code 30 for rotary down. It is for rotary 0. 31 - marvell,rotary1 : Same as marvell,rotary0. It is for rotary 1. 32 - marvell,rotary-rel-key : When rotary is used for relative axes 35 is for rotary 1, and Bit[15:0] is for rotary 0.
|
/linux-4.1.27/Documentation/input/ |
D | rotary-encoder.txt | 1 rotary-encoder - a generic driver for GPIO connected devices 76 name 'rotary-encoder' and associate the IRQs and some specific platform 80 include/linux/rotary-encoder.h and needs to be filled with the number of 115 .name = "rotary-encoder",
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | imx28-cfa10049.dts | 66 rotary_pins_cfa10049: rotary-10049@0 { 77 rotary_btn_pins_cfa10049: rotary-btn-10049@0 { 412 rotary { 413 compatible = "rotary-encoder"; 418 rotary-encoder,relative-axis;
|