1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_ARCH_PXA930_ROTARY_H
3 #define __ASM_ARCH_PXA930_ROTARY_H
7 * rotary can be either interpreted as a ralative input event (e.g.
8 * REL_WHEEL or REL_HWHEEL) or a specific key event (e.g. UP/DOWN
9 * or LEFT/RIGHT), depending on if up_key & down_key are assigned
10 * or rel_code is assigned a non-zero value. When all are non-zero,
11 * up_key and down_key will be preferred.
13 struct pxa930_rotary_platform_data
{
19 void __init
pxa930_set_rotarykey_info(struct pxa930_rotary_platform_data
*info
);
21 #endif /* __ASM_ARCH_PXA930_ROTARY_H */