Home
last modified time | relevance | path

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

/linux/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 DMakefile51 obj-$(CONFIG_INPUT_MAX77693_HAPTIC) += max77693-haptic.o
69 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/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>;
/linux/Documentation/devicetree/bindings/mfd/
A Dmax77693.txt29 - haptic : The MAX77693 haptic device utilises a PWM controlled motor to provide
34 - compatible : Must be "maxim,max77693-haptic"
35 - haptic-supply : power supply for the haptic motor
163 haptic {
164 compatible = "maxim,max77693-haptic";
165 haptic-supply = <&haptic_supply>;
167 pwm-names = "haptic";
/linux/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/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.dtsi196 compatible = "maxim,max77693-haptic";
197 haptic-supply = <&ldo26_reg>;
A Dtegra20-acer-a500-picasso.dts933 haptic-feedback {
/linux/arch/arm64/boot/dts/exynos/
A Dexynos5433-tm2-common.dtsi913 haptic: max77843-haptic { label
914 compatible = "maxim,max77843-haptic";
915 haptic-supply = <&ldo38_reg>;
917 pwm-names = "haptic";
/linux/include/linux/mfd/
A Dmax8997-private.h373 struct i2c_client *haptic; /* slave addr 0x90 */ member
/linux/Documentation/devicetree/bindings/regulator/
A Dmaxim,max8997.yaml14 regulators, charger controller with fuel gauge, RTC, clock outputs, haptic
/linux/Documentation/input/
A Devent-codes.rst375 visual/haptic areas for left, middle, right buttons intended to be used

Completed in 39 milliseconds