Home
last modified time | relevance | path

Searched +full:motor +full:- +full:driver (Results 1 – 25 of 48) 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 …]
/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 …]
/linux/drivers/block/
H A Damiflop.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Portions of this driver are based on code contributed by Brad Pepers
9 * - now no bugs(?) any more for both HD & DD
10 * - added support for 40 Track 5.25" drives, 80-track hopefully behaves
11 * like 3.5" dd (no way to test - are there any 5.25" drives out there
13 * - wrote formatting routine (maybe dirty, but works)
15 * june/july 1995 added ms-dos support by Joerg Dorchain
17 * - currently only 9 and 18 sector disks
19 * - fixed a bug with the internal trackbuffer when using multiple
21 * - made formatting a bit safer
[all …]
H A Dataflop.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * - Driver now works interrupt driven
10 * - Support for two drives; should work, but I cannot test that :-(
11 * - Reading is done in whole tracks and buffered to speed up things
12 * - Disk change detection and drive deselecting after motor-off
14 * - Autodetection of disk format (DD/HD); untested yet, because I
15 * don't have an HD drive :-(
18 * - Autodetection works now
19 * - Support for 5 1/4'' disks
20 * - Removed drive type (unknown on atari)
[all …]
H A Dfloppy.c1 // SPDX-License-Identifier: GPL-2.0-only
11 * 02.12.91 - Changed to static variables to indicate need for reset
29 * call "floppy-on" directly, but have to set a special timer interrupt
34 * 28.02.92 - made track-buffering routines, based on the routines written
39 * Automatic floppy-detection and formatting written by Werner Almesberger
41 * the floppy-change signal detection.
45 * 1992/7/22 -- Hennus Bergman: Added better error reporting, fixed
49 * 1992/9/17: Added DMA allocation & DMA functions. -- hhb.
56 * modeled after the freeware MS-DOS program fdformat/88 V1.8 by
60 * There is a bug in the driver that makes it impossible to format a
[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/drivers/of/
H A Dunittest.c1 // SPDX-License-Identifier: GPL-2.0
6 #define pr_fmt(fmt) "### dt-test ### " fmt
10 #include <linux/dma-direct.h> /* to test phys_to_dma/dma_to_phys */
29 #include <linux/i2c-mux.h>
30 #include <linux/gpio/driver.h>
54 #define OF_KREF_READ(NODE) kref_read(&(NODE)->kobj.kref)
85 np = of_find_node_by_path("/testcase-data"); in of_unittest_find_node_by_name()
87 unittest(np && name && !strcmp("/testcase-data", name), in of_unittest_find_node_by_name()
88 "find /testcase-data failed\n"); in of_unittest_find_node_by_name()
93 np = of_find_node_by_path("/testcase-data/"); in of_unittest_find_node_by_name()
[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/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/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 …]
/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 …]

12