| /Linux-v5.15/drivers/input/misc/ |
| D | pwm-vibra.c | 36 static int pwm_vibrator_start(struct pwm_vibrator *vibrator) in pwm_vibrator_start() argument 38 struct device *pdev = vibrator->input->dev.parent; in pwm_vibrator_start() 42 if (!vibrator->vcc_on) { in pwm_vibrator_start() 43 err = regulator_enable(vibrator->vcc); in pwm_vibrator_start() 48 vibrator->vcc_on = true; in pwm_vibrator_start() 51 pwm_get_state(vibrator->pwm, &state); in pwm_vibrator_start() 52 pwm_set_relative_duty_cycle(&state, vibrator->level, 0xffff); in pwm_vibrator_start() 55 err = pwm_apply_state(vibrator->pwm, &state); in pwm_vibrator_start() 61 if (vibrator->pwm_dir) { in pwm_vibrator_start() 62 pwm_get_state(vibrator->pwm_dir, &state); in pwm_vibrator_start() [all …]
|
| D | gpio-vibra.c | 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() 48 vibrator->vcc_on = true; in gpio_vibrator_start() 51 gpiod_set_value_cansleep(vibrator->gpio, 1); in gpio_vibrator_start() 56 static void gpio_vibrator_stop(struct gpio_vibrator *vibrator) in gpio_vibrator_stop() argument 58 gpiod_set_value_cansleep(vibrator->gpio, 0); in gpio_vibrator_stop() 60 if (vibrator->vcc_on) { in gpio_vibrator_stop() 61 regulator_disable(vibrator->vcc); in gpio_vibrator_stop() [all …]
|
| D | Kconfig | 167 tristate "Qualcomm PM8XXX vibrator support" 171 This option enables device driver support for the vibrator 176 module will be called pm8xxx-vibrator. 301 tristate "GPIO vibrator support" 305 Say Y here to get support for GPIO based vibrator devices. 578 tristate "PWM vibrator support" 582 Say Y here to get support for PWM based vibrator devices. 875 tristate "Spreadtrum sc27xx vibrator support" 879 This option enables support for Spreadtrum sc27xx vibrator driver.
|
| D | Makefile | 62 obj-$(CONFIG_INPUT_PM8XXX_VIBRATOR) += pm8xxx-vibrator.o
|
| /Linux-v5.15/Documentation/devicetree/bindings/input/ |
| D | pwm-vibrator.txt | 1 * PWM vibrator device tree bindings 3 Registers a PWM device as vibrator. It is expected, that the vibrator's 12 - compatible: should contain "pwm-vibrator" 59 vibrator { 60 compatible = "pwm-vibrator";
|
| D | qcom,pm8xxx-vib.txt | 20 vibrator@4a {
|
| D | ti,drv260x.txt | 15 DRV260X_ERM_MODE - Eccentric Rotating Mass mode (Rotary vibrator)
|
| /Linux-v5.15/drivers/staging/greybus/ |
| D | Makefile | 16 gb-vibrator-y := vibrator.o 27 obj-$(CONFIG_GREYBUS_VIBRATOR) += gb-vibrator.o
|
| D | vibrator.c | 106 ATTRIBUTE_GROUPS(vibrator);
|
| D | Kconfig | 119 will be called gb-vibrator.ko
|
| /Linux-v5.15/Documentation/devicetree/bindings/regulator/ |
| D | palmas-pmic.txt | 26 - ti,ldo6-vibrator : ldo6 is in vibrator mode 66 ti,ldo6-vibrator;
|
| /Linux-v5.15/arch/arm64/boot/dts/sprd/ |
| D | sc2731.dtsi | 111 vibrator@ec8 { 112 compatible = "sprd,sc2731-vibrator";
|
| /Linux-v5.15/arch/arm/boot/dts/ |
| D | qcom-msm8974-fairphone-fp2.dts | 53 vibrator { 54 compatible = "gpio-vibrator";
|
| D | s5pv210-aries.dtsi | 64 regulator-name = "vibrator-en"; 532 vibrator: pwm-vibrator { label 533 compatible = "pwm-vibrator"; 755 vibrator_ena: vibrator-ena {
|
| D | ste-ux500-samsung-golden.dts | 407 vibrator { 408 compatible = "gpio-vibrator"; 670 vibrator {
|
| D | ste-ux500-samsung-skomer.dts | 68 vibrator { 69 compatible = "gpio-vibrator"; 623 vibrator {
|
| D | ste-ux500-samsung-kyle.dts | 101 vibrator { 102 compatible = "gpio-vibrator"; 626 vibrator {
|
| D | ste-ux500-samsung-codina.dts | 165 vibrator { 166 compatible = "gpio-vibrator"; 828 vibrator {
|
| D | motorola-mapphone-common.dtsi | 156 vibrator { 157 compatible = "pwm-vibrator";
|
| /Linux-v5.15/arch/arm64/boot/dts/qcom/ |
| D | pm8916.dtsi | 122 pm8916_vib: vibrator@c000 {
|
| /Linux-v5.15/Documentation/devicetree/bindings/mfd/ |
| D | tc3589x.txt | 4 following built-in devices: gpio, keypad, rotator (vibrator), PWM (for
|
| /Linux-v5.15/arch/arm64/boot/dts/allwinner/ |
| D | sun50i-a64-pinephone.dtsi | 91 vibrator { 92 compatible = "gpio-vibrator";
|
| /Linux-v5.15/arch/arm64/boot/dts/freescale/ |
| D | imx8mq-librem5-devkit.dts | 226 vibrator { 227 compatible = "gpio-vibrator";
|
| D | imx8mq-librem5.dtsi | 201 vibrator { 202 compatible = "pwm-vibrator";
|
| /Linux-v5.15/arch/mips/boot/dts/ingenic/ |
| D | gcw0.dts | 110 compatible = "pwm-vibrator";
|