Add support for Awinic AW86927 haptic driver
From: | Griffin Kroah-Hartman <griffin.kroah-AT-fairphone.com> | |
To: | Dmitry Torokhov <dmitry.torokhov-AT-gmail.com>, Rob Herring <robh-AT-kernel.org>, Krzysztof Kozlowski <krzk+dt-AT-kernel.org>, Conor Dooley <conor+dt-AT-kernel.org>, Bjorn Andersson <andersson-AT-kernel.org>, Konrad Dybcio <konradybcio-AT-kernel.org>, Luca Weiss <luca.weiss-AT-fairphone.com> | |
Subject: | [PATCH RESEND v3 0/3] Add support for Awinic AW86927 haptic driver | |
Date: | Thu, 25 Sep 2025 12:07:27 +0200 | |
Message-ID: | <20250925-aw86927-v3-0-1fc6265b42de@fairphone.com> | |
Cc: | linux-input-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, linux-arm-msm-AT-vger.kernel.org, Griffin Kroah-Hartman <griffin.kroah-AT-fairphone.com>, Krzysztof Kozlowski <krzysztof.kozlowski-AT-linaro.org>, Konrad Dybcio <konrad.dybcio-AT-oss.qualcomm.com> | |
Archive-link: | Article |
Add devicetree bindings and a driver for the AW86927 haptic driver, and add it to the devicetree for the Fairphone 5 smartphone. This driver does not enable all capabilities of the AW86927, features such as f0 detection, rtp mode, and cont mode are not included. Note: This is my first driver I have ever worked on so if there is anything I can do to improve it please let me know! Signed-off-by: Griffin Kroah-Hartman <griffin.kroah@fairphone.com> --- Changes in v3: - Removed obsolete FIXME comments - Adjusted Error handling to fit best practice - Changed formatting due to feedback - Removed obsolete terminology from patch subjects. - Properly credited reviewers - Link to v2: https://lore.kernel.org/r/20250811-aw86927-v2-0-64be8f3da... Changes in v2: - Changed title and fixed license of devicetree binding - Fixed typo where the 'm' in 'ms' was excluded - Changed error handling return values in driver probe function - Link to v1: https://lore.kernel.org/r/20250806-aw86927-v1-0-23d8a6d0f... --- Griffin Kroah-Hartman (3): dt-bindings: input: Add Awinic AW86927 Input: aw86927 - add driver for Awinic AW86927 arm64: dts: qcom: qcm6490-fairphone-fp5: Add vibrator support .../devicetree/bindings/input/awinic,aw86927.yaml | 48 ++ arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 18 +- drivers/input/misc/Kconfig | 11 + drivers/input/misc/Makefile | 1 + drivers/input/misc/aw86927.c | 854 +++++++++++++++++++++ 5 files changed, 931 insertions(+), 1 deletion(-) --- base-commit: 3624e9a34b36d64a7037946eda28ae9599363a3b change-id: 20250804-aw86927-9dddc32fcaec Best regards, -- Griffin Kroah-Hartman <griffin.kroah@fairphone.com>