I've got a Pi 5 (8 GB). I ordered a Digi+ to have an optical output. But first I had no luck getting the board recognized by the new Pi 5 an Raspberry Pi OS.
I got it working with the help of these two posts:
https://github.com/raspberrypi/linux/issues/5724
https://github.com/raspberrypi/linux/issues/5743
1. Putting dtoverlay=
in config.txt before any other dt settings disables the loading of the overlay from the HAT EEPROM.
2. Adding the 'slave'
parameter to dtoverlay.
The relevant parts of my config.txt look like this:
dtoverlay=
dtparam=audio=on
dtoverlay=hifiberry-digi,slave
Did anyone find another way to get this card working on the new Pi?