There are
very few commonalities, and they
rarely make sense ^^.
Going via sysfs *should* behave like an ioctl on *current* FW versions, but it was possibly extra broken for quite a while during the 32bpp migration (early 4.x until basically 4.9). Take that with a grain of salt, I haven't been testing sysfs *writes* in quite a while.
Reading it appears to be sane, though.
Can't ask the kernel to rotate the touch coordinates for us, AFAICT (and, it is, in fact, "broken" (as, in, rotated) on purpose in the kernel driver for... reasons).