Its frankly shocking that the Allwinner A10/A20/A64 (which can run Win10!) /H3/H5/H6 has nearly complete mainline kernel support, whereas nearly any of the smartphones made since 2008 can't boot mainline Linux and drive their cameras, screen, GPS, etc. Its a huge failing of the industry.
With regard to supporting tablets, most of the older Allwinner based tablets have feature parity between the mainline kernel and the vendor BSP kernel: https://linux-sunxi.org/Linux_mainlining_effort
Edit: actually, when I say 'latest' I mean 'latest available for the moto g'. I'm not 100% sure that's the very latest version that exists.
It's not. You're stuck with an Android that's 2 versions behind current and are still using the original kernel version that shipped with the device.