Skip to content

Add support for vibrator motor for TBS A711 Tablet

Ondrej Jirman linux-arm-kernel linux-devicetree linux-input lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 1 replyIn review
  2. v44 patches 2 repliesSuperseded
  3. v34 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches3 repliesSuperseded
v14 patches4 repliesSuperseded

Changes in v5 from the cover letter

- Fix probe without a power supply (Dmitry)

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dt-bindings: input: gpio-vibrator: Don't require enable-gpiosDocumentation/devicetree/bindings/input/gpio-vibrator.yaml+6 -10 replies
2/4input: gpio-vibra: Allow to use vcc-supply alone to control the vibratordrivers/input/misc/gpio-vibra.c+13 -50 replies
3/4ARM: dts: sun8i-a83t-tbs-a711: Add support for the vibrator motorarch/arm/boot/dts/sun8i-a83t-tbs-a711.dts+5 -01 reply
4/4ARM: dts: sun8i-a83t-tbs-a711: Increase voltage on the vibratorarch/arm/boot/dts/sun8i-a83t-tbs-a711.dts+2 -20 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/4R-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/4] Add support for vibrator motor for TBS A711 Tablet

The tablet has a vibrator motor. This patch series exposes it via input subsystem (EV_FF).

I'd like to ask input maintainers to take the patches 1 and 2. Patches 3 and 4 should go via the sunxi tree.

The change to the vibrator driver is meant to enable toggling the vibrator motor just via a power supply itself. There's not additional gpio driven switch on this tablet between the power supply for the motor and the motor.

Please take a look.

Changes in v5:
- Fix probe without a power supply (Dmitry)

Changes in v4:
- Added DT reviewed-by tag
- Fixed motor typo

Changes in v3:
- Changed dt-binding to require at least one of enable/supply, dropped ack
- Changed driver to bail out if neither supply nor gpio is given

Changes in v2:
- Added DT ack tag
- Add more information to the commit log (re use of LDO for the power)

thank you and regards,
Ondrej Jirman

Ondrej Jirman (4):
dt-bindings: input: gpio-vibrator: Don't require enable-gpios
input: gpio-vibra: Allow to use vcc-supply alone to control the
vibrator
ARM: dts: sun8i-a83t-tbs-a711: Add support for the vibrator motor
ARM: dts: sun8i-a83t-tbs-a711: Increase voltage on the vibrator

 .../bindings/input/gpio-vibrator.yaml          |  7 ++++++-
 arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts      |  9 +++++++--
 drivers/input/misc/gpio-vibra.c                | 18 +++++++++++++-----
 3 files changed, 26 insertions(+), 8 deletions(-)
Signature · 1 line
2.27.0