Home
last modified time | relevance | path

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

123

/linux-6.12.1/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 …]
Dpwm-vibra.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * PWM vibrator driver
11 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de>
14 #include <linux/gpio/consumer.h>
38 static int pwm_vibrator_start(struct pwm_vibrator *vibrator) in pwm_vibrator_start() argument
40 struct device *pdev = vibrator->input->dev.parent; in pwm_vibrator_start()
44 if (!vibrator->vcc_on) { in pwm_vibrator_start()
45 err = regulator_enable(vibrator->vcc); in pwm_vibrator_start()
50 vibrator->vcc_on = true; in pwm_vibrator_start()
53 gpiod_set_value_cansleep(vibrator->enable_gpio, 1); in pwm_vibrator_start()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
47 Say Y here to use the PowerOn Key for ST-Ericsson's AB8500
48 Mix-Sig PMIC.
51 will be called ab8500-ponkey.
71 module will be called ad714x-i2c.
81 module will be called ad714x-spi.
92 will be called ariel-pwrbutton.
102 module will be called arizona-haptics.
113 module will be called atc260x-onkey.
158 module will be called cs40l50-vibra.
[all …]
/linux-6.12.1/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.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:
30 (defined in include/dt-bindings/input/ti-drv260x.h)
[all …]
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dmsm8916-samsung-gt58.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-samsung-gt5-common.dtsi"
10 chassis-type = "tablet";
12 reg_5p4v: regulator-5p4v {
13 compatible = "regulator-fixed";
14 regulator-name = "vlcd_5p4v";
15 regulator-min-microvolt = <5400000>;
16 regulator-max-microvolt = <5400000>;
18 gpio = <&tlmm 8 GPIO_ACTIVE_HIGH>;
[all …]
Dmsm8916-samsung-gt510.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-samsung-gt5-common.dtsi"
10 chassis-type = "tablet";
12 speaker_codec: audio-codec {
14 sdmode-gpios = <&tlmm 55 GPIO_ACTIVE_HIGH>;
15 #sound-dai-cells = <0>;
16 pinctrl-0 = <&audio_sdmode_default>;
17 pinctrl-names = "default";
21 compatible = "clk-pwm";
[all …]
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 …]
Dmsm8939-samsung-a7.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8939-pm8916.dtsi"
6 #include "msm8916-modem-qdsp6.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/sound/apq8016-lpass.h>
16 chassis-type = "handset";
25 stdout-path = "serial0";
[all …]
Dmsm8916-samsung-a5u-eur.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-samsung-a2015-common.dtsi"
9 compatible = "samsung,a5u-eur", "qcom,msm8916";
10 chassis-type = "handset";
12 reg_touch_key: regulator-touch-key {
13 compatible = "regulator-fixed";
14 regulator-name = "touch_key";
15 regulator-min-microvolt = <3300000>;
16 regulator-max-microvolt = <3300000>;
[all …]
Dmsm8916-samsung-a3u-eur.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-samsung-a2015-common.dtsi"
9 compatible = "samsung,a3u-eur", "qcom,msm8916";
10 chassis-type = "handset";
12 reg_panel_vdd3: regulator-panel-vdd3 {
13 compatible = "regulator-fixed";
14 regulator-name = "panel_vdd3";
15 regulator-min-microvolt = <1800000>;
16 regulator-max-microvolt = <1800000>;
[all …]
/linux-6.12.1/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-6.12.1/arch/arm/boot/dts/qcom/
Dqcom-apq8026-lg-lenok.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include "qcom-msm8226.dtsi"
10 #include <dt-bindings/clock/qcom,mmcc-msm8974.h>
12 /delete-node/ &adsp_region;
17 chassis-type = "watch";
18 qcom,board-id = <132 0x0a>;
19 qcom,msm-id = <199 0x20000>;
27 stdout-path = "serial0:115200n8";
30 reserved-memory {
[all …]
Dqcom-msm8974-lge-nexus5-hammerhead.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
12 chassis-type = "handset";
20 stdout-path = "serial0:115200n8";
23 gpio-keys {
24 compatible = "gpio-keys";
26 pinctrl-names = "default";
[all …]
Dqcom-apq8026-huawei-sturgeon.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include "qcom-msm8226.dtsi"
10 #include <dt-bindings/input/ti-drv260x.h>
12 /delete-node/ &adsp_region;
17 chassis-type = "watch";
18 qcom,msm-id = <199 0x20000>;
19 qcom,board-id = <8 4>;
21 reserved-memory {
24 no-map;
[all …]
/linux-6.12.1/arch/arm/boot/dts/samsung/
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 …]
/linux-6.12.1/arch/arm64/boot/dts/rockchip/
Drk3326-gameforce-chi.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/pinctrl/rockchip.h>
16 chassis-type = "handset";
24 stdout-path = "serial2:115200n8";
27 adc_joystick: adc-joystick {
28 compatible = "adc-joystick";
[all …]
Drk3588s-gameforce-ace.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/linux-event-codes.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/pinctrl/rockchip.h>
9 #include <dt-bindings/pwm/pwm.h>
10 #include <dt-bindings/thermal/thermal.h>
11 #include <dt-bindings/usb/pd.h>
16 chassis-type = "handset";
[all …]
Drk3566-anbernic-rgxx3.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/linux-event-codes.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/pinctrl/rockchip.h>
9 #include <dt-bindings/soc/rockchip,vop2.h>
13 chassis-type = "handset";
16 stdout-path = "serial2:1500000n8";
19 adc_keys: adc-keys {
[all …]
/linux-6.12.1/arch/arm64/boot/dts/sprd/
Dsc2731.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
12 spi-max-frequency = <26000000>;
14 interrupt-controller;
15 #interrupt-cells = <1>;
16 #address-cells = <1>;
17 #size-cells = <0>;
20 compatible = "sprd,sc2731-charger";
22 monitored-battery = <&bat>;
25 led-controller@200 {
26 compatible = "sprd,sc2731-bltc";
[all …]
/linux-6.12.1/arch/arm/boot/dts/st/
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/leds/common.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
14 * You need an intermediate, device-tree compatible bootloader
[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/leds/common.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
[all …]
Dste-ux500-samsung-kyle.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung Galaxy Amp SGH-I407 also known as Kyle.
10 /dts-v1/;
11 #include "ste-db8500.dtsi"
12 #include "ste-ab8505.dtsi"
13 #include "ste-dbx5x0-pinctrl.dtsi"
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/leds/common.h>
16 #include <dt-bindings/input/input.h>
17 #include <dt-bindings/interrupt-controller/irq.h>
[all …]
/linux-6.12.1/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 …]

123