| /linux/drivers/input/misc/ |
| H A D | max77693-haptic.c | 3 * MAXIM MAX77693/MAX77843 Haptic device driver 69 static int max77693_haptic_set_duty_cycle(struct max77693_haptic *haptic) in max77693_haptic_set_duty_cycle() argument 74 pwm_init_state(haptic->pwm_dev, &state); in max77693_haptic_set_duty_cycle() 75 state.duty_cycle = (state.period + haptic->pwm_duty) / 2; in max77693_haptic_set_duty_cycle() 77 error = pwm_apply_might_sleep(haptic->pwm_dev, &state); in max77693_haptic_set_duty_cycle() 79 dev_err(haptic->dev, in max77693_haptic_set_duty_cycle() 87 static int max77843_haptic_bias(struct max77693_haptic *haptic, bool on) in max77843_haptic_bias() argument 91 if (haptic->dev_type != TYPE_MAX77843) in max77843_haptic_bias() 94 error = regmap_update_bits(haptic->regmap_haptic, in max77843_haptic_bias() 99 dev_err(haptic->dev, "failed to %s bias: %d\n", in max77843_haptic_bias() [all …]
|
| H A D | max8997_haptic.c | 3 * MAX8997-haptic controller driver 21 /* Haptic configuration 2 register */ 26 /* Haptic driver configuration register */ 246 dev_err(&pdev->dev, "no haptic platform data\n"); in max8997_haptic_probe() 261 chip->client = iodev->haptic; in max8997_haptic_probe() 283 "unable to request PWM for haptic, error: %d\n", in max8997_haptic_probe() 306 input_dev->name = "max8997-haptic"; in max8997_haptic_probe() 374 { "max8997-haptic", 0 }, 381 .name = "max8997-haptic",
|
| H A D | cs40l50-vibra.c | 3 * CS40L50 Advanced Haptic Driver with waveform memory, 65 /* Describes haptic interface of loaded DSP firmware */ 78 /* Describes configuration and state of haptic operations */ 556 MODULE_DESCRIPTION("CS40L50 Advanced Haptic Driver");
|
| H A D | da7280.c | 3 * DA7280 Haptic device driver 288 /* The patterns should be updated when haptic is not working */ in da7280_haptic_mem_update() 294 "Warning! Please check HAPTIC status.\n"); in da7280_haptic_mem_update() 514 /* The effect should be uploaded when haptic is not working */ in da7280_haptics_upload_effect() 925 * Stop first if haptic is active, otherwise, the fault may in da7280_irq_handler() 1213 /* Initialize input device for haptic device */ in da7280_probe() 1220 input_dev->name = "da7280-haptic"; in da7280_probe()
|
| /linux/Documentation/devicetree/bindings/input/ |
| H A D | regulator-haptic.yaml | 4 $id: http://devicetree.org/schemas/input/regulator-haptic.yaml# 7 title: Regulator Haptic 14 const: regulator-haptic 16 haptic-supply: 18 Power supply to the haptic motor 22 The maximum voltage value supplied to the haptic motor 26 The minimum voltage value supplied to the haptic motor 30 - haptic-supply 39 compatible = "regulator-haptic"; 40 haptic-supply = <&motor_regulator>;
|
| H A D | cirrus,cs40l50.yaml | 7 title: Cirrus Logic CS40L50 Advanced Haptic Driver 13 CS40L50 is a haptic driver with waveform memory, 60 haptic-driver@34 {
|
| /linux/samples/hid/ |
| H A D | hid_surface_dial.c | 5 * and depending on the chosen resolution enable or not the haptic feedback: 7 * without haptic feedback 8 * - any other resolution will report N "ticks" in a full rotation with haptic 11 * A good default for low resolution haptic scrolling is 72 (1 "tick" every 5 57 "and depending on the chosen resolution enable or not the haptic feedback:\n" in usage() 59 " without haptic feedback\n" in usage() 60 "- any other resolution will report N 'ticks' in a full rotation with haptic\n" in usage() 63 "A good default for low resolution haptic scrolling is 72 (1 'tick' every 5\n" in usage() 102 fprintf(stderr, "can't locate haptic prog: %m\n"); in set_haptic() 108 fprintf(stderr, "can't set haptic configuration to hid device %d: %m (err: %d)\n", in set_haptic()
|
| H A D | hid_surface_dial.bpf.c | 84 haptic_data[4] = 3; /* haptic Auto Trigger */ in set_haptic() 94 bpf_printk("set haptic ret value: %d -> %d", ret, haptic_data[4]); in set_haptic()
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | maxim,max77843.yaml | 17 includes voltage current regulators, charger, fuel-gauge, haptic motor driver 38 const: maxim,max77843-haptic 40 haptic-supply: 41 description: Power supply to the haptic motor 48 - haptic-supply 140 compatible = "maxim,max77843-haptic"; 141 haptic-supply = <&ldo38_reg>;
|
| /linux/include/linux/platform_data/ |
| H A D | regulator-haptic.h | 3 * Regulator Haptic Platform Data 16 * @max_volt: maximum voltage value supplied to the haptic motor. 18 * @min_volt: minimum voltage value supplied to the haptic motor.
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | msm8916-samsung-e2015-common.dtsi | 6 haptic { 7 compatible = "regulator-haptic"; 8 haptic-supply = <®_motor_vdd>;
|
| H A D | msm8916-samsung-fortuna-common.dtsi | 81 haptic { 82 compatible = "regulator-haptic"; 83 haptic-supply = <®_motor_vdd>;
|
| /linux/drivers/mfd/ |
| H A D | max77693.c | 42 .name = "max77693-haptic", 43 .of_compatible = "maxim,max77693-haptic", 191 dev_err(max77693->dev, "Failed to allocate I2C device for Haptic\n"); in max77693_i2c_probe() 202 "failed to initialize haptic register map: %d\n", ret); in max77693_i2c_probe()
|
| H A D | max77843.c | 33 .name = "max77843-haptic", 34 .of_compatible = "maxim,max77843-haptic",
|
| H A D | cs40l50-i2c.c | 3 * CS40L50 Advanced Haptic Driver with waveform memory,
|
| H A D | cs40l50-spi.c | 3 * CS40L50 Advanced Haptic Driver with waveform memory,
|
| /linux/drivers/hid/ |
| H A D | hid-multitouch.c | 52 #include "hid-haptic.h" 172 struct hid_haptic_device *haptic; /* haptic related configuration */ member 182 bool is_haptic_touchpad; /* is this device a haptic touchpad? */ 544 hid_haptic_feature_mapping(hdev, td->haptic, field, usage); in mt_feature_mapping() 901 hid_haptic_check_pressure_unit(td->haptic, in mt_touch_input_mapping() 1025 hid_haptic_pressure_reset(td->haptic); in mt_sync_frame() 1178 hid_haptic_pressure_increase(td->haptic, *slot->p); in mt_process_slot() 1484 ret = hid_haptic_input_mapping(hdev, td->haptic, hi, field, usage, bit, in mt_input_mapping() 1713 if (hid_haptic_input_configured(hdev, td->haptic, hi) == 0) in mt_input_configured() 1863 td->haptic = devm_kzalloc(&hdev->dev, sizeof(*(td->haptic)), GFP_KERNEL); in mt_probe() [all …]
|
| /linux/Documentation/hid/ |
| H A D | hid-bpf.rst | 76 example, the Microsoft Surface Dial is a pushbutton with haptic feedback that 80 events into wheel events. Also, the userspace program can set/unset the haptic 82 screen we likely need to have a haptic click every 15 degrees. But when 351 Let's imagine we have a new tablet device that has some haptic capabilities 358 haptic feature of the device itself. 454 To be able to change the haptic feedback from the tablet, the userspace program 520 Now our userspace program is aware of the haptic state and can control it. The
|
| /linux/include/linux/mfd/ |
| H A D | max8997.h | 10 * MAX8997 has PMIC, MUIC, HAPTIC, RTC, FLASH, and Fuel Gauge devices. 198 /* ---- HAPTIC ---- */
|
| H A D | max77693.h | 12 * MAX77693 has PMIC, Charger, Flash LED, Haptic, MUIC devices.
|
| /linux/arch/arm/boot/dts/allwinner/ |
| H A D | sun4i-a10-dserve-dsrv9703c.dts | 73 compatible = "regulator-haptic"; 74 haptic-supply = <®_motor>;
|
| /linux/sound/soc/codecs/ |
| H A D | lm49453.c | 587 /* All end points HP,EP, LS, Lineout and Haptic */ 628 SND_SOC_DAPM_OUT_DRV("Haptic Left Switch", 630 SND_SOC_DAPM_OUT_DRV("Haptic Right Switch", 638 SND_SOC_DAPM_DAC("HAL DAC", "Haptic", SND_SOC_NOPM, 0, 0), 639 SND_SOC_DAPM_DAC("HAR DAC", "Haptic", SND_SOC_NOPM, 0, 0), 877 /* Haptic map */ 924 { "HAOUTL", "Haptic Left Switch", "HAL DAC" }, 925 { "HAOUTR", "Haptic Right Switch", "HAR DAC" }, 1358 .name = "LM49453 Haptic", 1360 .stream_name = "Haptic",
|
| /linux/arch/arm64/boot/dts/exynos/ |
| H A D | exynos7870-j6lte.dts | 129 compatible = "regulator-haptic"; 130 haptic-supply = <&vdd_ldo32>; 339 /* vibrator: haptic */
|
| H A D | exynos7870-a2corelte.dts | 120 compatible = "regulator-haptic"; 121 haptic-supply = <&vdd_ldo32>; 330 /* vibrator: haptic */
|
| H A D | exynos7870-on7xelte.dts | 118 compatible = "regulator-haptic"; 119 haptic-supply = <&vdd_ldo32>; 334 /* vibrator: haptic */
|