Patch 1 is missing in your series. But even without looking at it I think your design doesn't make a whole lot of sense. If the encryption is implemented in the ufs driver you should not need device mapper support for it, just ufs driver support and maybe a little block layer glue.