Re: [PATCH v6 2/2] input: misc: Add Qualcomm SPMI PMIC haptics driver

From: David Heidelberg

Date: Sun Aug 23 2026 - 07:37:05 EST


On 17/08/2026 14:08, David Heidelberg wrote:
On 07/08/2026 08:21, Fenglin Wu wrote:
Add an initial driver for the Qualcomm PMIH0108 PMIC haptics module,
named as HAP530_HV. This module supports several play modes, including
DIRECT_PLAY, FIFO, PAT_MEM, and SWR, each with distinct data sourcing
and hardware data handling logic. Currently, the driver provides support
for two play modes using the input force-feedback framework: FF_CONSTANT
effect for DIRECT_PLAY mode and FF_PERIODIC effect with FF_CUSTOM
waveform for FIFO mode.

Assisted-by: Claude:claude-4-8-opus
Signed-off-by: Fenglin Wu <fenglin.wu@xxxxxxxxxxxxxxxx>
---
  drivers/input/misc/Kconfig             |   11 +
  drivers/input/misc/Makefile            |    1 +
  drivers/input/misc/qcom-spmi-haptics.c | 1252 ++++++++++++++++++++++++++++++++
  3 files changed, 1264 insertions(+)

P.S. Could you post together with the PMIH0108 device-tree part and ideally the device integration you testing with? (or at least share the WIP DT, if it's not finished yet)

Thanks
David