Home
last modified time | relevance | path

Searched +full:gpio +full:- +full:vibrator (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v5.10/drivers/input/misc/
Dgpio-vibra.c1 // SPDX-License-Identifier: GPL-2.0+
3 * GPIO vibrator driver
7 * Based on PWM vibrator driver:
14 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de>
17 #include <linux/gpio/consumer.h>
29 struct gpio_desc *gpio; member
37 static int gpio_vibrator_start(struct gpio_vibrator *vibrator) in gpio_vibrator_start() argument
39 struct device *pdev = vibrator->input->dev.parent; in gpio_vibrator_start()
42 if (!vibrator->vcc_on) { in gpio_vibrator_start()
43 err = regulator_enable(vibrator->vcc); in gpio_vibrator_start()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
40 Say Y here to use the PowerOn Key for ST-Ericsson's AB8500
41 Mix-Sig PMIC.
44 will be called ab8500-ponkey.
64 module will be called ad714x-i2c.
74 module will be called ad714x-spi.
84 module will be called arizona-haptics.
142 will be called pm8941-pwrkey.
145 tristate "Qualcomm PM8XXX vibrator support"
149 This option enables device driver support for the vibrator
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
8 obj-$(CONFIG_INPUT_88PM860X_ONKEY) += 88pm860x_onkey.o
9 obj-$(CONFIG_INPUT_88PM80X_ONKEY) += 88pm80x_onkey.o
10 obj-$(CONFIG_INPUT_AB8500_PONKEY) += ab8500-ponkey.o
11 obj-$(CONFIG_INPUT_AD714X) += ad714x.o
12 obj-$(CONFIG_INPUT_AD714X_I2C) += ad714x-i2c.o
13 obj-$(CONFIG_INPUT_AD714X_SPI) += ad714x-spi.o
14 obj-$(CONFIG_INPUT_ADXL34X) += adxl34x.o
15 obj-$(CONFIG_INPUT_ADXL34X_I2C) += adxl34x-i2c.o
16 obj-$(CONFIG_INPUT_ADXL34X_SPI) += adxl34x-spi.o
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/input/
Dgpio-vibrator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/input/gpio-vibrator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: GPIO vibrator
10 - Luca Weiss <luca@z3ntu.xyz>
13 Registers a GPIO device as vibrator, where the on/off capability is controlled by a GPIO.
17 const: gpio-vibrator
19 enable-gpios:
22 vcc-supply:
[all …]
Dti,drv260x.txt1 * Texas Instruments - drv260x Haptics driver family
4 - compatible - One of:
5 "ti,drv2604" - DRV2604
6 "ti,drv2605" - DRV2605
7 "ti,drv2605l" - DRV2605L
8 - reg - I2C slave address
9 - vbat-supply - Required supply regulator
10 - mode - Power up mode of the chip (defined in include/dt-bindings/input/ti-drv260x.h)
11 DRV260X_LRA_MODE - Linear Resonance Actuator mode (Piezoelectric)
12 DRV260X_LRA_NO_CAL_MODE - This is a LRA Mode but there is no calibration
[all …]
/Linux-v5.10/drivers/staging/greybus/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 ccflags-y += -I$(src)
6 gb-bootrom-y := bootrom.o
7 gb-camera-y := camera.o
8 gb-firmware-y := fw-core.o fw-download.o fw-management.o authentication.o
9 gb-spilib-y := spilib.o
10 gb-hid-y := hid.o
11 gb-light-y := light.o
12 gb-log-y := log.o
13 gb-loopback-y := loopback.o
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0
12 will be called gb-audio.ko
20 bridge from an APB-I2S port to a Unipro network.
23 will be called gb-audio-codec.ko
33 will be called gb-bootrom.ko
43 will be called gb-camera.ko
53 will be called gb-firmware.ko
63 will be called gb-hid.ko
73 will be called gb-light.ko
82 will be called gb-log.ko
[all …]
/Linux-v5.10/include/linux/mfd/
Dlp8788.h1 /* SPDX-License-Identifier: GPL-2.0-only */
13 #include <linux/gpio.h>
18 #define LP8788_DEV_BUCK "lp8788-buck"
19 #define LP8788_DEV_DLDO "lp8788-dldo"
20 #define LP8788_DEV_ALDO "lp8788-aldo"
21 #define LP8788_DEV_CHARGER "lp8788-charger"
22 #define LP8788_DEV_RTC "lp8788-rtc"
23 #define LP8788_DEV_BACKLIGHT "lp8788-backlight"
24 #define LP8788_DEV_VIBRATOR "lp8788-vibrator"
25 #define LP8788_DEV_KEYLED "lp8788-keyled"
[all …]
/Linux-v5.10/arch/arm/boot/dts/
Ds5pv210-aries.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
32 reserved-memory {
33 #address-cells = <1>;
34 #size-cells = <1>;
38 compatible = "shared-dma-pool";
39 no-map;
44 compatible = "shared-dma-pool";
[all …]
Dste-ux500-samsung-golden.dts1 // SPDX-License-Identifier: GPL-2.0-only
2 /dts-v1/;
4 #include "ste-db8500.dtsi"
5 #include "ste-ab8505.dtsi"
6 #include "ste-dbx5x0-pinctrl.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
13 * You need an intermediate, device-tree compatible bootloader
16 * There is a port of (mainline) U-Boot, see
[all …]
Dste-ux500-samsung-skomer.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung XCover 2 GT-S7710 also known as Skomer.
6 /dts-v1/;
7 #include "ste-db8500.dtsi"
8 #include "ste-ab8505.dtsi"
9 #include "ste-dbx5x0-pinctrl.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
15 model = "Samsung XCover 2 (GT-S7710)";
[all …]
Dqcom-msm8974-fairphone-fp2.dts1 #include "qcom-msm8974.dtsi"
2 #include "qcom-pm8841.dtsi"
3 #include "qcom-pm8941.dtsi"
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
18 stdout-path = "serial0:115200n8";
21 gpio-keys {
22 compatible = "gpio-keys";
23 input-name = "gpio-keys";
[all …]
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 …]
Dmotorola-mapphone-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
2 /dts-v1/;
4 #include <dt-bindings/input/input.h>
6 #include "motorola-cpcap-mapphone.dtsi"
10 stdout-path = &uart3;
19 * We seem to have only 1021 MB accessible, 1021 - 1022 is locked,
20 * then 1023 - 1024 seems to contain mbm.
27 /* Poweroff GPIO probably connected to CPCAP */
28 gpio-poweroff {
29 compatible = "gpio-poweroff";
[all …]
Dqcom-msm8660.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/interrupt-controller/irq.h>
5 #include <dt-bindings/interrupt-controller/arm-gic.h>
6 #include <dt-bindings/clock/qcom,gcc-msm8660.h>
7 #include <dt-bindings/soc/qcom,gsbi.h>
10 #address-cells = <1>;
11 #size-cells = <1>;
14 interrupt-parent = <&intc>;
17 #address-cells = <1>;
[all …]
/Linux-v5.10/arch/arm64/boot/dts/sprd/
Dsc2731.dtsi6 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
13 spi-max-frequency = <26000000>;
15 interrupt-controller;
16 #interrupt-cells = <1>;
17 #address-cells = <1>;
18 #size-cells = <0>;
21 compatible = "sprd,sc2731-charger";
23 monitored-battery = <&bat>;
26 led-controller@200 {
27 compatible = "sprd,sc2731-bltc";
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/mfd/
Dtc3589x.txt1 * Toshiba TC3589x multi-purpose expander
3 The Toshiba TC3589x series are I2C-based MFD devices which may expose the
4 following built-in devices: gpio, keypad, rotator (vibrator), PWM (for
7 - TC35890
8 - TC35892
9 - TC35893
10 - TC35894
11 - TC35895
12 - TC35896
15 - compatible : must be "toshiba,tc35890", "toshiba,tc35892", "toshiba,tc35893",
[all …]
/Linux-v5.10/arch/arm64/boot/dts/allwinner/
Dsun50i-a64-pinephone.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include "sun50i-a64.dtsi"
7 #include "sun50i-a64-cpu-opp.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/pwm/pwm.h>
20 compatible = "pwm-backlight";
22 enable-gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; /* PH10 */
27 stdout-path = "serial0:115200n8";
[all …]
/Linux-v5.10/arch/arm64/boot/dts/qcom/
Dpm8916.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/iio/qcom,spmi-vadc.h>
3 #include <dt-bindings/input/linux-event-codes.h>
4 #include <dt-bindings/interrupt-controller/irq.h>
5 #include <dt-bindings/spmi/spmi.h>
10 compatible = "qcom,pm8916", "qcom,spmi-pmic";
12 #address-cells = <1>;
13 #size-cells = <0>;
16 compatible = "qcom,pm8916-pon";
18 mode-bootloader = <0x2>;
[all …]
/Linux-v5.10/drivers/mfd/
Dtps65010.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * tps65010 - driver for tps6501x power management chips
6 * Copyright (C) 2004-2005 David Brownell
24 #include <linux/gpio/driver.h>
27 /*-------------------------------------------------------------------------*/
37 /*-------------------------------------------------------------------------*/
47 * battery-insert != device-on.
84 /*-------------------------------------------------------------------------*/
184 struct tps65010 *tps = s->private; in dbg_show()
190 switch (tps->model) { in dbg_show()
[all …]
/Linux-v5.10/arch/arm64/boot/dts/freescale/
Dimx8mq-librem5-devkit.dts1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2018-2019 Purism SPC
6 /dts-v1/;
8 #include "dt-bindings/input/input.h"
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include "dt-bindings/pwm/pwm.h"
11 #include "dt-bindings/usb/pd.h"
16 compatible = "purism,librem5-devkit", "fsl,imx8mq";
18 backlight_dsi: backlight-dsi {
19 compatible = "pwm-backlight";
[all …]
Dimx8mq-librem5.dtsi1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2018-2020 Purism SPC
6 /dts-v1/;
8 #include "dt-bindings/input/input.h"
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include "dt-bindings/pwm/pwm.h"
11 #include "dt-bindings/usb/pd.h"
18 backlight_dsi: backlight-dsi {
19 compatible = "led-backlight";
23 pmic_osc: clock-pmic {
[all …]
/Linux-v5.10/arch/mips/boot/dts/ingenic/
Dgcw0.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
5 #include <dt-bindings/clock/ingenic,tcu.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/iio/adc/ingenic,adc.h>
9 #include <dt-bindings/input/input.h>
29 stdout-path = "serial2:57600n8";
33 compatible = "regulator-fixed";
34 regulator-name = "vcc";
36 regulator-min-microvolt = <3300000>;
[all …]
/Linux-v5.10/arch/arm/mach-pxa/
Dmioa701.c1 // SPDX-License-Identifier: GPL-2.0-or-later
19 #include <linux/gpio.h>
20 #include <linux/gpio/machine.h>
31 #include <linux/platform_data/i2c-pxa.h>
33 #include <asm/mach-types.h>
37 #include "regs-rtc.h"
38 #include <linux/platform_data/keypad-pxa27x.h>
39 #include <linux/platform_data/video-pxafb.h>
40 #include <linux/platform_data/mmc-pxamci.h>
42 #include "pxa27x-udc.h"
[all …]
/Linux-v5.10/arch/arm/mach-omap1/
Dboard-htcherald.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Based on the board-htcwizard.c file from the linwizard project:
16 #include <linux/gpio.h>
19 #include <linux/platform_data/i2c-gpio.h>
25 #include <linux/platform_data/keypad-omap.h>
27 #include <asm/mach-types.h>
46 /* GPIO definitions for the power button and keyboard slide switch */
51 /* GPIO definitions for the touchscreen */
59 * Chip 3 - 0x03
62 * ------------------------------------
[all …]

12