caf kernel for lgls740 based off of quarx2k's work https://github.com/quarx2k