Skip to content

rotary-encoder: use generic device properties

Dmitry Torokhov linux-arm-kernel linux-input lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Input: rotary_encoder - mark PM methods as __maybe_unuseddrivers/input/misc/rotary_encoder.c+3 -50 replies
2/4Input: rotary_encoder - convert to use gpiod APIarch/arm/mach-pxa/raumfeld.c drivers/input/misc/rotary_encoder.c include/linux/rotary_encoder.h+50 -480 replies
3/4Input: rotary_encoder - use input_set_capability()drivers/input/misc/rotary_encoder.c+4 -80 replies
4/4Input: rotary_encoder - move away from platform data structurearch/arm/mach-pxa/raumfeld.c drivers/input/misc/rotary_encoder.c include/linux/rotary_encoder.h+76 -1130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] rotary-encoder: use generic device properties

Hi,

This series tries to move the driver away from legacy platform data towards using platform-independent way of retrieving both configuration parameters and GPIOs (device_property_read_* and gpiod APIs).

This is based on top of 2 Timo's patches converting the driver to use devm* API and threaded IRQs. I uploaded all changes into 'rotary-encoder' branch of my tree.

I do not have hard ware so please give it a spin, especially on raumfield as it uses branch new way of passing platform parameters to the driver.

Thanks.

Signature · 1 line
Dmitry