rk356x sound

From: titus <titus_at_edc.ro>
Date: Sun, 02 Nov 2025 13:19:25 UTC
Hello,
I added sound support for rk356x boards
this includes rk817_codec (i2c controlled ADC / DAC provided by the pmic chip)
rk_i2s_tdm driver.
also includes fixes to pl330 dma driver and modifications to audio_soc interface in order to
allow more flexibility
a rough pio mode (without dma) version of rk_i2s_tdm is also provided in the patch file
the pio driver misses the detach code
playback works on my orange pi 3b (record is not tested)
some stuff is adapted from linux kernel so im not sure how the license with stand so make no assumptions about it
code is posted here
https://forums.freebsd.org/threads/how-to-run-freebsd-on-new-boards-built-on-rockchip-35xx.88430/page-10#post-724072
How to run FreeBSD on new boards built on Rockchip 35XX..
forums.freebsd.org