linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Add haptics support to Nexus 5 using pwm-vibra driver
@ 2023-04-27 20:34 Luca Weiss
  2023-04-27 20:34 ` [PATCH 1/4] dt-bindings: input: pwm-vibrator: Add enable-gpio Luca Weiss
                   ` (5 more replies)
  0 siblings, 6 replies; 28+ messages in thread
From: Luca Weiss @ 2023-04-27 20:34 UTC (permalink / raw)
  To: ~postmarketos/upstreaming, phone-devel, Dmitry Torokhov,
	Rob Herring, Krzysztof Kozlowski, Sebastian Reichel, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Brian Masney
  Cc: linux-input, devicetree, linux-kernel, linux-arm-msm, Luca Weiss

A while ago Brian Masney sent some patches for a clk-vibrator which was
then succeeded by the idea of a clk-pwm driver that "converts" a clock
into a PWM and to use the existing pwm-vibra driver.

Since clk-pwm has landed last year we can finally add haptics support
upstream.

We just need to add support for an enable GPIO to the pwm-vibra driver
since that also needs to be high for the haptics to work on this device.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
Luca Weiss (4):
      dt-bindings: input: pwm-vibrator: Add enable-gpio
      Input: pwm-vibra - add newline to dev_err prints
      Input: pwm-vibra - add support for enable GPIO
      ARM: dts: qcom: msm8974-hammerhead: Add vibrator

 .../devicetree/bindings/input/pwm-vibrator.yaml    |  2 ++
 .../dts/qcom-msm8974-lge-nexus5-hammerhead.dts     | 35 +++++++++++++++++++++
 drivers/input/misc/pwm-vibra.c                     | 36 ++++++++++++++++------
 3 files changed, 63 insertions(+), 10 deletions(-)
---
base-commit: dec7f67a13c3270f9a38eba227a4fc15993f01b3
change-id: 20230427-hammerhead-vibra-06bd1bf771a3

Best regards,
-- 
Luca Weiss <luca@z3ntu.xyz>


^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2023-05-25  4:55 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-27 20:34 [PATCH 0/4] Add haptics support to Nexus 5 using pwm-vibra driver Luca Weiss
2023-04-27 20:34 ` [PATCH 1/4] dt-bindings: input: pwm-vibrator: Add enable-gpio Luca Weiss
2023-04-27 23:29   ` Brian Masney
2023-04-28 10:10   ` Caleb Connolly
2023-04-29 19:44   ` Sebastian Reichel
2023-05-01  6:48   ` Krzysztof Kozlowski
2023-04-27 20:34 ` [PATCH 2/4] Input: pwm-vibra - add newline to dev_err prints Luca Weiss
2023-04-27 23:30   ` Brian Masney
2023-04-28 10:10   ` Caleb Connolly
2023-04-29 19:45   ` Sebastian Reichel
2023-04-27 20:34 ` [PATCH 3/4] Input: pwm-vibra - add support for enable GPIO Luca Weiss
2023-04-27 23:29   ` Brian Masney
2023-04-28 16:06     ` Luca Weiss
2023-04-28 16:11       ` Brian Masney
2023-05-02 10:39       ` Konrad Dybcio
2023-05-02 15:24         ` Luca Weiss
2023-04-28 10:11   ` Caleb Connolly
2023-04-29 19:47   ` Sebastian Reichel
2023-05-02  0:47   ` Dmitry Torokhov
2023-05-02 15:35     ` Luca Weiss
2023-04-27 20:34 ` [PATCH 4/4] ARM: dts: qcom: msm8974-hammerhead: Add vibrator Luca Weiss
2023-04-27 23:34   ` Brian Masney
2023-04-28 10:11   ` Caleb Connolly
2023-05-02 10:40   ` Konrad Dybcio
2023-05-02 15:28     ` Luca Weiss
2023-05-02 15:31       ` Konrad Dybcio
2023-05-08 16:44 ` [PATCH 0/4] Add haptics support to Nexus 5 using pwm-vibra driver Dmitry Torokhov
2023-05-25  4:54 ` (subset) " Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).