/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | rotary-encoder.txt | 1 Rotary encoder DT bindings 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 rollover when the rotary value becomes 17 - rotary-encoder,steps-per-period: Number of steps (stable states) per period. 22 - wakeup-source: Boolean, rotary encoder can wake up the system. 23 - rotary-encoder,encoding: String, the method used to encode steps. 27 - rotary-encoder,half-period: Makes the driver work on half-period mode. 29 be used, such as "rotary-encoder,steps-per-period = <2>". [all …]
|
H A D | pxa27x-keypad.txt | 27 Optional Properties For Rotary 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.
|
H A D | ti,drv260x.yaml | 40 Eccentric Rotating Mass mode (Rotary vibrator)
|
/openbmc/linux/include/linux/platform_data/ |
H A D | keypad-pxa27x.h | 17 * _plus_ the number of rotary-encoder sensor inputs, this can be 18 * left as 0 if only rotary encoders are enabled, the driver will 21 * 2. direct_key_map is the key code map for the direct keys, if rotary 24 * 3. rotary can be either interpreted as a relative input event (e.g. 52 /* rotary encoders 0 */ 58 /* rotary encoders 1 */
|
/openbmc/linux/drivers/input/misc/ |
H A D | rotary_encoder.c | 10 * A generic driver for rotary encoders connected to GPIO lines. 11 * See file:Documentation/input/devices/rotary-encoder.rst for more information 26 #define DRV_NAME "rotary-encoder" 201 device_property_read_u32(dev, "rotary-encoder,steps", &encoder->steps); in rotary_encoder_probe() 203 err = device_property_read_u32(dev, "rotary-encoder,steps-per-period", in rotary_encoder_probe() 214 "rotary-encoder,half-period") ? 2 : 1; in rotary_encoder_probe() 218 device_property_read_bool(dev, "rotary-encoder,rollover"); in rotary_encoder_probe() 220 if (!device_property_present(dev, "rotary-encoder,encoding") || in rotary_encoder_probe() 221 !device_property_match_string(dev, "rotary-encoder,encoding", in rotary_encoder_probe() 225 } else if (!device_property_match_string(dev, "rotary-encoder,encoding", in rotary_encoder_probe() [all …]
|
H A D | Kconfig | 622 tristate "Rotary encoders connected to GPIO pins" 625 Say Y here to add support for rotary encoders connected to GPIO lines. 626 Check file:Documentation/input/devices/rotary-encoder.rst for more
|
/openbmc/linux/Documentation/input/devices/ |
H A D | rotary-encoder.rst | 2 rotary-encoder - a generic driver for GPIO connected devices 10 Rotary encoders are devices which are connected to the CPU or other 83 name 'rotary-encoder' and associate the IRQs and some specific platform 100 .dev_id = "rotary-encoder.0", 111 PROPERTY_ENTRY_U32("rotary-encoder,steps-per-period", 24), 113 PROPERTY_ENTRY_U32("rotary-encoder,relative_axis", 0), 122 .name = "rotary-encoder",
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6dl-victgo.dts | 29 label = "Rotary Key"; 60 rotary-encoder { 61 compatible = "rotary-encoder"; 66 rotary-encoder,steps-per-period = <4>; 67 rotary-encoder,relative-axis; 68 rotary-encoder,rollover;
|
H A D | imx6dl-b1x5pv2.dtsi | 188 rotary-encoder-key { 191 rotary-encoder-event { 192 label = "rotary-encoder press"; 199 rotary-encoder { 200 compatible = "rotary-encoder"; 204 rotary-encoder,relative-axis; 205 rotary-encoder,steps-per-period = <2>;
|
H A D | imx6ull-tarragon-common.dtsi | 576 pinctrl_rotary_switch1: rotary-switch1grp { 584 pinctrl_rotary_switch2: rotary-switch2grp { 753 pinctrl_rotary_switch1_snvs: rotary-switch1-snvsgrp {
|
/openbmc/linux/arch/arm/boot/dts/nxp/mxs/ |
H A D | imx28-cfa10049.dts | 157 rotary-button { 165 rotary { 166 compatible = "rotary-encoder"; 171 rotary-encoder,relative-axis; 287 rotary_pins_cfa10049: rotary-10049@0 { 298 rotary_btn_pins_cfa10049: rotary-btn-10049@0 {
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | pxa27x_keypad.c | 35 #define KPREC 0x0010 /* Keypad Rotary Encoder register */ 63 #define KPC_RE_ZERO_DEB (0x1 << 4) /* Rotary Encoder Zero Debounce */ 64 #define KPC_REE1 (0x1 << 3) /* Rotary Encoder1 Enable */ 65 #define KPC_REE0 (0x1 << 2) /* Rotary Encoder0 Enable */ 216 const char relkeyname[] = {"marvell,rotary-rel-key"}; in pxa27x_keypad_rotary_parse_dt() 222 /* if can read correct rotary key-code, we do not need this. */ in pxa27x_keypad_rotary_parse_dt() 309 dev_err(dev, "failed to parse rotary key\n"); in pxa27x_keypad_build_keycode_from_dt() 322 * key or rotary key. in pxa27x_keypad_build_keycode_from_dt() 358 * or rotary keys. in pxa27x_keypad_build_keycode() 607 /* enable rotary key, debounce interval same as direct keys */ in pxa27x_keypad_config()
|
/openbmc/linux/drivers/net/arcnet/ |
H A D | com20020-pci.c | 217 /* Get the dev_id from the PLX rotary coder */ in com20020pci_probe() 220 dev->dev_id = (inb(priv->misc + ci->rotary) >> 4) & dev_id_mask; in com20020pci_probe() 369 .rotary = 0x0, 401 .rotary = 0x0, 426 .rotary = 0x0,
|
H A D | com20020.h | 59 int rotary; member
|
/openbmc/linux/arch/arm/boot/dts/intel/pxa/ |
H A D | pxa300-raumfeld-common.dtsi | 119 rotary: rotary-encoder { label 120 compatible = "rotary-encoder"; 126 rotary-encoder,relative-axis;
|
H A D | pxa300-raumfeld-connector.dts | 71 &rotary {
|
H A D | pxa300-raumfeld-speaker-one.dts | 94 &rotary {
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-echo.dts | 81 rotary: rotary-encoder { label 82 compatible = "rotary-encoder"; 88 rotary-encoder,relative-axis;
|
/openbmc/linux/drivers/hid/ |
H A D | hid-uclogic-params.h | 136 * Number of the least-significant bit of the 2-bit state of a rotary 252 /* Last rotary encoder state, or U8_MAX for none */
|
H A D | hid-uclogic-rdesc.h | 210 /* Least-significant bit of Ugee G5 frame rotary encoder state */
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | st,stm32-lptimer.yaml | 15 - quadrature encoder to detect angular position and direction of rotary
|
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/ |
H A D | timer.c | 55 /* Reset Timers and Rotary Encoder module */ in timer_init()
|
/openbmc/linux/sound/usb/caiaq/ |
H A D | input.c | 314 /* rotary encoders */ in snd_caiaq_input_read_io() 350 /* rotary encoders */ in snd_usb_caiaq_tks4_dispatch() 692 /* rotary encoders */ in snd_usb_caiaq_input_init() 736 /* 9 rotary encoders */ in snd_usb_caiaq_input_init()
|
/openbmc/linux/arch/arm/mach-pxa/ |
H A D | irqs.h | 61 #define IRQ_ENHROT PXA_IRQ(37) /* Enhanced Rotary (PXA930) */
|
/openbmc/u-boot/board/mpr2/ |
H A D | mpr2.c | 41 /* CS6a: Rotary (0xB8000000 - 0xB9FFFFFF) */ in board_init()
|