From 60c7fe38497f7aec561c1a079ba36a9913f73541 Mon Sep 17 00:00:00 2001 From: Johan Davidsson Date: Wed, 2 Sep 2026 21:38:22 +0200 Subject: [PATCH] rpi-base: Add missing HiFiBerry overlays that the kernel builds hifiberry-adc, hifiberry-adc8x and hifiberry-dac8x cannot be selected at all - naming one in config.txt gives a card that never appears and no error to go with it. hifiberry-studio-dac8x and hifiberry-studio-dac8x-pro are left out on purpose. They were added to the kernel in https://github.com/raspberrypi/linux/commit/ba7ae2c94ff9ace5d9df63a3b0ea4a1a99f06b29 and are absent from the kernel the 6.6 recipe pins, and this list is shared by every kernel recipe the layer ships, so adding them would break a 6.6 build. Verified with PREFERRED_VERSION_linux-raspberrypi = "6.6.%": the three overlays added here compile, while adding hifiberry-studio-dac8x on top fails do_compile with "No rule to make target 'arch/arm/boot/dts/overlays/hifiberry-studio-dac8x.dtbo'". Signed-off-by: Johan Davidsson --- conf/machine/include/rpi-base.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc index f8d8df7..87d7ee9 100644 --- a/conf/machine/include/rpi-base.inc +++ b/conf/machine/include/rpi-base.inc @@ -28,11 +28,14 @@ RPI_KERNEL_DEVICETREE_OVERLAYS ?= " \ overlays/gpio-key.dtbo \ overlays/gpio-poweroff.dtbo \ overlays/gpio-shutdown.dtbo \ + overlays/hifiberry-adc.dtbo \ + overlays/hifiberry-adc8x.dtbo \ overlays/hifiberry-amp.dtbo \ overlays/hifiberry-amp100.dtbo \ overlays/hifiberry-amp3.dtbo \ overlays/hifiberry-amp4pro.dtbo \ overlays/hifiberry-dac.dtbo \ + overlays/hifiberry-dac8x.dtbo \ overlays/hifiberry-dacplus-pro.dtbo \ overlays/hifiberry-dacplus-std.dtbo \ overlays/hifiberry-dacplus.dtbo \