/kernel/linux/linux-5.10/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 | 145 tristate "Qualcomm PM8XXX vibrator support" 149 This option enables device driver support for the vibrator 154 module will be called pm8xxx-vibrator. 279 tristate "GPIO vibrator support" 283 Say Y here to get support for GPIO based vibrator devices. 568 tristate "PWM vibrator support" 572 Say Y here to get support for PWM based vibrator devices. 852 tristate "Spreadtrum sc27xx vibrator support" 856 This option enables support for Spreadtrum sc27xx vibrator driver.
|
D | Makefile | 59 obj-$(CONFIG_INPUT_PM8XXX_VIBRATOR) += pm8xxx-vibrator.o
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
D | sprd,sc27xx-vibra.txt | 4 - compatible: should be "sprd,sc2731-vibrator". 5 - reg: address of vibrator control register. 19 vibrator@eb4 { 20 compatible = "sprd,sc2731-vibrator";
|
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)
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/ |
D | palmas-pmic.txt | 26 - ti,ldo6-vibrator : ldo6 is in vibrator mode 66 ti,ldo6-vibrator;
|
/kernel/linux/linux-5.10/arch/arm64/boot/dts/sprd/ |
D | sc2731.dtsi | 111 vibrator@ec8 { 112 compatible = "sprd,sc2731-vibrator";
|
/kernel/linux/linux-5.10/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 | 374 vibrator { 375 compatible = "gpio-vibrator"; 628 vibrator {
|
D | ste-ux500-samsung-skomer.dts | 67 vibrator { 68 compatible = "gpio-vibrator"; 571 vibrator {
|
D | motorola-mapphone-common.dtsi | 179 vibrator { 180 compatible = "pwm-vibrator";
|
D | qcom-msm8660.dtsi | 396 vibrator@4a {
|
/kernel/linux/linux-5.10/arch/arm64/boot/dts/allwinner/ |
D | sun50i-a64-pinephone.dtsi | 58 vibrator { 59 compatible = "gpio-vibrator";
|
/kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/ |
D | pm8916.dtsi | 121 pm8916_vib: vibrator@c000 {
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
D | tc3589x.txt | 4 following built-in devices: gpio, keypad, rotator (vibrator), PWM (for
|
/kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/ |
D | imx8mq-librem5-devkit.dts | 210 vibrator { 211 compatible = "gpio-vibrator";
|
D | imx8mq-librem5.dtsi | 186 vibrator { 187 compatible = "pwm-vibrator";
|
/kernel/linux/linux-5.10/arch/mips/boot/dts/ingenic/ |
D | gcw0.dts | 111 compatible = "pwm-vibrator";
|