Input: rotary_encoder - add wake up support
This patch adds wake up support to GPIO rotary encoders. Signed-off-by: Sylvain Rochet <sylvain.rochet@finsecur.com> Reviewed-by: Johan Hovold <johan@kernel.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
027c71bbae
commit
47ec6e5a5f
4 changed files with 40 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ struct rotary_encoder_platform_data {
|
|||
bool relative_axis;
|
||||
bool rollover;
|
||||
bool half_period;
|
||||
bool wakeup_source;
|
||||
};
|
||||
|
||||
#endif /* __ROTARY_ENCODER_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue