Home
last modified time | relevance | path

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

12

/linux-6.12.1/Documentation/devicetree/bindings/input/
Drotary-encoder.yaml4 $id: http://devicetree.org/schemas/input/rotary-encoder.yaml#
7 title: Rotary encoder
13 See Documentation/input/devices/rotary-encoder.rst for more information.
17 const: rotary-encoder
25 the input subsystem axis to map to this rotary encoder.
28 rotary-encoder,steps:
36 rotary-encoder,relative-axis:
43 rotary-encoder,rollover:
46 Automatic rollover when the rotary value becomes
49 rotary-encoder,steps-per-period:
[all …]
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.
Dti,drv260x.yaml40 Eccentric Rotating Mass mode (Rotary vibrator)
/linux-6.12.1/drivers/input/misc/
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 …]
DKconfig639 tristate "Rotary encoders connected to GPIO pins"
642 Say Y here to add support for rotary encoders connected to GPIO lines.
643 Check file:Documentation/input/devices/rotary-encoder.rst for more
/linux-6.12.1/include/linux/platform_data/
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 */
/linux-6.12.1/Documentation/input/devices/
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",
/linux-6.12.1/arch/arm64/boot/dts/freescale/
Dimx8mn-dimonoff-gateway-evk.dts42 /* Bourns PEC12R rotary encoder, 24 steps. */
43 rotary: rotary-encoder { label
44 compatible = "rotary-encoder";
50 rotary-encoder,encoding = "gray";
51 rotary-encoder,relative-axis;
Dimx8mn-rve-gateway.dts66 /* Bourns PEC12R rotary encoder, 24 steps. */
67 rotary: rotary-encoder { label
68 compatible = "rotary-encoder";
74 rotary-encoder,encoding = "gray";
75 rotary-encoder,relative-axis;
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/
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;
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>;
Dimx6ull-tarragon-common.dtsi576 pinctrl_rotary_switch1: rotary-switch1grp {
584 pinctrl_rotary_switch2: rotary-switch2grp {
753 pinctrl_rotary_switch1_snvs: rotary-switch1-snvsgrp {
/linux-6.12.1/arch/arm/boot/dts/nxp/mxs/
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 {
/linux-6.12.1/drivers/input/keyboard/
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()
/linux-6.12.1/drivers/net/arcnet/
Dcom20020-pci.c218 /* Get the dev_id from the PLX rotary coder */ in com20020pci_probe()
221 dev->dev_id = (inb(priv->misc + ci->rotary) >> 4) & dev_id_mask; in com20020pci_probe()
370 .rotary = 0x0,
402 .rotary = 0x0,
427 .rotary = 0x0,
Dcom20020.h59 int rotary; member
/linux-6.12.1/arch/arm/boot/dts/intel/pxa/
Dpxa300-raumfeld-common.dtsi119 rotary: rotary-encoder { label
120 compatible = "rotary-encoder";
126 rotary-encoder,relative-axis;
Dpxa300-raumfeld-connector.dts71 &rotary {
Dpxa300-raumfeld-speaker-one.dts94 &rotary {
/linux-6.12.1/arch/arm/boot/dts/ti/omap/
Domap3-echo.dts81 rotary: rotary-encoder { label
82 compatible = "rotary-encoder";
88 rotary-encoder,relative-axis;
/linux-6.12.1/drivers/hid/
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 */
Dhid-uclogic-rdesc.h210 /* Least-significant bit of Ugee G5 frame rotary encoder state */
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Dst,stm32-lptimer.yaml15 - quadrature encoder to detect angular position and direction of rotary
/linux-6.12.1/sound/usb/caiaq/
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()
/linux-6.12.1/arch/arm/mach-pxa/
Dirqs.h61 #define IRQ_ENHROT PXA_IRQ(37) /* Enhanced Rotary (PXA930) */

12