Managed to make it work as well.
Related kernel patch is about to be integrated in the upcoming kernel versions: https://patchwork.kernel.org/patch/10690261/
I tested this patch on Arch, recompiled the kernel and the accelerometer is recognized perfectly. I also modified a script that I found to support automated rotation based on the accelerometer values. Xrandr SUCKS on handling such rotations, but whatever its our only option for now :/ If anyone wants the script let me know.