ARM: dts: qcom: msm8974-hammerhead: Add vibrator
authorLuca Weiss <luca@z3ntu.xyz>
Thu, 27 Apr 2023 20:34:29 +0000 (22:34 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 25 May 2023 02:37:41 +0000 (19:37 -0700)
commite0a6590d8ceb7d6c4e35b5b5eb368d9fb800487f
tree81cface536c0d4b388577bb4efbe1eae13f9a79d
parentac9a78681b921877518763ba0e89202254349d1b
ARM: dts: qcom: msm8974-hammerhead: Add vibrator

The Nexus 5 has a vibrator connected to the clock output of GP1_CLK
which we can use with the clk-pwm driver, then we can use that pwm with
pwm-vibrator to get haptics functionality.

This patch is based on Brian Masney's previous patch with clk-vibrator.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
Reviewed-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230427-hammerhead-vibra-v1-4-e87eeb94da51@z3ntu.xyz
arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts