linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 0/4] Rotary Encoder Push Button Support
@ 2020-09-07 20:40 Sebastian Reichel
  2020-09-07 20:40 ` [PATCHv2 1/4] dt-bindings: input: Convert rotary-encoder bindings to schema Sebastian Reichel
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Sebastian Reichel @ 2020-09-07 20:40 UTC (permalink / raw)
  To: Dmitry Torokhov, Mylène Josserand, Rob Herring
  Cc: linux-input, devicetree, linux-kernel, kernel, Sebastian Reichel

Hi,

The aim of this series is to add support for reporting push
events from rotary encoders with integrated push button
functionality (which are quite common).

I added a few more additional cleanup patches, since I worked
on the driver anyways.

Changes since PATCHv1 [0]:
 * Added patch converting the binding to YAML
 * Added patch fixing the steps default value
 * Added patch introducing dev_err_probe usage
 * Updated gpio push button patch from Mylène
  - use linux,push-code to be clear this is about the push button
  - add linux,push-type to support switches in addition to buttons
  - cleanup code a bit
   o 100 character line length
   o use dev_err_probe()
  - use EV_KEY and KEY_ENTER as default and make properties optional
  - use push-gpios instead of push-gpio in binding

[0] https://lore.kernel.org/linux-input/20190614133651.28396-1-mylene.josserand@bootlin.com/

-- Sebastian

Mylène Josserand (1):
  Input: rotary-encoder - Add gpio as push button

Sebastian Reichel (3):
  dt-bindings: input: Convert rotary-encoder bindings to schema
  Input: rotary-encoder - Fix steps property reading
  Input: rotary-encoder - Use dev_err_probe

 .../bindings/input/rotary-encoder.txt         |  50 --------
 .../bindings/input/rotary-encoder.yaml        | 121 ++++++++++++++++++
 drivers/input/misc/rotary_encoder.c           |  56 +++++++-
 3 files changed, 171 insertions(+), 56 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/input/rotary-encoder.txt
 create mode 100644 Documentation/devicetree/bindings/input/rotary-encoder.yaml

-- 
2.28.0


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

end of thread, other threads:[~2020-09-15 22:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-07 20:40 [PATCHv2 0/4] Rotary Encoder Push Button Support Sebastian Reichel
2020-09-07 20:40 ` [PATCHv2 1/4] dt-bindings: input: Convert rotary-encoder bindings to schema Sebastian Reichel
2020-09-15 16:22   ` Rob Herring
2020-09-07 20:40 ` [PATCHv2 2/4] Input: rotary-encoder - Fix steps property reading Sebastian Reichel
2020-09-07 20:40 ` [PATCHv2 3/4] Input: rotary-encoder - Use dev_err_probe Sebastian Reichel
2020-09-09 19:48   ` Rob Herring
2020-09-10 20:58     ` Sebastian Reichel
2020-09-07 20:40 ` [PATCHv2 4/4] Input: rotary-encoder - Add gpio as push button Sebastian Reichel
2020-09-15 16:33   ` Rob Herring

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).