Commits
R, Vignesh committed 2f24fc26f10
Input: rotary-encoder- Add support for absolute encoder There are rotary-encoders where GPIO lines reflect the actual position of the rotary encoder dial. For example, if dial points to 9, then four GPIO lines connected to the rotary encoder will read HLLH(1001b = 9). Add support for such rotary-encoder. The driver relies on rotary-encoder,absolute-encoder DT property to detect such encoders. Since, GPIO IRQs are not necessary to work with such encoders, optional polling mode support is added using input_poll_dev skeleton. This is can be used by enabling CONFIG_INPUT_GPIO_ROTARY_ENCODER_POLL_MODE_SUPPORT. Signed-off-by: Vignesh R <vigneshr@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>