Home
last modified time | relevance | path

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

123

/openbmc/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 …]
H A Dmaxim,max77693.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chanwoo Choi <cw00.choi@samsung.com>
11 - Krzysztof Kozlowski <krzk@kernel.org>
18 includes voltage current regulators, charger, LED/flash, haptic motor driver
37 max77693-muic:
44 const: maxim,max77693-muic
47 - compatible
55 const: maxim,max77693-muic
[all …]
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/files/
H A Dmotor-ctrl1 #!/bin/bash -e
3 # Control step motor rotate of sled
5 # shellcheck source=meta-facebook/meta-bletchley/recipes-bletchley/plat-tools/files/bletchley-commo…
6 source /usr/libexec/bletchley-common-functions
9 # Setting step motor control pins to start/stop motor
15 # 5. Value of Motor Driver VREF PIN
29 echo "Usage: motor-ctrl [sled1 | sled2 | sled3 | sled4 | sled5 | sled6] [f r s]"
30 echo " f : Step Motor go forward"
31 echo " r : Step Motor go reverse"
32 echo " s : Step Motor stop "
[all …]
H A Dmotor-init1 #!/bin/bash -e
3 # Initialize for step motor of sled:
5 # Setup gpio pins for step motor control
6 # Moving step motor back to initial position
10 # shellcheck source=meta-facebook/meta-bletchley/recipes-bletchley/plat-tools/files/bletchley-commo…
11 source /usr/libexec/bletchley-common-functions
14 #Sleld 1~6 using bmc pwm8~13 as motor driver stick
26 if [ ! -d "$PWM_PATH" ];then
29 if [ -d "$PWM_PATH" ];then
51 #Init gpio pins for step motor control
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/
H A Datomisp_ioctl.c1 // SPDX-License-Identifier: GPL-2.0
24 #include <media/v4l2-ioctl.h>
25 #include <media/v4l2-event.h>
32 #include "atomisp-regs.h"
41 static const char *DRIVER = "atomisp"; /* max size 15 */ variable
188 .minimum = -4,
196 .name = "one-time exposure zone number",
224 .minimum = -4,
351 .description = "NV12, Y-plane, CbCr interleaved",
358 .description = "NV21, Y-plane, CbCr interleaved",
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
17 stdout-path = "serial0";
20 reserved-memory {
22 tz-apps@85500000 {
24 no-map;
[all …]
/openbmc/linux/drivers/staging/fieldbus/Documentation/
H A Dfieldbus_dev.txt1 Fieldbus-Device Subsystem
4 Part 0 - What is a Fieldbus Device ?
5 ------------------------------------
8 for real-time distributed control, standardized as IEC 61158.
10 A complex automated industrial system -- such as manufacturing assembly line --
11 usually needs a distributed control system -- an organized hierarchy of
12 controller systems -- to function. In this hierarchy, there is usually a
15 logic controllers (PLC) via a non-time-critical communications system
22 A "Fieldbus Device" is such an actuator, motor, console light, switch, ...
29 Part I - Why do we need this subsystem?
[all …]
/openbmc/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 …]
/openbmc/openbmc/meta-raspberrypi/dynamic-layers/openembedded-layer/recipes-devtools/python/
H A Dpython3-adafruit-circuitpython-pca9685_3.3.4.bb1 SUMMARY = "CircuitPython driver for motor, stepper, and servo based on PCA9685."
13 DEPENDS += "python3-setuptools-scm-native"
16 python3-adafruit-blinka \
17 python3-adafruit-circuitpython-busdevice \
18 python3-adafruit-circuitpython-register \
19 python3-core \
21 COMPATIBLE_HOST:libc-musl:class-target = "null"
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/u-boot/drivers/power/pmic/
H A DKconfig2 bool "Enable Driver Model for PMIC drivers (UCLASS_PMIC)"
4 ---help---
5 This config enables the driver-model PMIC support.
6 UCLASS_PMIC - designed to provide an I/O interface for PMIC devices.
7 For the multi-function PMIC devices, this can be used as parent I/O
10 - 'drivers/power/pmic/pmic-uclass.c'
11 - 'include/power/pmic.h'
17 ---help---
21 U-Boot proper.
27 ---help---
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]

123