/linux-6.1.9/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. 903 tristate "Spreadtrum sc27xx vibrator support" 907 This option enables support for Spreadtrum sc27xx vibrator driver.
|
D | Makefile | 64 obj-$(CONFIG_INPUT_PM8XXX_VIBRATOR) += pm8xxx-vibrator.o
|
/linux-6.1.9/Documentation/devicetree/bindings/input/ |
D | gpio-vibrator.yaml | 4 $id: http://devicetree.org/schemas/input/gpio-vibrator.yaml# 7 title: GPIO vibrator 13 Registers a GPIO device as vibrator, where the on/off capability is controlled by a GPIO. 17 const: gpio-vibrator 35 vibrator { 36 compatible = "gpio-vibrator";
|
D | pwm-vibrator.yaml | 4 $id: "http://devicetree.org/schemas/input/pwm-vibrator.yaml#" 7 title: PWM vibrator 13 Registers a PWM device as vibrator. It is expected, that the vibrator's 23 const: pwm-vibrator 51 vibrator { 52 compatible = "pwm-vibrator";
|
D | sprd,sc27xx-vibrator.yaml | 5 $id: http://devicetree.org/schemas/input/sprd,sc27xx-vibrator.yaml# 18 - sprd,sc2721-vibrator 19 - sprd,sc2730-vibrator 20 - sprd,sc2731-vibrator 44 vibrator@eb4 { 45 compatible = "sprd,sc2731-vibrator";
|
D | qcom,pm8xxx-vib.yaml | 34 vibrator@4a {
|
D | ti,drv260x.txt | 15 DRV260X_ERM_MODE - Eccentric Rotating Mass mode (Rotary vibrator)
|
/linux-6.1.9/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);
|
/linux-6.1.9/Documentation/devicetree/bindings/regulator/ |
D | palmas-pmic.txt | 26 - ti,ldo6-vibrator : ldo6 is in vibrator mode 66 ti,ldo6-vibrator;
|
/linux-6.1.9/arch/arm64/boot/dts/sprd/ |
D | sc2731.dtsi | 111 vibrator@ec8 { 112 compatible = "sprd,sc2731-vibrator";
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | s5pv210-aries.dtsi | 64 regulator-name = "vibrator-en"; 532 vibrator: pwm-vibrator { label 533 compatible = "pwm-vibrator"; 754 vibrator_ena: vibrator-ena-pins {
|
D | qcom-pm8226.dtsi | 105 pm8226_vib: vibrator@c000 {
|
D | qcom-msm8974pro-fairphone-fp2.dts | 54 vibrator { 55 compatible = "gpio-vibrator";
|
D | ste-ux500-samsung-golden.dts | 441 vibrator { 442 compatible = "gpio-vibrator"; 704 vibrator {
|
D | ste-ux500-samsung-kyle.dts | 131 vibrator { 132 compatible = "gpio-vibrator"; 660 vibrator {
|
D | ste-ux500-samsung-skomer.dts | 98 vibrator { 99 compatible = "gpio-vibrator"; 662 vibrator {
|
D | ste-ux500-samsung-codina-tmo.dts | 140 vibrator { 141 compatible = "gpio-vibrator"; 758 vibrator {
|
/linux-6.1.9/Documentation/devicetree/bindings/mfd/ |
D | tc3589x.txt | 4 following built-in devices: gpio, keypad, rotator (vibrator), PWM (for
|
D | mediatek,mt6370.yaml | 79 vibrator.
|
/linux-6.1.9/arch/arm64/boot/dts/allwinner/ |
D | sun50i-a64-pinephone.dtsi | 93 vibrator { 94 compatible = "gpio-vibrator";
|
/linux-6.1.9/arch/arm64/boot/dts/qcom/ |
D | pm8916.dtsi | 135 pm8916_vib: vibrator@c000 {
|
/linux-6.1.9/arch/arm64/boot/dts/rockchip/ |
D | rk3566-anbernic-rgxx3.dtsi | 307 vibrator: pwm-vibrator { label 308 compatible = "pwm-vibrator";
|