| /linux-6.15/drivers/input/misc/ |
| H A D | max77693-haptic.c | 140 dev_err(haptic->dev, in max77693_haptic_configure() 171 if (haptic->enabled) in max77693_haptic_enable() 176 dev_err(haptic->dev, in max77693_haptic_enable() 203 if (!haptic->enabled) in max77693_haptic_disable() 235 if (haptic->magnitude) in max77693_haptic_play_work() 278 dev_err(haptic->dev, in max77693_haptic_open() 296 dev_err(haptic->dev, in max77693_haptic_close() 308 haptic = devm_kzalloc(&pdev->dev, sizeof(*haptic), GFP_KERNEL); in max77693_haptic_probe() 309 if (!haptic) in max77693_haptic_probe() 330 haptic->dev_type); in max77693_haptic_probe() [all …]
|
| H A D | regulator-haptic.c | 41 if (haptic->active != on) { in regulator_haptic_toggle() 46 dev_err(haptic->dev, in regulator_haptic_toggle() 52 haptic->active = on; in regulator_haptic_toggle() 65 volt_mag_multi = (u64)(haptic->max_volt - haptic->min_volt) * magnitude; in regulator_haptic_set_voltage() 89 if (!haptic->suspended) in regulator_haptic_work() 90 regulator_haptic_set_voltage(haptic, haptic->magnitude); in regulator_haptic_work() 99 if (!haptic->magnitude) in regulator_haptic_play_effect() 149 haptic = devm_kzalloc(&pdev->dev, sizeof(*haptic), GFP_KERNEL); in regulator_haptic_probe() 150 if (!haptic) in regulator_haptic_probe() 154 haptic->dev = &pdev->dev; in regulator_haptic_probe() [all …]
|
| H A D | Makefile | 55 obj-$(CONFIG_INPUT_MAX77693_HAPTIC) += max77693-haptic.o 74 obj-$(CONFIG_INPUT_REGULATOR_HAPTIC) += regulator-haptic.o
|
| H A D | Kconfig | 155 haptic driver. 243 tristate "MAXIM MAX77693/MAX77705/MAX77843 haptic controller support" 247 This option enables support for the haptic controller on 251 module will be called max77693-haptic. 264 tristate "MAXIM MAX8997 haptic controller support" 268 This option enables device driver support for the haptic controller 273 module will be called max8997-haptic. 472 This option enables device driver support for the haptic controlled 477 module will be called regulator-haptic.
|
| H A D | max8997_haptic.c | 258 chip->client = iodev->haptic; in max8997_haptic_probe()
|
| /linux-6.15/Documentation/devicetree/bindings/input/ |
| H A D | regulator-haptic.yaml | 4 $id: http://devicetree.org/schemas/input/regulator-haptic.yaml# 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 | 13 CS40L50 is a haptic driver with waveform memory, 60 haptic-driver@34 {
|
| H A D | ti,drv260x.yaml | 23 description: Power supply to the haptic motor
|
| /linux-6.15/Documentation/devicetree/bindings/mfd/ |
| H A D | maxim,max77705.yaml | 16 interface IC which includes charger, fuelgauge, LED, haptic motor driver and 29 haptic: 35 const: maxim,max77705-haptic 37 haptic-supply: true 44 - haptic-supply 152 haptic { 153 compatible = "maxim,max77705-haptic"; 154 haptic-supply = <&vib_regulator>;
|
| 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>;
|
| H A D | maxim,max77693.yaml | 18 includes voltage current regulators, charger, LED/flash, haptic motor driver 70 const: maxim,max77693-haptic 72 haptic-supply: 73 description: Power supply to the haptic motor 80 - haptic-supply 159 compatible = "maxim,max77693-haptic"; 160 haptic-supply = <&ldo26_reg>;
|
| /linux-6.15/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-6.15/drivers/mfd/ |
| H A D | max8997.c | 183 max8997->haptic = i2c_new_dummy_device(i2c->adapter, I2C_ADDR_HAPTIC); in max8997_i2c_probe() 184 if (IS_ERR(max8997->haptic)) { in max8997_i2c_probe() 186 ret = PTR_ERR(max8997->haptic); in max8997_i2c_probe() 189 i2c_set_clientdata(max8997->haptic, max8997); in max8997_i2c_probe() 225 i2c_unregister_device(max8997->haptic); in max8997_i2c_probe()
|
| /linux-6.15/arch/arm/boot/dts/allwinner/ |
| H A D | sun4i-a10-dserve-dsrv9703c.dts | 73 compatible = "regulator-haptic"; 74 haptic-supply = <®_motor>;
|
| /linux-6.15/arch/arm/boot/dts/qcom/ |
| H A D | qcom-msm8226-samsung-ms013g.dts | 103 compatible = "regulator-haptic"; 104 haptic-supply = <®_motor_vdd>;
|
| /linux-6.15/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-6.15/include/linux/mfd/ |
| H A D | max8997-private.h | 373 struct i2c_client *haptic; /* slave addr 0x90 */ member
|
| /linux-6.15/arch/arm/boot/dts/samsung/ |
| H A D | exynos3250-monk.dts | 115 compatible = "regulator-haptic"; 116 haptic-supply = <&motor_reg>;
|
| H A D | exynos3250-rinato.dts | 117 compatible = "regulator-haptic"; 118 haptic-supply = <&motor_reg>;
|
| H A D | exynos4412-midas.dtsi | 232 compatible = "maxim,max77693-haptic"; 233 haptic-supply = <&ldo26_reg>;
|
| /linux-6.15/arch/arm64/boot/dts/exynos/ |
| H A D | exynos5433-tm2-common.dtsi | 929 haptic: motor-driver { label 930 compatible = "maxim,max77843-haptic"; 931 haptic-supply = <&ldo38_reg>;
|
| /linux-6.15/Documentation/devicetree/bindings/regulator/ |
| H A D | maxim,max8997.yaml | 14 regulators, charger controller with fuel gauge, RTC, clock outputs, haptic
|
| /linux-6.15/arch/arm/boot/dts/nvidia/ |
| H A D | tegra30-asus-tf201.dts | 603 haptic-feedback {
|
| H A D | tegra30-lg-x3.dtsi | 762 haptic-en { 769 haptic-osc {
|