From d6fe75b69528da736202c05b437ae2a29d5ab234 Mon Sep 17 00:00:00 2001 From: Hector Palacios Date: Mon, 26 Jan 2026 09:26:45 +0100 Subject: [PATCH] linux-dey: blacklist bluetooth module to let BT init script manage it Blacklist the Bluetooth kernel module for CC95 (hci_uart) to let user space bluetooth-init script load/unload it. While on it, group blacklisting of all platforms using Murata chipsets. Signed-off-by: Isaac Hermida Signed-off-by: Hector Palacios --- .../recipes-kernel/linux/linux-dey_6.6.bb | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/meta-digi-arm/recipes-kernel/linux/linux-dey_6.6.bb b/meta-digi-arm/recipes-kernel/linux/linux-dey_6.6.bb index fb293d349..d1cb21221 100644 --- a/meta-digi-arm/recipes-kernel/linux/linux-dey_6.6.bb +++ b/meta-digi-arm/recipes-kernel/linux/linux-dey_6.6.bb @@ -47,9 +47,15 @@ KERNEL_CONFIG_FRAGMENTS:append = " \ ${@bb.utils.contains('DISTRO_FEATURES', 'rt', '${RT_CONFIG_FRAGS}', '', d)} \ " -# Blacklist btnxpuart module. It will be managed by the bluetooth-init script -KERNEL_MODULE_PROBECONF:ccimx9 += "btnxpuart" -module_conf_btnxpuart:ccimx9 = "blacklist btnxpuart" +# Blacklist BT driver (as module). They will be managed by the bluetooth-init script +KERNEL_MODULE_PROBECONF:ccimx91 += "btnxpuart" +KERNEL_MODULE_PROBECONF:ccimx93 += "btnxpuart" +KERNEL_MODULE_PROBECONF:ccimx95 += "hci_uart" +KERNEL_MODULE_PROBECONF:ccmp1 += "hci_uart" +module_conf_btnxpuart:ccimx91 = "blacklist btnxpuart" +module_conf_btnxpuart:ccimx93 = "blacklist btnxpuart" +module_conf_hci_uart:ccimx95 = "blacklist hci_uart" +module_conf_hci_uart:ccmp1 = "blacklist hci_uart" # --------------------------------------------------------------------- # stub for devicetree which are located on digi directory @@ -61,10 +67,6 @@ do_compile:append:stm32mpcommon() { fi } -# Blacklist hci_uart module. It will be managed by the bluetooth-init script -KERNEL_MODULE_PROBECONF:ccmp1 += "hci_uart" -module_conf_hci_uart:ccmp1 = "blacklist hci_uart" - do_install:append:stm32mpcommon() { if ${@bb.utils.contains('MACHINE_FEATURES','gpu','true','false',d)}; then # when ACCEPT_EULA are filled