Skip to content

Input: Add Awinic AW8697 haptics driver

Armandas Kvietkus b4-sent linux-devicetree linux-input lkml 3 versions – In review

Get series with b4
b4 am [email protected] change-id 20260930-mainlining-0bd8b7b5ca6c

Versions newest first

  1. v3 Latest2 patches 1 replyIn review
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 1 replySuperseded

Changes in v3 from the cover letter

- Drop <linux/mod_devicetable.h>. <linux/i2c.h> provides
i2c_device_id and of_device_id. (Uwe)
- Use a named initializer in the i2c_device_id table. (Uwe)
- Add Acked-by from Krzysztof to the binding.
- Link to v2: https://patch.msgid.link/[email protected]

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: input: awinic,aw86927: Add Awinic AW8697Documentation/devicetree/bindings/input/awinic,aw86927.yaml+3 -10 replies
2/2Input: aw8697 - Add Awinic AW8697 haptics driverMAINTAINERS drivers/input/misc/Kconfig drivers/input/misc/Makefile +1 more+781 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchKrzysztof Kozlowski
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] Input: Add Awinic AW8697 haptics driver

This series adds a driver for the Awinic AW8697 LRA haptic driver IC. It is the vibrator in the Xiaomi POCO F3.

The AW8697 is an older generation than the AW86927. The register map is different, so it gets its own driver. The binding reuses awinic,aw86927.yaml.

Tested on the phone: rumble at several strengths, 72 effects in a row, stop on close, driver rebind and module reload.

---
Changes in v3:
- Drop <linux/mod_devicetable.h>. <linux/i2c.h> provides
i2c_device_id and of_device_id. (Uwe)
- Use a named initializer in the i2c_device_id table. (Uwe)
- Add Acked-by from Krzysztof to the binding.
- Link to v2: https://patch.msgid.link/[email protected]

Changes in v2:
- Do not queue I2C work from the ff-memless timer during system
suspend. A suspended flag is set and cleared under the input event lock, as in da7280. Tested with delayed effects across suspend.
- Use explicit error checks instead of returning the last regmap call.
- The NULL IRQ name finding is not changed. devm_request_threaded_irq() uses dev_name() when the name is NULL. /proc/interrupts shows 11-005a.
- Link to v1: https://patch.msgid.link/[email protected]

v2 only fixes findings from the automated AI review. I will not send another revision for automated review findings alone, because that can go on forever. I will wait for human review.

To: Dmitry Torokhov <[email protected]>
To: Rob Herring <[email protected]>
To: Krzysztof Kozlowski <[email protected]>
To: Conor Dooley <[email protected]>
To: Griffin Kroah-Hartman <[email protected]>
To: Armandas Kvietkus <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
Armandas Kvietkus (2):
dt-bindings: input: awinic,aw86927: Add Awinic AW8697
Input: aw8697 - Add Awinic AW8697 haptics driver

 .../devicetree/bindings/input/awinic,aw86927.yaml  |   4 +-
 MAINTAINERS                                        |   6 +
 drivers/input/misc/Kconfig                         |  14 +
 drivers/input/misc/Makefile                        |   1 +
 drivers/input/misc/aw8697.c                        | 760 +++++++++++++++++++++
 5 files changed, 784 insertions(+), 1 deletion(-)

---
base-commit: 165768bb70265b5c38cf0b73fafd75be235f8b14
change-id: 20260930-mainlining-0bd8b7b5ca6c

Best regards,

Signature · 1 line
Armandas Kvietkus <[email protected]>