This is René's driver for the SPD-5118 DDR5 Temperature sensor, with a DKMS config added.
The original patches can be downloaded from here, if it works consider donating to the author: Patreon, GitHub Sponsors.
The it87 Makefile was also used as an example.
sudo make dkms
sudo modprobe spd5118
sudo modprobe -r spd5118
sudo make dkms_clean