Other Parts Discussed in Thread: TAS5766M
I tried to compile the basic tas5766m.c driver. It does not compile with kernel version 4.14.98.
Please fix it, and then do the work needed to upstream it. When it's upstreamed you get help from the Linux community in maintaining it and making sure it continues to compile with future kernel versions.