I’d like to use a JustBoom amp hat with the rock Pi4, but have been drawing a blank looking for documentation sufficient to help build a DT overlay for it, based on the existing overlay for the raspberry Pi.
What should I read? where should I begin? is there any kind of relatively straightforward guide?
but so far i’m not having any luck. I’m using a kernel compiled with the needed drivers, and I think i have everything updated to the correct versions to support overlays…
Only the device tree overlay is not enough, you need to check if pcm5122 driver is enabled. device tree only specify the hardware resource the driver can use. But the driver let the sound card to work using the assigned resource by device tree.
the hifiberry-dacplus overlay loads and enables the sound card, but no sound comes out, presumably because it is configured to use the wrong clock source. I’m preparing to try the overlay posted above.