A while ago (too long), K Staring <q...@quickdekay.net> ported a bunch of configuration data from Linux's HDA driver(s) to FreeBSD. These were sent as a series of pull requests to github, but never landed.
I've taken the latest version of this, forward ported it to -current and have uploaded the results in this code review https://reviews.freebsd.org/D30619 for comment and testing. It affects mostly laptops with hda drivers from 2016-2019 if I'm reading the comments right. They fix various sound problems (like the headphones not working). These were originally in https://github.com/freebsd/freebsd-src/pull/139 through https://github.com/freebsd/freebsd-src/pull/150 and I've squashed and rebased forward. Those 12 pull requests have the discussions to date on these patches. Warner