The PlayStation controller driver was contributed to the Linux kernel by Sony: https://www.phoronix.com/news/Sony-HID-PlayStation-PS5
There are alternative drivers out there (for use with knockoff controllers that try to replicate the offical device IDs, for example), but if you haven't done anything special you're probably using the Sony driver.