Rotary encoder DT overlay support

Is the rotary-encoder driver supported in kernel for AML-X905S-CC? An example of the overlay or some details what it should contain would be nice for other tinkerers as well I think.

You can also just manually parse the GPIO values in userspace and then compute the status of the rotary encoder without much difficulty.