mbox series

[v2,0/2] Add support for vibrator in multiple PMICs

Message ID 20230718062639.2339589-1-quic_fenglinw@quicinc.com (mailing list archive)
Headers show
Series Add support for vibrator in multiple PMICs | expand

Message

Fenglin Wu July 18, 2023, 6:26 a.m. UTC
Add SW support for the vibrator module inside PMI632, PM7250B, PM7325B, PM7550BA.
It is very similar to the vibrator module inside PM8916 which is supported in
pm8xxx-vib driver but just the drive amplitude is controlled with 2 registers,
and the register base offset in each PMIC is different.

Changes in v2:
  Remove the "pm7550ba-vib" compatible string as it's compatible with pm7325b.

Fenglin Wu (2):
  dt-bindings: input: qcom,pm8xxx-vib: add more PMIC support
  Input: pm8xxx-vib - Add support for more PMICs

 .../bindings/input/qcom,pm8xxx-vib.yaml       |  3 ++
 drivers/input/misc/pm8xxx-vibrator.c          | 48 +++++++++++++++++++
 2 files changed, 51 insertions(+)