/linux-6.3-rc2/drivers/input/misc/ |
A D | max77693-haptic.c | 131 dev_err(haptic->dev, in max77693_haptic_configure() 162 if (haptic->enabled) in max77693_haptic_enable() 167 dev_err(haptic->dev, in max77693_haptic_enable() 194 if (!haptic->enabled) in max77693_haptic_disable() 226 if (haptic->magnitude) in max77693_haptic_play_work() 269 dev_err(haptic->dev, in max77693_haptic_open() 287 dev_err(haptic->dev, in max77693_haptic_close() 299 haptic = devm_kzalloc(&pdev->dev, sizeof(*haptic), GFP_KERNEL); in max77693_haptic_probe() 300 if (!haptic) in max77693_haptic_probe() 320 haptic->dev_type); in max77693_haptic_probe() [all …]
|
A D | regulator-haptic.c | 40 if (haptic->active != on) { in regulator_haptic_toggle() 45 dev_err(haptic->dev, in regulator_haptic_toggle() 51 haptic->active = on; in regulator_haptic_toggle() 64 volt_mag_multi = (u64)(haptic->max_volt - haptic->min_volt) * magnitude; in regulator_haptic_set_voltage() 88 if (!haptic->suspended) in regulator_haptic_work() 89 regulator_haptic_set_voltage(haptic, haptic->magnitude); in regulator_haptic_work() 100 if (!haptic->magnitude) in regulator_haptic_play_effect() 150 haptic = devm_kzalloc(&pdev->dev, sizeof(*haptic), GFP_KERNEL); in regulator_haptic_probe() 151 if (!haptic) in regulator_haptic_probe() 155 haptic->dev = &pdev->dev; in regulator_haptic_probe() [all …]
|
A D | Makefile | 52 obj-$(CONFIG_INPUT_MAX77693_HAPTIC) += max77693-haptic.o 70 obj-$(CONFIG_INPUT_REGULATOR_HAPTIC) += regulator-haptic.o
|
A D | Kconfig | 215 tristate "MAXIM MAX77693/MAX77843 haptic controller support" 219 This option enables support for the haptic controller on 223 module will be called max77693-haptic. 236 tristate "MAXIM MAX8997 haptic controller support" 240 This option enables device driver support for the haptic controller 245 module will be called max8997-haptic. 444 This option enables device driver support for the haptic controlled 449 module will be called regulator-haptic.
|
A D | max8997_haptic.c | 263 chip->client = iodev->haptic; in max8997_haptic_probe()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/input/ |
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>;
|
A D | ti,drv260x.yaml | 23 description: Power supply to the haptic motor
|
/linux-6.3-rc2/Documentation/devicetree/bindings/mfd/ |
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>;
|
A D | maxim,max77693.yaml | 18 includes voltage current regulators, charger, LED/flash, haptic motor driver 54 const: maxim,max77693-haptic 56 haptic-supply: 57 description: Power supply to the haptic motor 64 - haptic-supply 111 compatible = "maxim,max77693-haptic"; 112 haptic-supply = <&ldo26_reg>;
|
/linux-6.3-rc2/arch/arm64/boot/dts/qcom/ |
A D | msm8916-samsung-e2015-common.dtsi | 6 haptic { 7 compatible = "regulator-haptic"; 8 haptic-supply = <®_motor_vdd>;
|
/linux-6.3-rc2/drivers/mfd/ |
A D | max8997.c | 194 max8997->haptic = i2c_new_dummy_device(i2c->adapter, I2C_ADDR_HAPTIC); in max8997_i2c_probe() 195 if (IS_ERR(max8997->haptic)) { in max8997_i2c_probe() 197 ret = PTR_ERR(max8997->haptic); in max8997_i2c_probe() 200 i2c_set_clientdata(max8997->haptic, max8997); in max8997_i2c_probe() 236 i2c_unregister_device(max8997->haptic); in max8997_i2c_probe()
|
/linux-6.3-rc2/arch/arm/boot/dts/ |
A D | sun4i-a10-dserve-dsrv9703c.dts | 73 compatible = "regulator-haptic"; 74 haptic-supply = <®_motor>;
|
A D | exynos3250-monk.dts | 114 compatible = "regulator-haptic"; 115 haptic-supply = <&motor_reg>;
|
A D | exynos3250-rinato.dts | 115 compatible = "regulator-haptic"; 116 haptic-supply = <&motor_reg>;
|
A D | exynos4412-midas.dtsi | 197 compatible = "maxim,max77693-haptic"; 198 haptic-supply = <&ldo26_reg>;
|
A D | tegra30-asus-tf201.dts | 603 haptic-feedback {
|
A D | tegra30-asus-tf700t.dts | 724 haptic-feedback {
|
A D | tegra20-acer-a500-picasso.dts | 1297 haptic-feedback {
|
A D | tegra30-pegatron-chagall.dts | 2705 haptic-feedback {
|
/linux-6.3-rc2/Documentation/hid/ |
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 329 Let's imagine we have a new tablet device that has some haptic capabilities 336 haptic feature of the device itself. 449 To be able to change the haptic feedback from the tablet, the userspace program 515 Now our userspace program is aware of the haptic state and can control it. The
|
/linux-6.3-rc2/include/linux/mfd/ |
A D | max8997-private.h | 373 struct i2c_client *haptic; /* slave addr 0x90 */ member
|
/linux-6.3-rc2/arch/arm64/boot/dts/exynos/ |
A D | exynos5433-tm2-common.dtsi | 931 haptic: motor-driver { label 932 compatible = "maxim,max77843-haptic"; 933 haptic-supply = <&ldo38_reg>;
|
/linux-6.3-rc2/Documentation/devicetree/bindings/regulator/ |
A D | maxim,max8997.yaml | 14 regulators, charger controller with fuel gauge, RTC, clock outputs, haptic
|
/linux-6.3-rc2/Documentation/input/ |
A D | event-codes.rst | 385 visual/haptic areas for left, middle, right buttons intended to be used
|