[PATCH 1/5] Input: aw86927 - fix the 7 V boost reference for AW86938
From: Qianhui Xu
Date: Tue Oct 27 2026 - 09:36:34 EST
AW86938_PLAYCFG1_BST_7000MV names 7 V, but the register encodes the boost
voltage as ((mV - 6000) / 2 * 0x8313) >> 22 + 5, so the value used since
AW86938 support was added, 0x11, selects 9 V. Program 0x09 for 7 V, the
value the vendor driver uses for these actuators.
Found while adding the AW86937 variant, which shares the register layout
and the same wrong value.
Fixes: df53055c540f ("Input: aw86927 - add support for Awinic AW86938")
Signed-off-by: Qianhui Xu <xiaqinghuan@xxxxxxxxxxxxxxxx>
---
drivers/input/misc/aw86927.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/misc/aw86927.c b/drivers/input/misc/aw86927.c
index 1f73f0636..813f3591b 100644
--- a/drivers/input/misc/aw86927.c
+++ b/drivers/input/misc/aw86927.c
@@ -48,7 +48,7 @@
#define AW86938_PLAYCFG1_BST_MODE_MASK GENMASK(5, 5)
#define AW86938_PLAYCFG1_BST_MODE_BYPASS 0
#define AW86938_PLAYCFG1_BST_VOUT_VREFSET_MASK GENMASK(4, 0)
-#define AW86938_PLAYCFG1_BST_7000MV 0x11
+#define AW86938_PLAYCFG1_BST_7000MV 0x09
#define AW86927_PLAYCFG2_REG 0x07
--
2.53.0