Yes the TPM will work out-of-the-box with kernel v6.xx, you just need to add the device tree overlay for SLB9673 (the following lines):
This information looks to be specific to raspberry pi and not transferable to other devices.
Does i have to download the overlay from Raspberry Pi (tpm-slb9673) or does maybe Toradex have to upload a DTO adapted for the imx8m-mini ?
Device tree overlays are specific to the device tree, which are specific to the actual hardware. So, no you probably can’t just use this overlay designed for raspberry pi on Toradex hardware. It would need to be adapted/modified.
and then to add it inside the tcbuild.yalm from torizonCore builder ?
Like if it was a DTO from toradex ?
Once you have the correct device tree overlay for your Toradex device then yes you can use TorzionCore Builder to apply it.
Or is it already enabled inside the kernel and i don’t have to worry about it ?
You probably have to do your customization for this device. It depends I’m not super familiar with this peripheral myself and would need to research it.
Best Regards,
Jeremias