Input: iqs269a - add support for OTP variants
authorJeff LaBundy <jeff@labundy.com>
Mon, 1 Jan 2024 20:02:45 +0000 (14:02 -0600)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 1 Jan 2024 21:24:03 +0000 (13:24 -0800)
commit992bbc9e9ab9abe5bc1ea9a1a8d61331b28f848e
treed4513ad7a5322bee086913b4840d712f582d6423
parent56c083e3f5723c68055ab5f97d21e55aab7bd8ef
Input: iqs269a - add support for OTP variants

This patch adds support for each available OTP variant of the device.
The OTP configuration cannot be read over I2C, so it is derived from
a compatible string instead.

Early revisions of the D0 order code require their OTP-enabled func-
tionality to be manually restored following a soft reset; this patch
accommodates this erratum as well.

Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Link: https://lore.kernel.org/r/ZZMaZbdk6iAKUjlm@nixie71
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/iqs269a.c