Changes since v3:
* Stick to the "wakeup-source" DT property, we are standardizing on it.
* Improved wake-up support: This driver is always supporting wake up
support, thus it is now calling device_set_wakeup_capable(dev, true)
followed by device_wakeup_enable(dev) if wake up is enabled at boot
time. This way the wakeup sysfs tree is always available to the user.
Only calling device_init_wakeup(dev, false) totally disable wake up
support at boot tine with no way to enable wake up support furtherly,
which isn't nice.
Changes since v2:
* Using false instead of 0 on boolean
* Splitted DT documentation in a separate patch
Changes since v1:
* Using DT property wakeup-source instead of rotary-encoder,wakeup
* Renamed int wakeup to bool wakeup_source
* Patch cleanup (checkpatch.pl)
Sylvain Rochet (2):
DT: Documentation: input: rotary encoder: Add wakeup-source property
input: rotary encoder: Add wake up support
Sylvain Rochet (2):
Documentation: input: rotary encoder: Add wakeup-source property
input: rotary encoder: Add wake up support
.../devicetree/bindings/input/rotary-encoder.txt | 1 +
Documentation/input/rotary-encoder.txt | 1 +
drivers/input/misc/rotary_encoder.c | 39 ++++++++++++++++++++++
include/linux/rotary_encoder.h | 1 +
4 files changed, 42 insertions(+)
--
2.5.1
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html