Home
last modified time | relevance | path

Searched refs:haptic (Results 1 – 24 of 24) sorted by relevance

/linux-6.3-rc2/drivers/input/misc/
A Dmax77693-haptic.c131 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 Dregulator-haptic.c40 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 DMakefile52 obj-$(CONFIG_INPUT_MAX77693_HAPTIC) += max77693-haptic.o
70 obj-$(CONFIG_INPUT_REGULATOR_HAPTIC) += regulator-haptic.o
A DKconfig215 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 Dmax8997_haptic.c263 chip->client = iodev->haptic; in max8997_haptic_probe()
/linux-6.3-rc2/Documentation/devicetree/bindings/input/
A Dregulator-haptic.yaml4 $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 Dti,drv260x.yaml23 description: Power supply to the haptic motor
/linux-6.3-rc2/Documentation/devicetree/bindings/mfd/
A Dmaxim,max77843.yaml17 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 Dmaxim,max77693.yaml18 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 Dmsm8916-samsung-e2015-common.dtsi6 haptic {
7 compatible = "regulator-haptic";
8 haptic-supply = <&reg_motor_vdd>;
/linux-6.3-rc2/drivers/mfd/
A Dmax8997.c194 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 Dsun4i-a10-dserve-dsrv9703c.dts73 compatible = "regulator-haptic";
74 haptic-supply = <&reg_motor>;
A Dexynos3250-monk.dts114 compatible = "regulator-haptic";
115 haptic-supply = <&motor_reg>;
A Dexynos3250-rinato.dts115 compatible = "regulator-haptic";
116 haptic-supply = <&motor_reg>;
A Dexynos4412-midas.dtsi197 compatible = "maxim,max77693-haptic";
198 haptic-supply = <&ldo26_reg>;
A Dtegra30-asus-tf201.dts603 haptic-feedback {
A Dtegra30-asus-tf700t.dts724 haptic-feedback {
A Dtegra20-acer-a500-picasso.dts1297 haptic-feedback {
A Dtegra30-pegatron-chagall.dts2705 haptic-feedback {
/linux-6.3-rc2/Documentation/hid/
A Dhid-bpf.rst76 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 Dmax8997-private.h373 struct i2c_client *haptic; /* slave addr 0x90 */ member
/linux-6.3-rc2/arch/arm64/boot/dts/exynos/
A Dexynos5433-tm2-common.dtsi931 haptic: motor-driver { label
932 compatible = "maxim,max77843-haptic";
933 haptic-supply = <&ldo38_reg>;
/linux-6.3-rc2/Documentation/devicetree/bindings/regulator/
A Dmaxim,max8997.yaml14 regulators, charger controller with fuel gauge, RTC, clock outputs, haptic
/linux-6.3-rc2/Documentation/input/
A Devent-codes.rst385 visual/haptic areas for left, middle, right buttons intended to be used

Completed in 255 milliseconds