First version of this patch adds a device id for AMD Ryzen 3 2200G. When attaching the driver to the PCI root, the driver seem to show correct temperature value but the sysctls for dev.cpu.X.temp are not created.
However, according to https://patchwork.kernel.org/patch/10381565/ the correct way to do it is to connect to Data Fabric Function 3. If this is done, the dev.cpu.X.temp sysctls are created but all temperatures are 0.
This patch is a WIP to address this.