Now you have clean I2S signals, without using USB, SPDIF etc. :) This HAT was tested with different DAC's, oscillators and worked perfectly. On this picture with PCM5102 board (new post is coming):) P.S. I’ve made a small batch of this PCB and for those who wish to buy one, please do not hesitate to contact me via email.
Kernel patching At last, in order to make I2S Hat working properly you have to recompile the kernel. Firstly download kernel source files, suitable to your distribution. Secondly you can download the patches here . Copy and unpack in top directory kernel source. What are the patches doing? Here is the list: p1.patch - support for 384k in file ./sound/core/pcm_native.c p2.patch - support for 384 in file ./include/sound/pcm.h p3.patch - support for 384k in file ./sound/soc/codecs/pcm1794a.c p4.patch - gpio config in file ./arch/arm/boot/dts/overlays/rpi-dac-overlay.dts p5.patch - main driver file ./sound/soc/bcm/rpi-simple-soundcard.c p6.patch - support for 384k in file ./drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c To apply the patch you can use patch command as below: patch -p1 -i p1.patch Repeat this for all six patches. Then recompile and install new kernel and modules. Don't forget to add the line to config.txt Thats all