Searched refs:haptic (Results 1 – 18 of 18) sorted by relevance
/Linux-v6.1/drivers/input/misc/ |
D | max77693-haptic.c | 67 static int max77693_haptic_set_duty_cycle(struct max77693_haptic *haptic) in max77693_haptic_set_duty_cycle() argument 73 pwm_get_args(haptic->pwm_dev, &pargs); in max77693_haptic_set_duty_cycle() 74 delta = (pargs.period + haptic->pwm_duty) / 2; in max77693_haptic_set_duty_cycle() 75 error = pwm_config(haptic->pwm_dev, delta, pargs.period); in max77693_haptic_set_duty_cycle() 77 dev_err(haptic->dev, "failed to configure pwm: %d\n", error); in max77693_haptic_set_duty_cycle() 84 static int max77843_haptic_bias(struct max77693_haptic *haptic, bool on) in max77843_haptic_bias() argument 88 if (haptic->dev_type != TYPE_MAX77843) in max77843_haptic_bias() 91 error = regmap_update_bits(haptic->regmap_haptic, in max77843_haptic_bias() 96 dev_err(haptic->dev, "failed to %s bias: %d\n", in max77843_haptic_bias() 104 static int max77693_haptic_configure(struct max77693_haptic *haptic, in max77693_haptic_configure() argument [all …]
|
D | regulator-haptic.c | 36 static int regulator_haptic_toggle(struct regulator_haptic *haptic, bool on) in regulator_haptic_toggle() argument 40 if (haptic->active != on) { in regulator_haptic_toggle() 42 error = on ? regulator_enable(haptic->regulator) : in regulator_haptic_toggle() 43 regulator_disable(haptic->regulator); in regulator_haptic_toggle() 45 dev_err(haptic->dev, in regulator_haptic_toggle() 51 haptic->active = on; in regulator_haptic_toggle() 57 static int regulator_haptic_set_voltage(struct regulator_haptic *haptic, in regulator_haptic_set_voltage() argument 64 volt_mag_multi = (u64)(haptic->max_volt - haptic->min_volt) * magnitude; in regulator_haptic_set_voltage() 67 error = regulator_set_voltage(haptic->regulator, in regulator_haptic_set_voltage() 68 intensity + haptic->min_volt, in regulator_haptic_set_voltage() [all …]
|
D | Makefile | 53 obj-$(CONFIG_INPUT_MAX77693_HAPTIC) += max77693-haptic.o 71 obj-$(CONFIG_INPUT_REGULATOR_HAPTIC) += regulator-haptic.o
|
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.
|
D | max8997_haptic.c | 263 chip->client = iodev->haptic; in max8997_haptic_probe()
|
/Linux-v6.1/arch/arm64/boot/dts/qcom/ |
D | msm8916-samsung-e2015-common.dtsi | 6 haptic { 7 compatible = "regulator-haptic"; 8 haptic-supply = <®_motor_vdd>;
|
/Linux-v6.1/drivers/mfd/ |
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-v6.1/arch/arm/boot/dts/ |
D | sun4i-a10-dserve-dsrv9703c.dts | 73 compatible = "regulator-haptic"; 74 haptic-supply = <®_motor>;
|
D | exynos3250-monk.dts | 114 compatible = "regulator-haptic"; 115 haptic-supply = <&motor_reg>;
|
D | exynos3250-rinato.dts | 115 compatible = "regulator-haptic"; 116 haptic-supply = <&motor_reg>;
|
D | exynos4412-midas.dtsi | 197 compatible = "maxim,max77693-haptic"; 198 haptic-supply = <&ldo26_reg>;
|
D | tegra30-asus-tf201.dts | 603 haptic-feedback {
|
D | tegra30-asus-tf700t.dts | 724 haptic-feedback {
|
D | tegra20-acer-a500-picasso.dts | 944 haptic-feedback {
|
D | tegra30-pegatron-chagall.dts | 2719 haptic-feedback {
|
/Linux-v6.1/include/linux/mfd/ |
D | max8997-private.h | 373 struct i2c_client *haptic; /* slave addr 0x90 */ member
|
/Linux-v6.1/arch/arm64/boot/dts/exynos/ |
D | exynos5433-tm2-common.dtsi | 924 haptic: motor-driver { label 925 compatible = "maxim,max77843-haptic"; 926 haptic-supply = <&ldo38_reg>; 928 pwm-names = "haptic";
|
/Linux-v6.1/Documentation/input/ |
D | event-codes.rst | 385 visual/haptic areas for left, middle, right buttons intended to be used
|