Correct property to use for wake up support on rotary encoders
Hi,
Several month ago I proposed a patch[1][2] to add wake up support to rotary encoders[3].
Among all the properties currently used in Linux kernels device trees, we have three recognisable patterns for wake up support:
- driver-name,wakeup
- linux,wakeup
- wakeup-source
We don't know which one to use, could you tell which one we should use for GPIO rotary encoders ?
Thank you very much :-)
Cheers,
Sylvain
[1] http://comments.gmane.org/gmane.linux.kernel.input/41243
[2] https://patchwork.ozlabs.org/patch/439240/
[3] https://www.kernel.org/doc/Documentation/input/rotary-encoder.txt
Hi Sylvain,
Quoted 5 lines · Sylvain Rochet
Hi,
Several month ago I proposed a patch[1][2] to add wake up support to rotary encoders[3].
Quoted 9 lines
Among all the properties currently used in Linux kernels device trees, we have three recognisable patterns for wake up support:
- driver-name,wakeup
- linux,wakeup
- wakeup-sourceWe don't know which one to use, could you tell which one we should use for GPIO rotary encoders ?
Please use "wakeup-source", we've been trying to standardize on it.
Signature · 1 line
Dmitry
Hi Dmitry,
Quoted 12 lines · Dmitry Torokhov
Quoted 10 lines · Sylvain Rochet
Several month ago I proposed a patch[1][2] to add wake up support to rotary encoders[3].
Among all the properties currently used in Linux kernels device trees, we have three recognisable patterns for wake up support:
- driver-name,wakeup
- linux,wakeup
- wakeup-source
Quoted 4 lines
Quoted 2 lines
We don't know which one to use, could you tell which one we should use for GPIO rotary encoders ?
Please use "wakeup-source", we've been trying to standardize on it.
Thank you Dmitry for this fast answer. I will respin shortly then.
Sylvain