Home
last modified time | relevance | path

Searched +full:motor +full:- +full:driver (Results 1 – 25 of 41) sorted by relevance

12

/linux/Documentation/devicetree/bindings/mfd/
H A Dtwl6040.txt3 The TWL6040s are 8-channel high quality low-power audio codecs providing audio,
9 - compatible : "ti,twl6040" for twl6040, "ti,twl6041" for twl6041
10 - reg: must be 0x4b for i2c address
11 - interrupts: twl6040 has one interrupt line connecteded to the main SoC
12 - gpio-controller:
13 - #gpio-cells = <1>: twl6040 provides GPO lines.
14 - #clock-cells = <0>; twl6040 is a provider of pdmclk which is used by McPDM
15 - twl6040,audpwron-gpio: Power on GPIO line for the twl6040
17 - vio-supply: Regulator for the twl6040 VIO supply
18 - v2v1-supply: Regulator for the twl6040 V2V1 supply
[all …]
H A Dmaxim,max77843.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
17 includes voltage current regulators, charger, fuel-gauge, haptic motor driver
33 motor-driver:
38 const: maxim,max77843-haptic
40 haptic-supply:
41 description: Power supply to the haptic motor
47 - compatible
[all …]
/linux/include/linux/mfd/
H A Dmax8997.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * max8997.h - Driver for the Maxim 8997/8966
5 * Copyright (C) 2009-2010 Samsung Electrnoics
8 * This driver is based on max8998.h
12 * this mfd driver. Although the fuel gauge is included in the chip, it is
13 * excluded from the driver because a) it has a different I2C bus from
14 * others and b) it can be enabled simply by using MAX17042 driver.
115 * @type: motor type
117 * MAX8997_EXTERNAL_MODE: external PWM device is used to control motor
118 * MAX8997_INTERNAL_MODE: internal pulse generator is used to control motor
[all …]
/linux/drivers/staging/greybus/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
5 tristate "Greybus Audio Class driver"
12 will be called gb-audio.ko
15 tristate "Greybus APBridge Audio codec driver"
20 bridge from an APB-I2S port to a Unipro network.
23 will be called gb-audio-codec.ko
27 tristate "Greybus Bootrom Class driver"
33 will be called gb-bootrom.ko
36 tristate "Greybus Camera Class driver"
43 will be called gb-camera.ko
[all …]
/linux/drivers/input/misc/
H A Dtwl6040-vibra.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * twl6040-vibra.c - TWL6040 Vibrator driver
10 * Based on twl4030-vibra.c by Henrik Saari <henrik.saari@nokia.com>
12 * Jari Vanhala <ext-javi.vanhala@nokia.com>
56 struct twl6040 *twl6040 = info->twl6040; in twl6040_vib_irq_handler()
61 dev_warn(info->dev, "Left Vibrator overcurrent detected\n"); in twl6040_vib_irq_handler()
66 dev_warn(info->dev, "Right Vibrator overcurrent detected\n"); in twl6040_vib_irq_handler()
76 struct twl6040 *twl6040 = info->twl6040; in twl6040_vibra_enable()
79 ret = regulator_bulk_enable(ARRAY_SIZE(info->supplies), info->supplies); in twl6040_vibra_enable()
81 dev_err(info->dev, "failed to enable regulators %d\n", ret); in twl6040_vibra_enable()
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-samsung-a2015-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 #include "msm8916-pm8916.dtsi"
4 #include "msm8916-modem-qdsp6.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
10 #include <dt-bindings/sound/apq8016-lpass.h>
20 stdout-path = "serial0";
23 reserved-memory {
[all …]
/linux/drivers/hid/
H A Dhid-holtekff.c1 // SPDX-License-Identifier: GPL-2.0-or-later
19 #include "hid-ids.h"
32 * (the difference between 04 and 06 isn't known; win driver
42 * bits 0-3: effect id:
54 * c-f: nothing
55 * bit 6: right (weak) motor enabled
56 * bit 7: left (strong) motor enabled
58 * bytes 2-3: time in milliseconds, big-endian
59 * bytes 5-6: unknown (win driver seems to use at least 10e0 with effect 1
62 * bits 0-3: effect magnitude
[all …]
H A Dhid-tmff.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * on 2003-01-25 from the Logitech force feedback driver,
23 #include "hid-ids.h"
29 -1
34 -1
52 ret = (in * (maximum - minimum) / 0xffff) + minimum; in tmff_scale_u16()
60 /* Changes values from -0x80 to 0x7f into values from minimum to maximum */
65 ret = (((in + 0x80) * (maximum - minimum)) / 0xff) + minimum; in tmff_scale_s8()
78 struct hid_field *ff_field = tmff->ff_field; in tmff_play()
82 switch (effect->type) { in tmff_play()
[all …]
H A Dhid-wiimote-modules.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Device Modules for Nintendo Wii / Wii U HID Driver
4 * Copyright (c) 2011-2013 David Herrmann <dh.herrmann@gmail.com>
19 * re-detection which causes all modules to be unloaded and then reload the
22 * wdata->input is a shared input device. It is always initialized prior to
37 #include "hid-wiimote.h"
64 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_LEFT], in wiimod_keys_in_keys()
66 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_RIGHT], in wiimod_keys_in_keys()
68 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_DOWN], in wiimod_keys_in_keys()
70 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_UP], in wiimod_keys_in_keys()
[all …]
/linux/include/uapi/linux/
H A Dphantom.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
3 * Copyright (C) 2005-2007 Jiri Slaby <jirislaby@gmail.com>
34 /* this ioctl tells the driver, that the caller is not OpenHaptics and might
48 #define PHN_ZERO_FORCE 2048 /* zero torque on motor */
H A Dfd.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1)
35 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8)
36 #define FD_SECTSIZE(floppy) ( (floppy)->rate & FD_2M ? \
50 /* clear user-defined parameters */
54 /* set user-defined parameters for current media */
100 * ultra cheap floppies ;-)
171 * Auto-detection. Each drive type has eight formats which are
223 * (User-provided) media information is _not_ discarded after a media change
224 * if the corresponding keep_data flag is non-zero. Positive values are
[all …]
H A Dinput.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright (c) 1999-2002 Vojtech Pavlik
20 #include "input-event-codes.h"
56 * IOCTLs (0x00 - 0x7f)
67 * struct input_absinfo - used by EVIOCGABS/EVIOCSABS ioctls
103 * struct input_keymap_entry - used by EVIOCGKEYCODE/EVIOCSKEYCODE ioctls
104 * @scancode: scancode represented in machine-endian form.
132 #define EVIOCGVERSION _IOR('E', 0x01, int) /* get driver version */
148 * EVIOCGMTSLOTS(len) - get MT slot values
169 * If the request code is not an ABS_MT value, -EINVAL is returned.
[all …]
/linux/Documentation/devicetree/bindings/media/i2c/
H A Ddongwoon,dw9768.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Dongwoon Anatech DW9768 Voice Coil Motor (VCM) Lens
11 - Dongchun Zhu <dongchun.zhu@mediatek.com>
13 description: |-
14 The Dongwoon DW9768 is a single 10-bit digital-to-analog (DAC) converter
16 a linear mode driver. The DAC is controlled via a 2-wire (I2C-compatible)
24 - dongwoon,dw9768 # for DW9768 VCM
25 - giantec,gt9769 # for GT9769 VCM
[all …]
/linux/arch/sparc/include/asm/
H A Dauxio_32.h1 /* SPDX-License-Identifier: GPL-2.0 */
18 #define AUXIO_ORMEIN4M 0xc0 /* sun4m - All writes must set these bits. */
21 #define AUXIO_EDGE_ON 0x10 /* sun4m - On means Jumper block is in. */
22 #define AUXIO_FLPY_DSEL 0x08 /* Drive select/start-motor. Write only. */
23 #define AUXIO_LINK_TEST 0x08 /* sun4m - On means TPE Carrier detect. */
35 * NOTE: these routines are implementation dependent--
42 * The following routines are provided for driver-compatibility
49 /* auxio_set_lte - Set Link Test Enable (TPE Link Detect)
51 * on - AUXIO_LTE_ON or AUXIO_LTE_OFF
65 /* auxio_set_led - Set system front panel LED
[all …]
/linux/Documentation/devicetree/bindings/input/
H A Dti,drv260x.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments - drv260x Haptics driver family
10 - Andrew Davis <afd@ti.com>
15 - ti,drv2604
16 - ti,drv2605
17 - ti,drv2605l
22 vbat-supply:
23 description: Power supply to the haptic motor
[all …]
/linux/drivers/input/joystick/
H A Dpsxpad-spi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * PlayStation 1/2 joypads via SPI interface Driver
11 * 1: DAT -> MISO (pullup with 1k owm to 3.3V)
12 * 2: CMD -> MOSI
13 * 3: 9V (for motor, if not use N.C.)
16 * 6: Attention -> CS(SS)
17 * 7: SCK -> SCK
19 * 9: ACK -> N.C.
78 .tx_buf = pad->sendbuf, in psxpad_command()
79 .rx_buf = pad->response, in psxpad_command()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # Joystick driver configuration
24 gameport. In addition to the usual PC analog joystick, this driver
33 To compile this driver as a module, choose M here: the
43 To compile this driver as a module, choose M here: the
54 To compile this driver as a module, choose M here: the
55 module will be called adc-joystick.
65 To compile this driver as a module, choose M here: the
74 To compile this driver as a module, choose M here: the
84 To compile this driver as a module, choose M here: the
[all …]
/linux/drivers/platform/x86/
H A Dgpd-pocket-fan.c1 // SPDX-License-Identifier: GPL-2.0+
3 * GPD Pocket fan controller driver
9 #include <linux/devm-helpers.h>
57 if (speed == fan->last_speed) in gpd_pocket_fan_set_speed()
60 gpiod_direction_output(fan->gpio0, !!(speed & 1)); in gpd_pocket_fan_set_speed()
61 gpiod_direction_output(fan->gpio1, !!(speed & 2)); in gpd_pocket_fan_set_speed()
63 fan->last_speed = speed; in gpd_pocket_fan_set_speed()
80 if (thermal_zone_get_temp(fan->dts0, &t0) || in gpd_pocket_fan_worker()
81 thermal_zone_get_temp(fan->dts1, &t1)) { in gpd_pocket_fan_worker()
82 dev_warn(fan->dev, "Error getting temperature\n"); in gpd_pocket_fan_worker()
[all …]
/linux/Documentation/i2c/busses/
H A Di2c-parport.rst2 Kernel driver i2c-parport
7 This is a unified driver for several i2c-over-parallel-port adapters,
8 such as the ones made by Philips, Velleman or ELV. This driver is
11 * i2c-philips-par
12 * i2c-elv
13 * i2c-velleman
14 * video/i2c-parport
25 * (type=6) Barco LPT->DVI (K5800236) adapter
27 * (type=8) VCT-jig
30 the driver what you have, using the type module parameter. There is no
[all …]
/linux/drivers/input/joystick/iforce/
H A Diforce-usb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2000-2002 Vojtech Pavlik <vojtech@ucw.cz>
4 * Copyright (c) 2001-2002, 2007 Johann Deneux <johann.deneux@gmail.com>
6 * USB/RS232 I-Force joysticks and wheels.
29 guard(spinlock_irqsave)(&iforce->xmit_lock); in __iforce_usb_xmit()
31 if (iforce->xmit.head == iforce->xmit.tail) { in __iforce_usb_xmit()
36 ((char *)iforce_usb->out->transfer_buffer)[0] = iforce->xmit.buf[iforce->xmit.tail]; in __iforce_usb_xmit()
37 XMIT_INC(iforce->xmit.tail, 1); in __iforce_usb_xmit()
38 n = iforce->xmit.buf[iforce->xmit.tail]; in __iforce_usb_xmit()
39 XMIT_INC(iforce->xmit.tail, 1); in __iforce_usb_xmit()
[all …]
H A Diforce-main.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2000-2002 Vojtech Pavlik <vojtech@ucw.cz>
4 * Copyright (c) 2001-2002, 2007 Johann Deneux <johann.deneux@gmail.com>
6 * USB/RS232 I-Force joysticks and wheels.
13 MODULE_DESCRIPTION("Core I-Force joysticks and wheels driver");
19 BTN_B, BTN_C, BTN_DEAD, -1 };
23 BTN_BASE2, BTN_BASE3, BTN_BASE4, BTN_DEAD, -1 };
27 BTN_BASE4, BTN_BASE5, BTN_BASE6, -1 };
30 { ABS_X, ABS_Y, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, -1 };
33 { ABS_X, ABS_Y, ABS_THROTTLE, ABS_RUDDER, ABS_HAT0X, ABS_HAT0Y, -1 };
[all …]
/linux/arch/arm/boot/dts/ti/omap/
H A Domap4-sdp.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
5 /dts-v1/;
9 #include "omap4-mcpdm.dtsi"
13 compatible = "ti,omap4-sdp", "ti,omap4430", "ti,omap4";
26 vdd_eth: fixedregulator-vdd-eth {
27 pinctrl-names = "default";
28 pinctrl-0 = <&enet_enable_gpio>;
30 compatible = "regulator-fixed";
31 regulator-name = "VDD_ETH";
[all …]
/linux/Documentation/devicetree/bindings/regulator/
H A Dmaxim,max8997.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
15 motor driver, flash LED driver and Micro-USB Interface Controller.
22 const: maxim,max8997-pmic
24 charger-supply:
30 - description: irq1 interrupt
31 - description: alert interrupt
33 max8997,pmic-buck1-dvs-voltage:
[all …]
/linux/Documentation/devicetree/bindings/iio/adc/
H A Dst,stm32-dfsdm-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/st,stm32-dfsdm-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics STM32 DFSDM ADC device driver
10 - Fabrice Gasnier <fabrice.gasnier@foss.st.com>
11 - Olivier Moysan <olivier.moysan@foss.st.com>
14 STM32 DFSDM ADC is a sigma delta analog-to-digital converter dedicated to
17 - Sigma delta modulators (motor control, metering...)
18 - PDM microphones (audio digital microphone)
[all …]
/linux/drivers/media/usb/pwc/
H A Dpwc.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* (C) 1999-2003 Nemosoft Unv.
3 (C) 2004-2006 Luc Saillard (luc@saillard.org)
6 driver and thus may have bugs that are not present in the original version.
8 The decompression routines have been implemented by reverse-engineering the
25 #include <media/v4l2-common.h>
26 #include <media/v4l2-device.h>
27 #include <media/v4l2-ioctl.h>
28 #include <media/v4l2-ctrls.h>
29 #include <media/v4l2-fh.h>
[all …]

12