Home
last modified time | relevance | path

Searched full:rotary (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/linux/Documentation/devicetree/bindings/input/
H A Drotary-encoder.txt1 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 Dpxa27x-keypad.txt27 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 Dti,drv260x.yaml40 Eccentric Rotating Mass mode (Rotary vibrator)
/openbmc/linux/include/linux/platform_data/
H A Dkeypad-pxa27x.h17 * _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 Drotary_encoder.c10 * 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 DKconfig622 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 Drotary-encoder.rst2 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 Dimx6dl-victgo.dts29 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 Dimx6dl-b1x5pv2.dtsi188 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 Dimx6ull-tarragon-common.dtsi576 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 Dimx28-cfa10049.dts157 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 Dpxa27x_keypad.c35 #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 Dcom20020-pci.c217 /* 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 Dcom20020.h59 int rotary; member
/openbmc/linux/arch/arm/boot/dts/intel/pxa/
H A Dpxa300-raumfeld-common.dtsi119 rotary: rotary-encoder { label
120 compatible = "rotary-encoder";
126 rotary-encoder,relative-axis;
H A Dpxa300-raumfeld-connector.dts71 &rotary {
H A Dpxa300-raumfeld-speaker-one.dts94 &rotary {
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Domap3-echo.dts81 rotary: rotary-encoder { label
82 compatible = "rotary-encoder";
88 rotary-encoder,relative-axis;
/openbmc/linux/drivers/hid/
H A Dhid-uclogic-params.h136 * 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 Dhid-uclogic-rdesc.h210 /* Least-significant bit of Ugee G5 frame rotary encoder state */
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dst,stm32-lptimer.yaml15 - quadrature encoder to detect angular position and direction of rotary
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dtimer.c55 /* Reset Timers and Rotary Encoder module */ in timer_init()
/openbmc/linux/sound/usb/caiaq/
H A Dinput.c314 /* 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 Dirqs.h61 #define IRQ_ENHROT PXA_IRQ(37) /* Enhanced Rotary (PXA930) */
/openbmc/u-boot/board/mpr2/
H A Dmpr2.c41 /* CS6a: Rotary (0xB8000000 - 0xB9FFFFFF) */ in board_init()

12